• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
right click menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

right click menu


  • Subject: right click menu
  • From: Jarrod Coffin <email@hidden>
  • Date: Sun, 17 Jan 2010 18:27:50 -0800

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

 _______________________________________________
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

  • Follow-Ups:
    • Re: right click menu
      • From: Chris Page <email@hidden>
    • Re: right click menu
      • From: Carlos Ysunza <email@hidden>
    • Re: right click menu
      • From: Robert Poland <email@hidden>
  • Prev by Date: Re: Preview.app scriptable
  • Next by Date: Re: right click menu
  • Previous by thread: Re: Applescript Trivia: Black & White Pinwheel?
  • Next by thread: Re: right click menu
  • Index(es):
    • Date
    • Thread