Jump to content

Recommended Posts

Heyho guys and girls,

 

I just finished porting my old v1 extension NotificationControl to a v2 style workflow.

 

You can download it here.

 

You can use the following keywords: 

  • Show the current status of Growl and NotificationCenter : stat
  • Pause Growl and Notification Center : pause
  • Resume Growl and Notification Center : resume
  • Pause or resume Growl : growl
  • Pause or resume Notification Center : notificationcenter
  • Close all Growl notifications : close_growl
  • Close all NotificationCenter notifications : close_nc
  • Show Growl’s rollup : show
  • Hide Growl’s rollup : hide
  • Enable Growl’s incoming network : enable
  • Disable Growl’s incoming network : disable/
  • Restart Growl : restart

 

Bildschirmfoto%202013-03-16%20um%2016.41

Link to comment

Because of the fact, that NotificationCenter has no AppleScript support or any other scripting bridge I had to be a little creative solving these problems.

 

Pausing NotificationCenter is achieved through UI Scripting and to close all the notifications in NC I had to mess with NC's database file and restart NoticifationCenter afterwards.

 

These solutions are both not very stable, but right now the best I could do.

 

If any of you know of a better way to do this, please reply.

Link to comment
  • 2 years later...
  • 1 year later...
On 3/17/2013 at 0:09 AM, Kudusch said:

Heyho guys and girls,

 

I just finished porting my old v1 extension NotificationControl to a v2 style workflow.

 

You can download it here.

 

You can use the following keywords: 

  • Show the current status of Growl and NotificationCenter : stat
  • Pause Growl and Notification Center : pause
  • Resume Growl and Notification Center : resume
  • Pause or resume Growl : growl
  • Pause or resume Notification Center : notificationcenter
  • Close all Growl notifications : close_growl
  • Close all NotificationCenter notifications : close_nc
  • Show Growl’s rollup : show
  • Hide Growl’s rollup : hide
  • Enable Growl’s incoming network : enable
  • Disable Growl’s incoming network : disable/
  • Restart Growl : restart

 

Bildschirmfoto%202013-03-16%20um%2016.41

 

 

Hi Kudusch,

Thanks for your work, however the link seems down, can you fix it or post it somewhere else such as Github?

 

Link to comment

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...