• 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: Change a folder to list view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Change a folder to list view (From: Brett Conlon/HU/AU/SonyDADC <email@hidden>)

  • Prev by Date: Re: filemaker applescript question
  • Next by Date: Finding \t, \r, \n reliably
  • Previous by thread: Re: Change a folder to list view
  • Next by thread: Just returning Filename... not whole path
  • Index(es):
    • Date
    • Thread