Jump to content
Sign in to follow this  
Guest -mihkel-

How to pause a script?

Recommended Posts

Guest -mihkel-

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
Jos

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:


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

Share this post


Link to post
Share on other sites
Guest -mihkel-

it says "No topics found"

Share this post


Link to post
Share on other sites
lolp1

Just search "hotkey".

Share this post


Link to post
Share on other sites
Guest -mihkel-

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

Share this post


Link to post
Share on other sites
Jos

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.


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

Share this post


Link to post
Share on other sites
Guest -mihkel-

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
Fossil Rock

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
AzKay

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
Guest -mihkel-

Not exactly. I converted it to v3.

Share this post


Link to post
Share on other sites
AzKay

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  

×