Page 1 of 1

One hotkey activates another

Posted: 19 May 2017, 11:11
by DocBadwrench
Hey all,

I'm getting back into AHK after taking some time off. I'd like to create a hotkey that calls a different hotkey.

I want to make WIN-P become my new color picker. In the relevant software, I've made the buttonpress ALT-F9. I want to make WIN-P activate *that* hotkey. This is what I have tried:

Code: Select all

#p::!F9
It's not working, but I don't really know how to move forward.

Thanks.

Re: One hotkey activates another

Posted: 19 May 2017, 12:12
by FanaticGuru
DocBadwrench wrote:I want to make WIN-P become my new color picker. In the relevant software, I've made the buttonpress ALT-F9. I want to make WIN-P activate *that* hotkey. This is what I have tried:

Code: Select all

#p::!F9
It's not working, but I don't really know how to move forward.

Thanks.
You code works as expected for me. Could be something particular about the relevant software. Some software especially games can be particular about things.

FG

Re: One hotkey activates another

Posted: 19 May 2017, 15:29
by DocBadwrench
Thanks for confirming that works. I will figure out what program is responsible and post it here for posterity.

It's def not a game (this is my work PC), but I'm sure it's one of the other many things I run in the background.