Jump to content

m0nk3yI3unz

Active Members
  • Posts

    91
  • Joined

  • Last visited

About m0nk3yI3unz

  • Birthday 11/07/1992

Profile Information

  • Location
    *Tap Tap* Behind you...
  • Interests
    Autoit3. Beta. Creating UDFs. Buahaha.

m0nk3yI3unz's Achievements

Wayfarer

Wayfarer (2/7)

0

Reputation

  1. Like I said - just do something like $name = "Some Name" MouseClick("left",$x,$y) ; x and y being the textbox send($name) And, no, controlsend WILL NOT WORK. And, no, controlsend WILL NOT WORK. And, no, controlsend WILL NOT WORK. And, no, controlsend WILL NOT WORK. </rant> Best of luck -Monkeh
  2. No, sorry you cant. If you read my message, you would have seen the same thing Im about to tell you: This game you are playing is made using a graphics runtime such as DirectX or XNA (both ® or TM respectfully). Therefore, that game is run using ONE control in a GUI, which is a graphics box. This means it isn't structured like a regular GUI is; therefore, ControlSend would only work on the one control stated above - however, a control like that wont accept arguments, especially one directed at one of its own controls. Now, again, you must activate the textbox within the game some other way - maybe using MouseClick() to make it click on the text box to make the cursor appear in it, then use Send() to send it the values of the textbox.
  3. EDIT: Ooo, upon looking at your image again, I regret to tell you that that is not a real windows GUI. Therefore, that textbox isn't a real one, and the ControlSend function will not work on it. However, if you can get AutoIt to click and activate the field, you can use Send() to send it the value like it was typed in using a keyboard. -Monkeh
  4. Muzle - AutoIt is a great language, I must ask, but why downgrade? Lol. Nah just kidding - I could see a number of reasons. Smidge - Trial and Error is ace. As long as you're not working with any destructive commands (like formatting your hard drive), its not like you're going to blow up your computer by typing in some little command just to see how it works, or what works with it muttley Best of luck! -Monkeh
  5. ... Okay. You didn't... *quite* answer any questions. What do you want this code to do?
  6. Um.. well.. if you just simply assigned the IniRead commands directly to the $Shopx variables, then you wouldn't have to check to see if they matched. The If... Then statement you have there is always going to return true - might as well just remove it. And what do you mean it's working only 20%? Try this: Func ShopName() $Shop1 = IniRead(@ScriptDir & "PriceSettings\P1.ini", "Prices", "ShopName", "") $Shop2 = IniRead(@ScriptDir & "PriceSettings\P2.ini", "Prices", "ShopName", "") $Shop3 = IniRead(@ScriptDir & "PriceSettings\P3.ini", "Prices", "ShopName", "") $Shop4 = IniRead(@ScriptDir & "PriceSettings\P4.ini", "Prices", "ShopName", "") $Shop5 = IniRead(@ScriptDir & "PriceSettings\P5.ini", "Prices", "ShopName", "") $Shop6 = IniRead(@ScriptDir & "PriceSettings\P6.ini", "Prices", "ShopName", "") $Shop7 = IniRead(@ScriptDir & "PriceSettings\P7.ini", "Prices", "ShopName", "") $Shop8 = IniRead(@ScriptDir & "PriceSettings\P8.ini", "Prices", "ShopName", "") $Shop9 = IniRead(@ScriptDir & "PriceSettings\P9.ini", "Prices", "ShopName", "") $Shop10 = IniRead(@ScriptDir & "PriceSettings\P10.ini", "Prices", "ShopName", "") ControlSend("Dekaron", "", "", GUICtrlRead($Shop1)) EndFunc By the way, looking at the last line, your code makes no sense - $SHP1 in your code isn't a control, so therefore you cant 'read' it like a GUI control. By the way, you should make one INI file with different sections pertaining to each shop. Perhaps if you were to tell us what exactly your code should do, we could better help you?
  7. I thought the default was 100 milliseconds muttley Lemme try it... Nope - still freezes.
  8. Hey all. I dont usually need help, especially with the TCP functions (Ive used them a lot) but this one is stumping me... I have a script which pings the server I want it to connect to, and if it's there, to connect to it (even if the application it's trying to connect to isn't running - It's supposed to check for that). The TCPConnect function, when called, is either connect the first time, or kill the program - no loops. Problem is, the program is hanging up on that command. I need it to try once, then if it doesn't connect, to kill the app. My Code: w("TCP Services Started! Connecting to server...") setMsg("Connecting to update","server....","Started...") Global $Connect = TCPConnect($IP,$UPORT) switch $Connect case $Connect > 0 setMsg("Connected successfully.","Retriving token...") case -1 switch @error case 1 ; <================= ERROR NUM 501 msgbox(48,"ERROR","IP address of server is incorrect, or server is offline. Please try again later, or see site for details."&@CRLF&"ERROR NUM: 501") Exit case 2 ; <================= ERROR NUM 502 msgbox(48,"ERROR","Server port is incorrect, or server is offline. Please try again later, or see site for details."&@CRLF&"ERROR NUM: 502") Exit EndSwitch EndSwitch
  9. w00t! great stuff! I found a typo in your source files however - through me off for a sec. You have two _Zip_Count() descriptions - the second should be _Zip_List() - the function names are correct, but their description names are wrong nothing major. Thanks sooo much for these!
  10. Thanks nobbe - I started to look it up but decided to check first.
  11. lawl SmOke_N Anyways, I remembered that the animated favicons are GIFs that I use - so what i said earlier still applies.
  12. You would have to create each of the frames of the spinning ICO - then export each as a different ICO file, then have a loop in your code that cycles through them. In short, ICO files cannot be animated, at least as far as I know... EDIT: actually, thats not true - Ive used animated ICO files as favicons on websites, but Im not sure if they were GIF or ICO files. Let me look this up...
  13. Haha I know what you mean. Happy coding!
  14. either @CRLF (or @cr) - OR - chr(13) - 13 is carriage return.
×
×
  • Create New...