Page 1 of 1

Logic Pro save warning with Growl

Posted: Sun Nov 11, 2007 10:52 am
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.

Posted: Tue Nov 13, 2007 3:58 am
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.

Posted: Tue Nov 13, 2007 4:47 am
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...

Posted: Tue Nov 13, 2007 9:31 am
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!

Posted: Tue Nov 13, 2007 4:11 pm
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.