Redefine hotkeys to run an external application

English support forum

Moderators: white, sheep, Hacker, Stefan2

Post Reply
GabrieleJax
Junior Member
Junior Member
Posts: 4
Joined: 2016-06-07, 18:23 UTC

Redefine hotkeys to run an external application

Post by *GabrieleJax » 2016-06-07, 18:30 UTC

Hi everyone,

as they subject of this thread says, I'd like to redefine the key F5 in order to run an external application when pressed.
I know the path of this external application .exe and the parameters to execute it with.
Is it possible to do what I'd like to do? If it is, how do I do it?

Thanks in advance.

User avatar
Stefan2
Power Member
Power Member
Posts: 2144
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Create your own user commands, Add shortcut key to them

Post by *Stefan2 » 2016-06-07, 18:55 UTC

I don't know if we can redefine the "F5" shortcut,

but basically you would do something like described there:



TCs' user commands (em_xxxxx): http://ghisler.ch/board/viewtopic.php?p=291895#291895


Scroll down to

-- As alternative to the TC internal “cm_something” commands, you can create your own user commands “em_something”


and then to

-- Add shortcut key to em_ or cm_ commands




 

User avatar
MVV
Power Member
Power Member
Posts: 8121
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV » 2016-06-07, 19:56 UTC

TC allows redefining F5 key w/o problems. However it is highly recommended not to override standard shortcut keys like F5, F6 or F8 (most standard keys listed in Keyboard.txt file), there are a lot of other ones.

Post Reply