Page 1 of 1

Hold Down Key for Just One Application?

Posted: 19 Nov 2023, 11:29
by DVDA
Forgive my ignorance as I am not good at computer stuff at all...

I am curious if this software can be programmed to hold down a specific key for only a specific program?

What I am trying to accomplish is for the software to press and hold a key on a specific application even while it's minimized and I viewing a different application.

Is this possible?

Re: Hold Down Key for Just One Application?

Posted: 19 Nov 2023, 12:07
by DuckingQuack
It is possible, but it depends on the program as some programs can disable key input when minimized.
You'll want to check out ControlSend for more info, and add the Down modifier to the key you send so it stays down instead of a single quick press.
https://www.autohotkey.com/docs/v2/lib/ControlSend.htm