I was going through the authotkey readme and I could not see how I could assign anything to tab, it had keys for ctrl etc but not tab.
Trying to make a script so when I press tab it sends "ctrl + z"
How can I asign a command to tab, I'm just trying to make it so when I press tab it does "ctrl + z"
-
- Posts: 1
- Joined: 27 Jun 2022, 18:27
Re: How can I asign a command to tab, I'm just trying to make it so when I press tab it does "ctrl + z"
A few links from the AHK v2 docs where Tab and its syntax is listed (since you posted in the v2 help section):
https://lexikos.github.io/v2/docs/KeyList.htm#general (list of hotkey names)
https://lexikos.github.io/v2/docs/commands/Send.htm#keynames (Send syntax for keys)
https://lexikos.github.io/v2/docs/Hotkeys.htm#AltTabRemarks
you can also find Tab on the corresponding pages in the AHK v1 docs (please note that there have been some syntax changes in v2)
v2:
v1:
https://lexikos.github.io/v2/docs/KeyList.htm#general (list of hotkey names)
https://lexikos.github.io/v2/docs/commands/Send.htm#keynames (Send syntax for keys)
https://lexikos.github.io/v2/docs/Hotkeys.htm#AltTabRemarks
you can also find Tab on the corresponding pages in the AHK v1 docs (please note that there have been some syntax changes in v2)
v2:
Code: Select all
Tab::send "^z"
Spoiler