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: 241
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: 561
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.

- [AHK].......: Unicode 64-bit
- [OS].........: Windows 10.0.18362
- [GITHUB]...:
- [PAYPAL]....:
- [DISCORD]..: Delta#3324

Remember to use [code]CODE[/code] for your multi-line scripts.
Stay safe, stay inside, and remember to wash your hands for 20 seconds!

Return to “Ask For Help”

Who is online

Users browsing this forum: Flipeador, Google [Bot], Xtendera and 168 guests