Sign in to follow this  
Followers 0
doomkiller

pausing script

5 posts in this topic

#1 ·  Posted (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 by doomkiller

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

I'm new to some advance people this script may look barbaric.

HotKeySet("+!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.

Share this post


Link to post
Share on other sites

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".

Cheers

Kurt


__________________________________________________________(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 *

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0