Action Center

Get help with using AutoHotkey 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 a I want to make it customize my rocket dock. Please, anyone, help me
I know up to that only... :lol: :superhappy: :crazy:
Posts: 220
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: 482
Joined: 13 Feb 2017, 13:44
GitHub: DelPyth
Location: Somewhere in the US

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.

Return to “Ask For Help”

Who is online

Users browsing this forum: Google [Bot], Gully, Sam_, SuperFoobar and 216 guests