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

Re: setting the list view on a folder


  • Subject: Re: setting the list view on a folder
  • From: kai <email@hidden>
  • Date: Sat, 12 Aug 2006 01:24:54 +0100


On 11 Aug 2006, at 23:36, Jim Brandt wrote:

I'm curious to know if the list view can be set without actually opening the folder.

Something like this should do the trick, Jim:

-----------------

tell application "Finder"
set new_folder to make new folder with properties {name:"my new folder"}
set current view of new_folder's container window to list view
end tell


-----------------

---
kai


_______________________________________________ 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: 
 >setting the list view on a folder (From: Jim Brandt <email@hidden>)

  • Prev by Date: Re: INDESIGN CS2: Altering a Text Selection
  • Next by Date: Re: script won't compile if object doesn't exist
  • Previous by thread: setting the list view on a folder
  • Next by thread: script won't compile if object doesn't exist
  • Index(es):
    • Date
    • Thread