help needed for autohotkey for workflow
Go to solution
Solved by minibois,
This should work for that:
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. ;Lines that start with a semicolon (;) are comments and only there to clarify statements. ;^ means Ctrl and I think Numpad1 and all other keycodes are pretty obvious. ;You might need to adjust the sleep according to your use/program/PC ^Numpad1:: SendInput, {Backspace} Sleep, 50 SendInput, {Up} Sleep, 50 SendInput, {Enter} Sleep, 50 SendInput, {F8} Return
I have generally found sleep for 50 to be quite good, but you might need to adjust that after testing.
(Also, this code is assuming you want to press one key after another, not have the program press them all at once)
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 accountSign in
Already have an account? Sign in here.
Sign In Now