Hello,
I am new to autohotkey I use to do macros with Jibit Macrorecorder but I want to learn more of automation script.
Here is a simple script I want to try and I just don't know where to start.
1: Send commands in a specifif program (window)
2: Press 3 every 120 seconds
3: Press 4 once
4: Press 5 & 6 every 625 seconds
5: Press 7 every 375 seconds
6: Press 8 every 185 seconds
7: While the loop up there is still going, between pressing each keys, always hold down space bar.
Simple as that I just really don't know how to get it started.
Thanks for your help!
New to AutoHotkey willing to make a simple script.
Re: New to AutoHotkey willing to make a simple script.
1: Send commands in a specifif program (window)
what commands?
2: Press 3 every 120 seconds
For this use a timer
settimer, sendthree, 120000
send, 3
3: Press 4 once
send, 4
4: Press 5 & 6 every 625 seconds
time again that you start when script starts
settimer, sendff, 625000
send, 5 6
5: Press 7 every 375 seconds
timer again
6: Press 8 every 185 seconds
timer again
7: While the loop up there is still going, between pressing each keys, always hold down space bar.
add
Send {Space down}
as much as you need where you need it
to bring it back up add
Send {Space up}, you will have to do this before sending your other keys or you will be sending spaces too (i think so)
what commands?
2: Press 3 every 120 seconds
For this use a timer
settimer, sendthree, 120000
send, 3
3: Press 4 once
send, 4
4: Press 5 & 6 every 625 seconds
time again that you start when script starts
settimer, sendff, 625000
send, 5 6
5: Press 7 every 375 seconds
timer again
6: Press 8 every 185 seconds
timer again
7: While the loop up there is still going, between pressing each keys, always hold down space bar.
add
Send {Space down}
as much as you need where you need it
to bring it back up add
Send {Space up}, you will have to do this before sending your other keys or you will be sending spaces too (i think so)
Re: New to AutoHotkey willing to make a simple script.
you could start to look at the commands controlsend, and the autoIT window spy
Who is online
Users browsing this forum: Google [Bot] and 188 guests