Sign in to follow this  
Followers 0
Guest -mihkel-

How to pause a script?

11 posts in this topic

My script code looks like this:

MsgBox, 4, Staadion, Hakkad jooksma?
IfMsgBox, NO, Goto, denied


adlibon

blockinput, on


repeat, 120

mousemove, 1022, 635
sleep, 100
leftclick, 1022, 635
sleep, 100

mousemove, 722, 550
sleep, 100
leftclick, 722, 550
sleep, 3000

endrepeat


denied:
Exit

How can I pause(or stop) it while it's running? Do I have to add something to the script? If so, then what?

Thanks in advance.

Mihkel.

Share this post


Link to post
Share on other sites



How can I pause(or stop) it while it's running? Do I have to add something to the script? If so, then what?

Thanks in advance.

Mihkel.

Open the Helpfile.

Look for HotKeySet()

Check out the example for this function.

:lmao:


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

it says "No topics found"

Share this post


Link to post
Share on other sites

Just search "hotkey".

Share this post


Link to post
Share on other sites

And that's what I just did and it says "No topics found."

Share this post


Link to post
Share on other sites

And that's what I just did and it says "No topics found."

Which helpfile have you openend ?

Mine gives multiple hits and the top one is the one you need.


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

Lol, stupid me - I used the help file for AutoIt2. I'm gonna hit myself for that.

Got it to work now. Thanks anyway.

Edited by -mihkel-

Share this post


Link to post
Share on other sites

MsgBox, 4, Staadion, Hakkad jooksma?
IfMsgBox, NO, Goto, denied
adlibon

blockinput, on
repeat, 120

mousemove, 1022, 635
sleep, 100
leftclick, 1022, 635
sleep, 100

mousemove, 722, 550
sleep, 100
leftclick, 722, 550
sleep, 3000

endrepeat
denied:
Exit

You got this to work ???


Agreement is not necessary - thinking for one's self is!

My-Colors.jpg

cuniform2.gif

Share this post


Link to post
Share on other sites

Yes he did, Or else, He wouldnt of said Got it to work now

:lmao:


# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

Not exactly. I converted it to v3.

Share this post


Link to post
Share on other sites

Ah


# MY LOVE FOR YOU... IS LIKE A TRUCK- #

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