Jump to content

Recommended Posts

Posted

As the title says, does anyone know of a way to open the Windows 10 action center using AutoIt. Maybe via rundll or some other applet?

My intention is to just hide the normal icon, then have an AutoIt system tray icon that will open the action center on click. And I can't just send the Win+A hotkey because I have it disabled. 

Thanks for reading. :)

Posted
control /name Microsoft.ActionCenter  
control wscui.cpl
  Reveal hidden contents

IUIAutomation - Topic with framework and examples

Au3Record.exe

Posted
powershell -c "Get-ControlPanelItem -Name "'Action Center'" | Show-ControlPanelItem"

 

if that fails use the first part to verify that action center package is available

powershell -c "Get-ControlPanelItem -Name A*"

 

  Reveal hidden contents

Posted

Well that is a fine question,  is there a way to determine what command win+a is executing? 

  Reveal hidden contents

Posted

It is much more difficult than I thought it would be to figure out what WIN+A is calling, and looking through every possible thread on the Internet still has me coming up with nothing. I can't find a Powershell command to open the Action Center either.

UHJvZmVzc2lvbmFsIENvbXB1dGVyZXI=

Posted (edited)

Maybe its not a thing, maybe its two things...

Maybe the question is how to create a blank toast and populate it with an object, in this case being the Action Center.

What is the command to just make the side window pop out?

Edited by iamtheky

  Reveal hidden contents

Posted
  On 1/10/2017 at 4:02 PM, jetterer said:

Have you tried this:

Send ( "{LWINDOWN}" & "a" & "{LWINUP}")

 

Expand  

No that won't work because the Win+A shortcut key is disabled.

  On 1/11/2017 at 12:54 AM, Subz said:

This works for me:

_ActionCenter()
Func _ActionCenter()
    Local $hSysTray = ControlGetHandle('[Class:Shell_TrayWnd]', '', '[Class:TrayButton;Instance:3]')
    If @error Then MsgBox(16, "Error", "System tray not found")
    ControlClick('', '', $hSysTray)
EndFunc

 

Expand  

This does not work for me. I can make it work if I change Instance:3 to 1, but this also requires the normal Action Center icon to be visible, which is what I'm specifically trying to replace.

Thanks for the help guys. I'm assuming it can't be done, or at least it has yet to be discovered how. I do understand I have a very specific set of circumstances I'm trying to work with, but I figured if there was any way to do what I want, someone on the forums here might know.

Posted

I even tried monitoring DLLs when I pressed the hotkey to maybe track down what command was being passed, but that stuff got way more complicated than I could handle way too quickly, haha. In any case, I think the consensus I saw after searching around is to send some sort of blank Toast Notification to the Action Center.

UHJvZmVzc2lvbmFsIENvbXB1dGVyZXI=

  • 2 years later...
Posted (edited)

Thread is almost 3 years old , nobody has replied in all that time. So why now? :huh2:

Further looking at your brief history; you have a penchant for reviving old threads.

You are 3 for 3 on your behavior patterns..

 

Edited by Somerset

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...