Tab
Re: Tab
If your goal is to send Tab after Shift+Q, you can do it this way:
Code: Select all
~+q::Send {Tab}
Re: Tab
Sorry Mike. Should have been a little more clear. My goal is to be able to use q as tab hence ~q::Tab but still have q as normal key. According to documentation using the tilde should make it work but for me it does not. Any ideas? Tk's
Re: Tab
When you press the key Q, what should happen?
Tab
When I press q(Does not have to be Capitol q) I want it to be Tab but also remain q if I am using it as a regular letter. IE when notepad,word,is open etc. As I said according to documentation if I have the ~ in front of it it should work but it does not. Tk's.
Re: Tab
Your description is not clear. Give specific examples for each case. Are you simply wanting different actions depending on the specific target window? If so, then what are the specific windows, and what should happen in each of them?
Re: Tab
I want q to be the Tab Key. But I also want it to be the q key.
-
- Posts: 144
- Joined: 01 Feb 2017, 22:57
Re: Tab
but how's the computer supposed to tell when you want which to happen?
Code: Select all
#If not NotepadWordEtcIsOpen()
q::Tab
#If
NotepadWordEtcIsOpen(){
for i, e in ["ahk_exe notepad.exe", "ahk_class OpusApp"]
if WinActive(e)
return 1
}
Re: Tab
Code: Select all
GroupAdd, q, ahk_exe notepad.exe
GroupAdd, q, ahk_exe WINWORD.exe
GroupAdd, q, ahk_exe iexplore.exe
GroupAdd, q, ahk_exe chrome.exe
GroupAdd, q, ahk_exe firefox.exe
GroupAdd, q, ahk_exe msedge.exe
#IfWinNotActive ahk_group q
q::Tab
#IfWinNotActive
Who is online
Users browsing this forum: dipahk and 242 guests