|
|
Create a dockable X11 application
Here's a kludge of many examples (some from MacOSXhints) that I use to start up GIMP. Thanks to the people submitted hints for me to copy from.
This applescript can be saved as an application bundle and have a .icns associated with it. You can find a copy at: http://homepage.mac.com/glusk/FileSharing3.html
If anyone has any improvements, please share.
Create a dockable X11 application
*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:
And as ncrocker pointed out: It's important to select 'stay open' when saving the script.
Create a dockable X11 application
A nice addition would be to have the script quit itself when you close Gimp. The bit below is just modified from the original and checks for "gimp" in running processes, then quits if that isn't found. Note that it ignores "MacGimp" which is in the name of my version of the script; you'll want to get rid of that part if you have a name that doesn't include "gimp".
I can't get it to quit by putting the "tell me to quit" within the repeat loop, which seems odd to me. This also breaks the "on quit" bit posted earlier, presumably because the script is looping through the repeat and can't look for a "quit" message. Should be a way around that, no?
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.11 seconds |
|