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

Click here to return to the '10.4: Use Automator to toggle hidden Unix files' visibility' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Use Automator to toggle hidden Unix files' visibility
Authored by: fracai on Aug 18, '05 09:01:47AM

put the Finder quit bit after the do shell script

my bet is that sometimes the Finder quits and restarts before your defaults write command has finished. in this case the Finder would load with hidden files still hidden as the new setting hasn't been read yet. running the toggle script again would toggle the setting back to hidden and it would again be down to luck.

or just create two scripts for on and off. then you don't need to worry about this issue at all.

i am jack's amusing sig file

[ Reply to This | # ]