Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Create a dockable X11 application' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create a dockable X11 application
Authored by: dafdaf on Mar 08, '04 06:42:34PM
*very* nice script, indeed. - Works like a charm !
By adding the following lines to the bottom of the script, it's possible to quit Gimp via the dock as well:
on quit
	do shell script "/bin/ps -x | /usr/bin/grep gimp | /usr/bin/grep -v grep | /sw/bin/awk '{print $1}' | xargs kill"
	continue quit
end quit

And as ncrocker pointed out: It's important to select 'stay open' when saving the script.

[ Reply to This | # ]