Jump to content

Lbessy

Members
  • Posts

    11
  • Joined

  • Last visited

Lbessy's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Thank you for the reply, There is a problem though. When i ran the script, the GUI poped up, and "start" workds, but when i pressed stop it wouldn't stop, and when i hit the "x" button at the top of the screen it didn't close the window, <alt> <f4> didn't work to close it. so i had to do <ctrl> <alt> <delete> and end the task. I don't know if it was just a freak thing but it didn't wanna close. Also i'd like to learn how to create a GUI and import it into the code, if you know of a TUT already out there if you could link it that would be great, thank you for all your help -Lbessy
  2. never mind, i found it. thanks a ton guys, <3
  3. hey there, I made a quick GUI with 2 buttons, start and stop. How do i get them so start presses key "1" and stop presses key "2". also, once i get that how do i post the code for it? again, i'm using the "Koda FormDesigner"
  4. is there a special folder in Autoit that i have to save it to? or do i create a folder and have to name it something special?Thanks
  5. hey there, I've tried to run a couple wow bots to see if they work, then to try to figure out what all the scripts mean, but all the bots that have #include <NomadMemory.au3> in them seem to cause an error. I'm just wondering if i need to download some sort of file to get them to work of if ALL the scripts that include them are somehow broken? Thank you, Lbessy
  6. hey there, I'm pretty new to Autoit and i've figured out how to do some basic things to help automate the game i'm playing, World of Warcraft. I think i'm about as far as i can go in the programming without learning how to do the GUI stuff. I downloaded the GUI creator thing from the sticky at the top of the GUI forums, i've made a GUI with a button. But now i'm trying to figure out how to import it into my code. Here's my code, it simply runs an auto clicker to click the "6" button in wow no matter what window is activated. I want to set up a simple GUI with a Start, and a stop button. This is simply for my learning experience because i can easily click run, and click "pause" to stop it. Thank you for your help. $win_title = "World of Warcraft" WinActivate($win_title, "") WinSetOnTop($win_title, "", 0) Sleep(1000) HotKeySet("{PAUSE}", "EndScript") $i = 0 $win_title = "World of Warcraft" While $i <= 10 ControlSend ( "World of Warcraft", "", "", "6") Sleep(4500) WEnd Func EndScript() $exit = MsgBox(4, "Ender", "Exit the Bot?") If $exit = 6 Then Exit EndIf EndFunc Thanks, -Lbessy P.S. i have created a "simple" GUI i'm just trying to figure out how to import it into the code
  7. WOOT, tried it without the controlID, flag, and text, just "" in place of those, and it worked, looks like the only thing you really need is the Window title, and some "" to fill in the spaces of the missing items. Thanks dude.
  8. hey, i used the Autoit Window Info tool, but when i looked for the ControlID it didn't show up, i thought i might be doing somthing wrong so i moused over the internet page and then all the Info got filled up, but when i moused over the Game, it all wend away. Is there anyway to use Controlsend or any other command you can think of that might work without the ControlID?
  9. ok, i tried controlsend("{6}") but it came up with controlsend("{6}") ^ERROR Error: Incorrect number of parameters in function call is there a special way to use controlsend? i looked at http://www.autoitscript.com/autoit3/docs/functions/ControlSend.htm but i couldn't figure out what to put for the "text", "controlID", and the "flag", could you shoot me a sample that might work for this? Thank you.
  10. Hey there, i'm new to Autoit too but i think i have it working, i fiddled with the script a little and tested it with another game and it seemed to work well. Only thing is that I'm not sure if "Lctrl" is a known button for autoit (just never tried it, tested script with "6") but here's what i have for you: HotKeySet("{F3}", "EndScript") WinWaitActive("MapleStory") $count = 0 While $count < 40 Sleep(700) Send("{Lctrl}") Wend Func EndScript() $exit = MsgBox(4, "Ender", "Exit the Bot?") If $exit = 6 Then Exit EndIf EndFunc Edit: also if Mandar is correct, try changing the name of the window to somthing els, best of luck
  11. Hey guys, i'm interested in creating a program to help me with a really boring task in a game, as you can see in the program it's WOW. I'm trying to make it so the program clicks the button "6" every 4.5sec. That's working great, but i was wondering if there was a way to make it so autoit clicks "6" in the World of Warcraft screen instead of clicking 6 in whatever window is in front. Here's my script: $win_title = "World of Warcraft" WinActivate($win_title, "") WinSetOnTop($win_title, "", 0) Sleep(1000) HotKeySet("{PAUSE}", "EndScript") $i = 0 $win_title = "World of Warcraft" While $i <= 10 Send("{6}") Sleep(4500) WEnd Func EndScript() $exit = MsgBox(4, "Ender", "Exit the Bot?") If $exit = 6 Then Exit EndIf EndFunc Again i'm just trying to make it so autoit will press "6" in the WOW window when, say, internet explorer is on top. Thanks again edit: wrong code, sorry, was a different one, but still same problem = /
×
×
  • Create New...