Action Center

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Zarvis 12
Posts: 1
Joined: 22 Feb 2018, 14:43

Action Center

22 Feb 2018, 14:53

Help me in coding Windows + A to open action center ...in a file...so I want to make it customize my rocket dock. Please, anyone, help me
windows=#
A=A
I know up to that only... :lol: :superhappy: :crazy:
RickC
Posts: 299
Joined: 27 Oct 2013, 08:32

Re: Action Center

22 Feb 2018, 15:43

Code: Select all

{
; Open Action Center
ControlGet, ShellTray, Hwnd,, TrayButton2, ahk_class Shell_TrayWnd
ControlClick,, ahk_id %ShellTray%
}
Note: You may need to adjust the value for TrayButton. TrayButton2 works for me (whilst TrayButton1 opens Cortana's Search dialog).

Hope this helps...
User avatar
Delta Pythagorean
Posts: 627
Joined: 13 Feb 2017, 13:44
Location: Somewhere in the US
Contact:

Re: Action Center

22 Feb 2018, 20:46

SendInput, #a
Works just fine for me.
I have no problems unless a program is wanting to use the hotkey.

[AHK]......: v2.0.12 | 64-bit
[OS].......: Windows 11 | 23H2 (OS Build: 22621.3296)
[GITHUB]...: github.com/DelPyth
[PAYPAL]...: paypal.me/DelPyth
[DISCORD]..: tophatcat


Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Google [Bot], Joey5, RandomBoy and 378 guests