Shutdown notification of specific App when Wifi network is not home network?

Hi, Who Knows how to shutdown system notification of specific App when wifi changed. For example: when you out of home, In public place, you don't want people see your social app notification popout, how to auto shutdown the specific app notification when wifi is not home wifi. Turn on the specific app notification when wifi connect to home wifi? I know the ''if wifi change'' Macro, but I don't know how to control the app notification.

Thanks.

Hey @som,

I see no means to directly script the notifications center, so it looks like you have only two options.

Turn off notifications altogether using the keyboard shortcut available in the Mission Control section of the system keyboard preferences.

Use AppleScript UI-Scripting to drive the system notification preferences UI.

-Chris