ControlSend doesn't work Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
ars4l4n
Posts: 15
Joined: 26 Aug 2020, 07:27

ControlSend doesn't work

26 Nov 2023, 15:18

Code: Select all

#IfWinExist ahk_exe MusicBee.exe
ScrollLock::
ControlSend,, {F14}, ahk_exe MusicBee.exe
return
It used to work when I just did

Code: Select all

ScrollLock::F14
but now nothing fires

to solve this I tried:
closing all other scripts and running a blank script with the above code on its' own

don't know what my next step is from here
GEV
Posts: 1005
Joined: 25 Feb 2014, 00:50

Re: ControlSend doesn't work

26 Nov 2023, 16:04

What happens if you double-click a script with only this code

Code: Select all

ControlSend,, {F14}, ahk_exe MusicBee.exe
or if you replace ScrollLock by another key?
ars4l4n
Posts: 15
Joined: 26 Aug 2020, 07:27

Re: ControlSend doesn't work  Topic is solved

27 Nov 2023, 09:20

GEV wrote:
26 Nov 2023, 16:04
What happens if you double-click a script with only this code

Code: Select all

ControlSend,, {F14}, ahk_exe MusicBee.exe
or if you replace ScrollLock by another key?
neither doubleclicking the script with just that code nor using my original script with a different hotkey (like the up arrow) causes the action for that key to fire in MusicBee.

I tried some additional troubleshooting:
Controlsend works in MusicBee when eg I choose a textbox as a Control and send some text there but I can't get it to accept the {F14} Controlsend, even though I tried out different controls as the recipient.

I unchecked the "Global Hotkey" box for the F14-action in the MusicBee settings and the issue was solved

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: big-jg, Bing [Bot], JnLlnd and 205 guests