Jump to content
Sign in to follow this  
Kudusch

Control NotificationCenter and Growl

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

Share this post


Link to post

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.

Share this post


Link to post
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?

 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  
×
×
  • Create New...