Re: launching finder with optionschi
Re: launching finder with optionschi
- Subject: Re: launching finder with optionschi
- From: Uli Kusterer <email@hidden>
- Date: Tue, 17 Jun 2008 15:08:23 +0200
Am 16.06.2008 um 18:36 schrieb Memo Akten:
tell application "Finder"
activate
if not (exists Finder window 1) then
make new Finder window to startup disk
end if
select Finder window 1
set target of Finder window 1 to folder "documents" of home
set current view of Finder window 1 to flow view
end tell
Don't reuse an already open window like that. The user may have a
window open that they still want to use later. I'd recommend you
always open a new window, or check in com.apple.finder.plist whether
the option to open folders in a new window is on, and at least do it
in that case.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden