Re: right click menu
Re: right click menu
- Subject: Re: right click menu
- From: Carlos Ysunza <email@hidden>
- Date: Mon, 18 Jan 2010 18:26:19 -0600
- Thread-topic: right click menu
Title: Re: right click menu
Hey I made a script that hid all the icons on the desktop. It clean it up very nicely. But i would like to have the script accessible from the right click menu. If theres any way to do this I would be happy. Even if it was in the menu bar on an independent icon so when you click it, it runs the script.
set the_Button to button returned of (display dialog "Hide or show Desktop" buttons {"Show", "Hide"} default button "Show")
if the_Button is "Show" then do shell script "defaults write com.apple.finder CreateDesktop -bool true"
if the_Button is "Hide" then do shell script "defaults write com.apple.finder CreateDesktop -bool false"
do shell script "killall Finder"
thats the script if it will help any.
thanks
Jarrod
How if you put you scripit into an Automator action ans save it as a plug inn for the Finder…
Is just an idea
Carlos Ysunza B.
Director
Ysunza/Santiago
Comunicación Visual • Automatización
Tel. (52)55 5256-0336
email@hidden
http://www.ysunzasantiago.com
http://www.thesecretmexico.com
http://www.softrobot.com.mx
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden