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


Click here to return to the 'Add a Show Desktop icon to the Dock' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Add a Show Desktop icon to the Dock
Authored by: ChaChi on Nov 19, '09 07:55:46AM
I would advise against EVER saving an AppleScript application as "Run Only"! That only prevents future editing of the script. If you want to protect your code, and will be distributing the script to several people, then select "Run Only". Otherwise, this option will only give you headaches in the long run when you realize you can't ever edit the script again after selecting that option. Something else you can do though is save the script as "Stay Open" and change the script like this:
on run
reopen
end run

on reopen
do shell script "/Applications/Utilities/Expose.app/Contents/MacOS/Expose 1"
end reopen
This one line script hardly needs to be saved as "Stay Open" though!

[ Reply to This | # ]