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 ...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: 198
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: 423
Joined: 13 Feb 2017, 13:44
GitHub: DelPyth
Location: Equestria

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: Bing [Bot], Google [Bot], grimboto, newbieforever and 100 guests