Jump to content

Hotkeys not following to game.


jammu
 Share

Recommended Posts

Yeah, i now got my hotkeys working perfect but now theres another problem, script wont start when i go to game but when im not in game, they are working. I hope you understand.

This is my code:

HotKeySet("{INSERT}", "StartProg")
HotKeySet("{END}", "ExitProg")
Func StartProg()
While 1
sleep(300)
MouseClick("left",463, 216)
sleep(300)
MouseClick("left",964, 752)
sleep(300)
MouseClick("left",964, 752)
sleep(300)
MouseClick("left",492, 215)
Sleep(300)
MouseClick("left",970, 753)
WEnd
EndFunc
Func ExitProg()
    Exit
EndFunc
Link to comment
Share on other sites

  • Developers

There is no new thread needed as it was already explained in your previous thread.

Click

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...