Hotkey scope limitation Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Rafio
Posts: 41
Joined: 07 Oct 2018, 05:14

Hotkey scope limitation

17 Oct 2018, 03:15

Is it possible to limit the scope of a hotkey to a single application?
--
Windows 11
AHK 1.1.35.00
Adventure 3.0.4
Rafio
Posts: 41
Joined: 07 Oct 2018, 05:14

Re: Hotkey scope limitation

17 Oct 2018, 04:45

Hi Franktic,

I can't make it work:

Code: Select all

#IfWinActive ahk_class Publisher
#F18::MsgBox Hello there!
Nothing happen…
--
Windows 11
AHK 1.1.35.00
Adventure 3.0.4
User avatar
jeeswg
Posts: 6902
Joined: 19 Dec 2016, 01:58
Location: UK

Re: Hotkey scope limitation

17 Oct 2018, 04:59

Use AHK's window spy to check the class. On Publisher 2007 it's MSWinPub.
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
Rafio
Posts: 41
Joined: 07 Oct 2018, 05:14

Re: Hotkey scope limitation

17 Oct 2018, 05:44

Thanks!
It's the same in Pub 365.
--
Windows 11
AHK 1.1.35.00
Adventure 3.0.4

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Descolada, Lamron750 and 278 guests