• 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
Re: right click menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: right click menu


  • Subject: Re: right click menu
  • From: Chris Page <email@hidden>
  • Date: Mon, 18 Jan 2010 20:58:10 -0800

On Jan 17, 2010, at 6:27 PM, Jarrod Coffin wrote:

do shell script "killall Finder"

This is a lot of overhead (it creates and initializes a shell process, which then creates a killall process). Try just telling Finder to quit, directly from AppleScript:

quit application "Finder"

And, to make it robust, identify Finder by ID instead of by name:

quit application id "com.apple.Finder"

-- 
Chris Page

 The other, other AppleScript Chris

 _______________________________________________
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

References: 
 >right click menu (From: Jarrod Coffin <email@hidden>)

  • Prev by Date: Re: Script Objects
  • Next by Date: Re: Script Objects
  • Previous by thread: Re: right click menu
  • Next by thread: Script Editor making Classic Applications in Snow Leopard
  • Index(es):
    • Date
    • Thread