What is a work-around for ControlSend,,{key DOWN}?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
cdenq
Posts: 4
Joined: 31 Jul 2021, 09:57

What is a work-around for ControlSend,,{key DOWN}?

31 Jul 2021, 10:01

I am trying to hold down a key in several inactive windows, but it seems like ControlSend is not capable of any {key DOWN} parameters. Any work arounds?
User avatar
mikeyww
Posts: 26934
Joined: 09 Sep 2014, 18:38

Re: What is a work-around for ControlSend,,{key DOWN}?

31 Jul 2021, 10:13

It worked when all on one line.

Code: Select all

wTitle = ahk_exe notepad.exe
F3::
ControlSend,, {Shift down}, %wTitle%
ControlSend,, abc, %wTitle%
ControlSend,, {Shift up}, %wTitle%
ControlSend,, {Shift down}def{Shift up}, %wTitle%
Return

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: jaka1, mikeyww, ReyAHK, Rohwedder and 302 guests