Any way to turn off Windows 10 toast notifications?

General Macro Scheduler discussion

Moderators: Dorian (MJT support), JRL

Post Reply
daniel347x
Newbie
Posts: 8
Joined: Tue Apr 26, 2011 9:41 pm

Any way to turn off Windows 10 toast notifications?

Post by daniel347x » Fri Oct 30, 2015 10:37 pm

I notice that a Windows 10 toast notification appears when I run a macro. I want to disable this, but I do not see any way to disable it through the Options dialog.

Oddly, when I attempt to disable the Macro Scheduler toast notifications through Windows itself, via Settings -> Notifications -> "Show Notifications from These Apps", I find that 'msched.exe' appears in the list literally 15 times. I have turned off all 15 occurrences of Macro Scheduler in the Notification settings, but I am concerned that a 16th entry may appear and suddenly I'll start seeing toast notifications again from Macro Scheduler.

Any suggestions?

armsys
Automation Wizard
Posts: 1108
Joined: Wed Dec 04, 2002 10:28 am
Location: Hong Kong

Re: Any way to turn off Windows 10 toast notifications?

Post by armsys » Fri Oct 30, 2015 11:10 pm

Please show your code.

daniel347x
Newbie
Posts: 8
Joined: Tue Apr 26, 2011 9:41 pm

Re: Any way to turn off Windows 10 toast notifications?

Post by daniel347x » Mon Nov 02, 2015 4:20 pm

Here is the code:

SetFocus>XYplorer
/*
Assign this macro to ALT+Q.
When you hit alt-q it will start and WAIT for you to release the ALT key
It will then run the code in the YourCode subroutine ...
*/
SRT>YourCode
//Press Enter
Exit>0
END>YourCode

Press alt
Press tab
Release tab
OnEvent>key_down,VK18,3,Go
SRT>Go
Let>AltFlagCount=0
END>Go
Let>AltFlagCount=0
Let>KillFlagCount=0
Label>Loop
Wait>0.01
If>KillFlagCount=0
Add>AltFlagCount,1
EndIf
If>%AltFlagCount%=3
GoSub>YourCode
Let>AltFlagCount=0
Let>KillFlagCount=1
Release Alt
EndIf
Goto>Loop

armsys
Automation Wizard
Posts: 1108
Joined: Wed Dec 04, 2002 10:28 am
Location: Hong Kong

Re: Any way to turn off Windows 10 toast notifications?

Post by armsys » Mon Nov 02, 2015 9:54 pm

Hi Daniel347x,

Code: Select all

SetFocus>XYplorer
/*
 Assign this macro to ALT+Q.
 When you hit alt-q it will start and WAIT for you to release the ALT key
 It will then run the code in the YourCode subroutine ...
*/
SRT>YourCode
  //Press Enter
  Exit>0
END>YourCode

Press alt
Press tab
Release tab
OnEvent>key_down,VK18,3,Go
SRT>Go
  Let>AltFlagCount=0
END>Go
Let>AltFlagCount=0
Let>KillFlagCount=0
Label>Loop
Wait>0.01
If>KillFlagCount=0
  Add>AltFlagCount,1
EndIf
If>%AltFlagCount%=3
  GoSub>YourCode
  Let>AltFlagCount=0
  Let>KillFlagCount=1
  Release Alt
EndIf
Goto>Loop
Release TAB doesn't exist in MS.
Referring to

Code: Select all

OnEvent>key_down,VK18,3,Go
Already <VK18> is ALREADY used trigger OnEvent, why is <3>, which means ALT key must also be pressed, applied again? What's the logic behind?

User avatar
CyberCitizen
Automation Wizard
Posts: 721
Joined: Sun Jun 20, 2004 7:06 am
Location: Adelaide, South Australia

Re: Any way to turn off Windows 10 toast notifications?

Post by CyberCitizen » Tue May 17, 2016 4:28 am

Image
FIREFIGHTER

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts