10.4: Make the Automator Action installer not hide apps
Sep 16, '05 08:14:00AM
Contributed by: evan_escent
Apple's Automator Action Installer template (available from Apple's Installation Instructions for Developers page) is the recommended way to ship custom actions, and it works pretty well. However, one annoyance is its tendency to hide active apps when it runs. I'm sure that the intent is benign, but it's a little annoying in practice, as the user watches all of their open window seemingly disappear.
Luckily, the fix is easy:
- Right- or control-click on the installer package, and select Show Package Contents from the pop-up menu.
- Navigate to Contents/Resources/Scripts, and open main.scpt in the Script Editor.
- Comment out the line that starts with set visible of (every process whose.... In the version of the installer I have, this is line 34.
- Save the script.
Open applications should now no longer mysteriously disappear when the installer runs. Thanks to Rob for suggesting this bit of polish (as discovered when testing my Automator Action to delete files hint).
Comments (0)
Mac OS X Hints
http://hints.macworld.com/article.php?story=20050914121448472