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


Click here to return to the 'A Service to hide/show the Desktop' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A Service to hide/show the Desktop
Authored by: mantrid on Aug 05, '10 07:52:42AM

Since you recognize the danger, rather than using a do shell script to killall Finder harshly, why not tell it first to quit, then activate so that it can do so on its own terms? That way you can avoid the possibility of interrupting a file transfer, etc.



[ Reply to This | # ]
A Service to hide/show the Desktop
Authored by: Coumerelli on Aug 05, '10 08:21:39AM

Some help with that please? :)

---
"The best way to accelerate a PC is 9.8 m/s2"



[ Reply to This | # ]
A Service to hide/show the Desktop
Authored by: urban_mainframe on Aug 05, '10 08:27:01AM
tell application "Finder" to quit
wait
tell application "Finder" to run


[ Reply to This | # ]
A Service to hide/show the Desktop
Authored by: mantrid on Aug 05, '10 09:25:54AM

Yes, "run" is a better choice than "activate" in this context, thanks.



[ Reply to This | # ]