Locked Home » Forums » Legacy & Archived » Archived Content » Legacy General & Troubleshooting

autoit hotkey help : Legacy General & Troubleshooting

Posted: June 21st, 2007
mak364
ok so ive made my GUI ive got my macro working when i press start on it now i just need to make a hotkey that starts it and stops and i havnt got a clue how to do it, anyone got any ideas?
Posted: June 22nd, 2007
User avatar
administrator
Total Posts:29892 Joined:2002
What game?
Posted: June 23rd, 2007
mak364
eve online, but it doesnt really matter what game i jsut need to get the hotkey code working
Posted: June 24th, 2007
User avatar
administrator
Total Posts:29892 Joined:2002
What you need to do is submit some stuff for a simple premium and use the stuff we have there.
Posted: June 25th, 2007
dlm_bittersweet
I actually submitted a guide for this in the Guild Wars Submissions section, I use it for skill chaining. I'm not sure if I'm allowed to send it around since it still hasn't been yay'd or nay'd...
Posted: June 25th, 2007
User avatar
administrator
Total Posts:29892 Joined:2002
link?
Posted: June 25th, 2007
dlm_bittersweet
It's kinda basic, but here's the link to the post: Register to unlock hidden link
Of course, this won't help the guys without premium, but it could help others who need it.
Posted: June 25th, 2007
User avatar
Total Posts:1974 Joined:2006
mak364 wrote:ok so ive made my GUI ive got my macro working when i press start on it now i just need to make a hotkey that starts it and stops and i havnt got a clue how to do it, anyone got any ideas?

Code: Register to unlock hidden link

HotKeySet("{PAUSE}", "_Toggle") ; "Pause break" key

$RunScript = False ;controls when the script enters and exits the while loop that contains the macro

while 1
	sleep (50)
	while $RunScript = True
		sleep(1)
		;ADD YOUR MACRO HERE
	WEnd
WEnd

Func _Toggle() ;changes $runscript to the opposite of what it currently is
	If $Runscript = False Then
		$RunScript = True
	Else
		$Runscript = False
	EndIf
EndFunc
if you need any help reading or understanding the code, just ask.

_________________
EX-TU member. For my own reasons, I will no longer play a role as an active member. Goodbye.


RIP kourath. 5/21/08
Ready to join the community? Click here and see all of the benefits!
blue large dotWho is online
Users browsing this forum: No registered users and 11 guests
Locked