Search found 3 matches

by racqu
15 Aug 2022, 23:09
Forum: Ask for Help (v1)
Topic: Breaking a loop using a function that doesnt have a loop
Replies: 2
Views: 354

Breaking a loop using a function that doesnt have a loop

I write my script sections into functions to accomplish specific things, then combine the functions into a separate looped function. Is there a way to break the loop of the function by writing in something into one of the specific functions? I have tried every way that I know of but as I am still ne...
by racqu
04 Aug 2022, 14:18
Forum: Ask for Help (v1)
Topic: Help with writing a script
Replies: 1
Views: 225

Re: Help with writing a script

This should accomplish what your asking. Function() { Loop, 4{ Send {x} Sleep, 100 Send {right down} Sleep, 5000 Send {right up} Send {x} } Loop, 4{ Send {x} Sleep, 100 Send {left down} Sleep, 5000 Send {left up} Send {x} } } [Mod edit: Added [code] [/code] tags. Please use them yourself when postin...
by racqu
04 Aug 2022, 13:08
Forum: Ask for Help (v1)
Topic: Random Variables not storing
Replies: 1
Views: 316

Random Variables not storing

Hello, im still fairly new to AHK and have come across an issue with storing variables. I run defined functions instead of the whole script at once so im thinking it has something to do with that. I am trying to store a random variable outside of the function I am running and then call it within the...

Go to advanced search