DonationCoder.com Forum
DonationCoder.com Software => Coding Snacks => Post New Requests Here => Topic started by: tomos on February 07, 2009, 10:42 AM
-
I'm not a typist and work a lot with mouse & Control key + various shortcuts.
I've always had trouble with the Apps Key (I'm left handed so working with right Ctrl) - if I hit it by mistake I have to go all the way to the other end of the keyboard and hit escape to get rid of the context menu. This gets annoying if you do it often ...
Lately I discovered that Shift+F10 also shows the context menu but it toggles it
So I present to you
my first AHK script :D
Appskey::+F10
which changes the apps key to Shift+F10 so it can toggle the menu on & off
My problem is Shift+F10 doesnt work in the programme where I really wanted this to work (Freehand, but I want to keep the script anyways for other programmes)
So, is there an easy way to exclude any particular programme from this script ?
-
you can try one of the code and see if the problem goes away..
this:
$Appskey::+F10
or this:
Appskey::Send +F10
-
is there an easy way to exclude any particular programme from this script ?
-tomos
Check out the autohotkey commands: #IfWinNotActive and #IfWinActive
-
you can try one of the code and see if the problem goes away..
...
-lanux128
thanks Lanux
but the problem was that the programme does not recognise the Shift+F10 in the first place
Check out the autohotkey commands: #IfWinNotActive
-AndyM
thanks Andy, will do!