• 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
Setting all subfolder views to list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting all subfolder views to list


  • Subject: Setting all subfolder views to list
  • From: Jim Witte <email@hidden>
  • Date: Fri, 18 Mar 2005 22:30:10 -0500

How would I write an applescript to recursively set the view options for all descendants of a folder to list view? I can set the view of a particular folder with a script like this:

tell application "Finder"
set target of Finder window 1 to folder "Applications" of folder "Developer" of startup disk
set current view of Finder window 1 to list view
end tell

But it appears that 'current view' is only a property of windows, not of folder objects themselves, which means I can't use 'every item of' (has that little bug been fixed yet?)

For that matter, *do* folders themselves even have a view setting anymore? The X finder if rather notorious for not remembering things you'd think it would (whether the sidebar of a particular folder is showing, view settings, window position when you open a folder in new window, etc)

Jim
 _______________________________________________
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

  • Prev by Date: Re: One for the experts: Serial Number of computer using Applescript Studio
  • Next by Date: itunes & text edit fun
  • Previous by thread: Re: Flagged msg´s in inbox in Mail...
  • Next by thread: Re: Setting all subfolder views to list
  • Index(es):
    • Date
    • Thread