Skip to main content

Hi Folks,

Need your help for a quick win here...

I have an application (iMovie specifically)
When said application (process) is quit I'd like to display a message to
the user

How do I make it happen?

I've seen Growl thrown around before for notification stuff. Can something
easily be done there? I'm just starting to read the documentation.

Thanks,

Craig E

Easiest way I can think of offhand is to swap the iMovie binary for a shell script wrapper. This requires going inside the .app bundle and renaming iMovie.app/Contents/MacOS/iMovie, then dropping a shell script in its place (so that the shell script is named iMovie, and runs the actual binary from there). Something like this:

#!/bin/sh

mydir=$(dirname "$0")
"$mydir/iMovie.real" "$@"

growlnotify --name "iMovie" --appIcon "iMovie" "iMovie has quit"

Don't forget to make the script executable for all users.


When its Quit?

Why when its quit? and what kind a message?

No don't think Growl can do that

but pls explain why and i might be able to help

Criss Myers
Senior IT Analyst (Mac Services)
iPhone / iPad Developer
Apple Certified Technical Coordinator v10.5
LIS Development
Software Management Team
Adelphi Building AB28
University of Central Lancashire
Preston PR1 2HE
Ex 5050
01772 895050


Because Apple, in it's infinite wisdom, has removed your ability to save video projects where you please, it just places everything in a specified directory in your local home.

This is fine for a home user or a dedicated officer user, but as usual, not so great in an Enterprise environment where the machine isn't owned by a person and needs to use network resources to save their massive video projects.

We've been editing over the network for a long time now, but after iMovie HD '06 all the versions that followed acted this way and so we stuck to using '06. This has become increasingly difficult to support new HD formats natively and efficiently. Right now there is a huge conversion process you have to perform before even editing now.

So basically, we are looking to primarily support iMovie '11 and take advantage of all it's wonderful editing features, interface, and current format support. However, anyone who uses our lab machines will lose any local data over night in our maintenance process, and so we would like to kindly remind them, before they come in the next day crying at the help desk, when they quit iMovie to copy up their movie folders to the project share. Trust me we have other signage up, but nothing works as well as something in your face on the screen at the time it matters.

Now I've tried doing a display message at logout, but that doesn't work so hot…it just gets killed by the logout process.

We have looked at other editing software and are unimpressed, or it's just too complicated like Final Cut Studio or Premiere Pro. Final Cut Express would be an option, but as far as I can tell it's a dead product, having not been updated in almost years now. Although there is now a Premiere Elements for the Mac now, it's not mature enough in terms of being reliable. So if you have other affordable video editing software suggestions, I'll take those as well, but I'd really like to stick with the software that comes with the OS and even gets conveniently updated through the OS.

And I'm sorry, I did not follow my own rules on explaining the problem I'm trying to solve more verbosely. Although I was very clear on what I wanted. =)

Craig E


Oh, if u had a keyserver you could use that, I'll have a think for you about outte else

Criss Myers


OH SNAP! I HAVE KEYSERVER!!!!!


Only on process start for key server, but that's a start…

Craig E