hotkeys

3 posts in this topic

Guest pgoulash

i am setting shift+alt+d as a hot key. <<HotKeySet("+!d", "my_function")>>

so while using an app, visual studio in this case, i want to be able to write my own shortcuts+functions and assign them hotkeys of my choosing. (shift+alt+d above, but doesn't have to be, f1-f12 or whatever.) i try just showing a simple msgbox, though doesn't work. do i need to target the app i want to create a hot key in? not sure. can we overide hotkeys set by an application we're using? for example: your using photoshop, and you want to make ctrl+s do something other than save, possible?

Share this post

Link to post

Share on other sites

pekster 0

can we overide hotkeys set by an application we're using? for example: your using photoshop, and you want to make ctrl+s do something other than save, possible?

Sure, just create a loop to test what window is currently active. If a different window becomes active you can disable the current hotkeys and enable the set for whatever application just took focus.

[font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes.