• 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: Relaunch Finder X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Relaunch Finder X


  • Subject: Re: Relaunch Finder X
  • From: Christopher Nebel <email@hidden>
  • Date: Wed, 14 May 2003 16:41:35 -0700

On Wednesday, May 14, 2003, at 02:07 PM, Alatorre, Michael wrote:

Is there a way to quit *and* relaunch the Finder using AppleScript in OS
X? I can quit the Finder using AS, but resort to clicking on the Finder
icon in the Dock to relaunch it.

Answered my own question:

do shell script "open -a Finder"

Alternatively,

tell application "Finder" to launch

'tell application "Finder" to run' also causes the Finder to launch, but also gives you an error that it "can't continue run." That seems like a bug.


--Chris Nebel
Apple Development Tools
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Finding Duplicate named files with exactly the same size
  • Next by Date: Re: Order of operations (was: Eigenvalues &/or eigenvectors,
  • Previous by thread: RE: Relaunch Finder X
  • Next by thread: Finding Duplicate named files with exactly the same size
  • Index(es):
    • Date
    • Thread