Hold Down Key for Just One Application?

Discuss Autohotkey related topics here. Not a place to share code.
Forum rules
Discuss Autohotkey related topics here. Not a place to share code.
DVDA
Posts: 1
Joined: 19 Nov 2023, 11:23

Hold Down Key for Just One Application?

19 Nov 2023, 11:29

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?
User avatar
DuckingQuack
Posts: 219
Joined: 20 Jan 2023, 18:20

Re: Hold Down Key for Just One Application?

19 Nov 2023, 12:07

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
Best of Luck,
The Duck

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 73 guests