Re: Unexpected Finder window
Re: Unexpected Finder window
- Subject: Re: Unexpected Finder window
- From: Axel Luttgens <email@hidden>
- Date: Wed, 03 Jan 2007 22:30:13 +0100
On 3/01/07 20:43, kai wrote:
On 3 Jan 2007, at 18:40, Stockly, Ed wrote:
You see if I run this script on my mac, when there is NO Finder
window open...
tell application "Finder"
activate
tell Finder window 1 to if exists then
set current view to list view
--do other stuff
end if
end tell
Then the script actually opens a new window, but doesn't execute any
of the other commands within the freaky tell/if block.
That behaviour certainly doesn't occur here.
[...]
The scripting style may not be to your taste, which is fine; don't
use it and don't recommend it. However, the suggestion that you're
getting strange behaviour from a mild syntactic variation does
interest me.
So am I... ;-)
Does anyone else get an unwanted window from any of this?
Not here.
Looks like as if, on Ed's machine, telling the Finder to activate were
equivalent to click on the Finder's icon in the Dock. Some kind of third
party Finder enhancer utility, perhaps?
Intrigued Axel
_______________________________________________
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/mailman//archives/applescript-users
This email sent to email@hidden