Logic Pro save warning with Growl

The Growl forums have moved to Google Groups, this forum is read only.
Locked
anamorphis
Harmless
Posts: 2
Joined: Sun Nov 11, 2007 10:44 am

Logic Pro save warning with Growl

Post by anamorphis »

Hi,
I was wondering if you guys know how to build a simple notification for Logic Pro, one that could just remind me to save my work from time to time, using Growl.
Is this possible? I mean, something that worked only when Logic is running, and that would send a notification, let's say, every ten minutes with the message "Don't forget to save your work, or you maybe loose it...", or something like that.
I don't know s.... about programming, so I don't think I can do this by myself.
Help would be much appreciated :)

Thanks a lot.
User avatar
The_Tick
Cocoaforge Admin
Posts: 4642
Joined: Thu Dec 02, 2004 6:06 am
Contact:

Post by The_Tick »

I think I'd do this differently than that. You'd need to write an application to watch for when logic pro is running, and then to do the notifications starting then. I bet you could do it if you put your mind to it.

You'll want it to run as a background process, so look into LSUIElement.

You can use NSWorkspace to watch for notifications I think (someone correct me if I'm wrong).

At that point I think maybe you just need to use NSTimer, but I could be wrong.

Or you could make an applescript app that launches logic pro, counts for 10 minutes, and then pops a notification.
User avatar
bgannin
Growl Team
Posts: 1817
Joined: Thu Dec 02, 2004 8:11 am
Location: ..here
Contact:

Post by bgannin »

You make it sound so complex. :D Beginning Cocoa programmers, this is a 10 minute sample app and then 5 minutes to add Growl support...
Try my software!

#define ADIUMX pimp //by me
#define QUESTION ((2b) || (!2b))
Have you hugged a programmer today?
anamorphis
Harmless
Posts: 2
Joined: Sun Nov 11, 2007 10:44 am

Post by anamorphis »

See? :D that is the problem... I don't even know what is an LSUIElement, or my NSWorkspace... lololol... I just happen to like what Growl does, and wondered if it could do something alike for Logic...

Sorry. But thanks for you help, though. I hope someone take those 15m to program something like this. :grin:

Thanks!
User avatar
The_Tick
Cocoaforge Admin
Posts: 4642
Joined: Thu Dec 02, 2004 6:06 am
Contact:

Post by The_Tick »

bgannin wrote:You make it sound so complex. :D Beginning Cocoa programmers, this is a 10 minute sample app and then 5 minutes to add Growl support...
I do? I thought it sounded simple, and I'm not even a coder.
Locked