doomkiller Posted June 12, 2005 Share Posted June 12, 2005 (edited) First of Hotkey does not work for me in the application i'm using. This is a problem for me becuase i have it in an infinite loop and need a way to stop the script. An i dea i had was do what Cerbs Anti-Idle for diablo 2 did and that if you minimized the program it would give you an option to stop or start the script back up again i have no idea how to set this up any help with this problem would be great. Edited June 12, 2005 by doomkiller Link to comment Share on other sites More sharing options...
philo Posted June 12, 2005 Share Posted June 12, 2005 First of Hotkey does not work for me in the application i'm using. This is a problem for me becuase i have it in an infinite loop and need a way to stop the script. An i dea i had was do what Cerbs Anti-Idle for diablo 2 did and that if you minimized the program it would give you an option to stop or start the script back up again i have no idea how to set this up any help with this problem would be great.<{POST_SNAPBACK}>Post the script Auto It Ruels Link to comment Share on other sites More sharing options...
doomkiller Posted June 12, 2005 Author Share Posted June 12, 2005 I'm new to some advance people this script may look barbaric. expandcollapse popupHotKeySet("+!d", "quit") $i = 0 while WinActivate ( 'SwgClient' ) do MouseMove ( 545, 21 ) MouseClick( "left", 545, 21 ) Sleep ( 1000 ) MouseMove ( 554, 286 ) MouseClick( "left", 554, 286 ) Sleep ( 1000 ) Send ( '{ENTER}' ) MouseMove ( 545, 21 ) MouseClick( "left", 545, 21 ) Sleep ( 1000 ) MouseMove ( 515, 287 ) MouseClick( "left", 515, 287 ) Sleep ( 1000 ) Send ( '{ENTER}' ) $i = $i + 1 until $i = 270 sleep ( 1000 ) send ( ' /target Paemos ' ) Send ( '{ENTER} ' ) sleep ( 1000 ) send ( ' /follow ' ) Send ( '{ENTER} ' ) sleep ( 1000 ) send ( ' /conversationstart ' ) Send ( '{ENTER} ' ) sleep ( 1000 ) Send ( '/ui action conversationResponse2 ' ) Send ( '{ENTER}' ) sleep ( 1000 ) MouseMove ( 121, 142 ) MouseClick( "left", 121, 142 ) Send ( '{ENTER}' ) Sleep ( 1000 ) Send ( '80100 ' ) Send ( '{ENTER}' ) sleep ( 1000 ) Send ( '/stopFollow ' ) Send ( '{ENTER} ' ) sleep ( 1000 ) Send ( '/sit ' ) Send ( '{ENTER} ' ) sleep ( 1000 ) Send ( '/meditate ' ) Send ( '{ENTER} ' ) WEnd Func quit () Exit EndFunc one thing like to point out is that you do see the HotKeySet being used but i use that after i alt+tab but it works about 25% of the time. Link to comment Share on other sites More sharing options...
/dev/null Posted June 12, 2005 Share Posted June 12, 2005 one thing like to point out is that you do see the HotKeySet being used but i use that after i alt+tab but it works about 25% of the time.25%??? maybe another application is intercepting the same keys. If I press SHIFT+ALT, my windows switches the language settings. Try anoter combination, like "CTRL-ALT x".CheersKurt __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
doomkiller Posted June 13, 2005 Author Share Posted June 13, 2005 well tried both suggestion the msgbox does not pop up when alt+tab i can't think as to why i understand what you wrote and can't figrue out for the life of me why its not woking. thx for the help so far though Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now