New
#1
Can Task Scheduler trigger upon Action Center notifications?
Hello! Is it possible to set up Task Scheduler to run a command when the Action Center gets a new notification? Thanks!
Hello! Is it possible to set up Task Scheduler to run a command when the Action Center gets a new notification? Thanks!
It can trigger on events.. so if one corresponds to the notification being generated.. but that may be unlikely.
There are quite technical ways of triggering tasks- not easy to use though. E.g.
It may be that using Autohotkey (free scripting language capable of interacting with windows) to monitor for the occurence of such a notification may be possible.
Autohotkey is extremely well documented, good forum; you can write a 1 line 'script' in text and run it to see what happens, and there's per line syntax checking.
However, I can't be certain it could be successfully used to detect a notification- it can detect the presence of a window based on all manner of criteria, so for example it might be possible to detect a notification popup.
That does seem a bit of a crude way to do that, but perhaps the only possible way that comes to mind.
Otherwise, you have to do some research to find out what if any event at all is triggered by a particular notification. The scheduler allows triggering from many logs and sources- more than I've shown- and these are not at all obvious. For example one I've used is to trigger an action on resuming from sleep or hibernation.
No, sorry; I just kept searching for info when I wanted to find out if the trigger I wanted was possible- I was lucky. To be honest, in your case I wouldn't know what event you'd be looking for- your best hope would be that the event log records somehting corresponding to a notification you're interested in.. but the event log is only one possible source for trigger as you will see if you explore the relevant task scheduler drop-downs.