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

10.4: Make the Automator Action installer not hide apps System 10.4
Tiger only hintApple'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:
  1. Right- or control-click on the installer package, and select Show Package Contents from the pop-up menu.
  2. Navigate to Contents/Resources/Scripts, and open main.scpt in the Script Editor.
  3. 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.
  4. 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).
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[9,119 views]  

10.4: Make the Automator Action installer not hide apps | 0 comments | Create New Account
Click here to return to the '10.4: Make the Automator Action installer not hide apps' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.