Script releases physically held key Topic is solved

Ask gaming related questions (AHK v1.1 and older)
msacco
Posts: 2
Joined: 26 Nov 2018, 19:03

Script releases physically held key

26 Nov 2018, 19:13

Sorry for the title, its hard to describe it with a title, but I have a super simple script I'm using, and if for example I play another game meanwhile, in one game I press and hold a key, then the script presses something, the key I physically held is been released even though I'm still pressing it, so I need to release and then press again, is there anything I can do to get around it?

The script I'm using is as simple as this:

Code: Select all

#Persistent
SetTimer, PressTheKey, 1800000
Return

PressTheKey:
ControlSend, , {Space}, World of Warcraft
Return
Thanks :)
swagfag
Posts: 6222
Joined: 11 Jan 2017, 17:59

Re: Script releases physically held key  Topic is solved

26 Nov 2018, 20:53

try {Blind}{Space}. i dont remember if Blind worked with ControlSend, though
msacco
Posts: 2
Joined: 26 Nov 2018, 19:03

Re: Script releases physically held key

27 Nov 2018, 00:51

swagfag wrote:
26 Nov 2018, 20:53
try {Blind}{Space}. i dont remember if Blind worked with ControlSend, though
It works, thanks!!

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: jameswrightesq and 142 guests