Surpass Script With Hotkey

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
hemsith14_
Posts: 296
Joined: 07 Nov 2020, 08:37

Surpass Script With Hotkey

18 Oct 2021, 13:08

Hey, is it possible to send an actual {F11} without activating a different command that is assigned to it?

Thank you
User avatar
mikeyww
Posts: 26889
Joined: 09 Sep 2014, 18:38

Re: Surpass Script With Hotkey

18 Oct 2021, 13:11

Code: Select all

F3::Send {F11}
You can remove the hotkey itself if you just want the script to send F11 when it is run.
hemsith14_
Posts: 296
Joined: 07 Nov 2020, 08:37

Re: Surpass Script With Hotkey

18 Oct 2021, 13:13

But I don't want to remove the original {F11} hotkey, just to be able to "surpass" it.
User avatar
mikeyww
Posts: 26889
Joined: 09 Sep 2014, 18:38

Re: Surpass Script With Hotkey

18 Oct 2021, 13:14

Code: Select all

$F11::Send x
F3::Send {F11}
Explained: dollar
The $ prefix forces the keyboard hook to be used to implement this hotkey, which as a side-effect prevents the Send command from triggering it.
hemsith14_
Posts: 296
Joined: 07 Nov 2020, 08:37

Re: Surpass Script With Hotkey

18 Oct 2021, 13:17

Oh, yea. No idea why I didn't thought of it. Thank you!

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Google [Bot], wilkster and 305 guests