Re: How to start/restart the Finder from an AS app?
Re: How to start/restart the Finder from an AS app?
- Subject: Re: How to start/restart the Finder from an AS app?
- From: "Stockly, Ed" <email@hidden>
- Date: Wed, 19 Dec 2007 12:54:42 -0800
- Thread-topic: How to start/restart the Finder from an AS app?
>> Is there a syntax to call the Finder if it is not currently running?
>> Or if I wish to quit and restart the Finder?
I've found it's better if you don't put the quit and activate (or run) in
the same tell block.
Also, after you issue the quit command it's more reliable if you delay
before doing the activate or run. Otherwise you may get a connection invalid
error.
tell application "Finder" to quit
delay 10
tell application "Finder"
activate
end tell
HTH,
ES
_______________________________________________
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