Re: Change a folder to list view
Re: Change a folder to list view
- Subject: Re: Change a folder to list view
- From: Dave Lyons <email@hidden>
- Date: Fri, 21 Oct 2005 12:47:06 -0700
On Oct 20, 2005, at 6:30 PM, Brett Conlon/HU/AU/SonyDADC wrote:
How does one set a newly created folder to view as List rather than
the default of Icon?
(OOPS - I answered on Thursday evening but failed to reply to the list.)
You have to set the view of the "window of" the folder, but Finder
allows you to do this even when the window isn't open:
tell application "Finder"
set theFolder to make new folder
set current view of window of theFolder to list view
end tell
(You can discover part of this answer by hitting Record in your
favorite script editor, and then changing a Finder window's view
yourself. But that wouldn't reveal that you can do it even with the
window closed.)
--Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden