I'm brand new to AHK in general and I'm testing out AHK to make a script to basically negate 20% of the work I do daily.
The code is fairly basic, maybe even stupid but this is what I have now:
Code: Select all
InputBox, loopCount,,Enter a number for loop count
loop, %loopCount%
{
Send {Ctrl down}n{ctrl up}
Sleep 300
Send DIV-73
Send {TAB down}{TAB up}
Send {1}
Send {TAB down}{TAB up}
Sleep 5000
Send ^{down} ;This one
Send {TAB down}{TAB up}
Send {TAB down}{TAB up}
Send {enter}
Sleep 300
Send {Ctrl down}n{ctrl up}
Sleep 300
Send DIV-1086
Send {TAB down}{TAB up}
Send 1
Send {TAB down}{TAB up}
Sleep 5000
Send ^{down} ;This one
Send {TAB down}{TAB up}
Send {TAB down}{TAB up}
Send {enter}
Sleep 300
Send {Ctrl down}n{ctrl up}
Sleep 300
Send 1248
Send {TAB down}{TAB up}
Send 1
Send {TAB down}{TAB up}
Sleep 5000
Send ^{down} ;This one
Send {TAB down}{TAB up}
Send {TAB down}{TAB up}
Send {enter}
Sleep 300
}
Return
So first loop its 1x ^{down}, second loop it's ^{down}^{down}, third it's ^{down}^{down}^{down} etc all the way until 80 times. The loop will vary from 1-4 upwards to a total of 250-ish?
Hope this is understandable at all and hope someone can help me!
Best regards,
Jonas