Jump to content

Recommended Posts

Posted

Hey guys, I was looking for a script that will left click my mouse at a certain coordinate every few minutes, and I want to be able to stop the script. I was reading the forums for a script like this and I have come across different scripts for the different versions (v2 and v3). If I understand correctly there isnt an easy way to stop v3 scripts and I can't get my MouseMove script to work in v2....So I say all of that to say this, which version should I use to make my script and what should it look like when all is said and done. Your help would be greatly appreciated. Thanks guys!!

Posted

Hey guys, I was looking for a script that will left click my mouse at a certain coordinate every few minutes, and I want to be able to stop the script. I was reading the forums for a script like this and I have come across different scripts for the different versions (v2 and v3). If I understand correctly there isnt an easy way to stop v3 scripts and I can't get my MouseMove script to work in v2....So I say all of that to say this, which version should I use to make my script and what should it look like when all is said and done. Your help would be greatly appreciated. Thanks guys!!

Hi & welcome,

that sounds pretty easy. Have a look at the help file

MouseMove, MouseClick and HotKeySet (for the pause)

So long,

Mega

Post your code and we´ll find a solution. :o

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Posted

you could try this 1

hotkeyset("!{f1}", "pauseme")
hotkeyset("!{f2}", "startme")
hotkeyset("!{f3}", "exitme")

while 1
sleep (50)
wend

func startme()
while 1
mouseclick ("left", X, Y, 1, 2)
sleep (60*1000)
wend
endfunc()

func pauseme()
while 1
sleep (50)
wend
endfunc

func exitme()
exit
endfunc

this includes all versions

start --> alt+f2

pause --> alt+f1

exit --> alt+f3

have fun

Posted

Thanks for posting that, I can't test it right now, I'm at work haha. I am assuming that this code is for v3, due to the While, Wend coding. I will try this out when I get home, thank you for your help.

Posted

Thanks a bunch Nuffile, it works beautifully. Also thank you Val for posting that, I will look into that later, but for now the script works flawlessly. Thank you everyone!

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
×
×
  • Create New...