ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Post New Requests Here

IDEA: toggle Appskey [DONE] but how to ignore certain apps?

(1/1)

tomos:
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 ?

lanux128:
you can try one of the code and see if the problem goes away..

this:

--- ---$Appskey::+F10
or this:

--- ---Appskey::Send +F10

AndyM:
is there an easy way to exclude any particular programme from this script ?
-tomos (February 07, 2009, 10:42 AM)
--- End quote ---
Check out the autohotkey commands:  #IfWinNotActive and #IfWinActive

tomos:
you can try one of the code and see if the problem goes away..
...
-lanux128 (February 07, 2009, 08:43 PM)
--- End quote ---
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 (February 07, 2009, 08:49 PM)
--- End quote ---
thanks Andy, will do!

Navigation

[0] Message Index

Go to full version