• 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: "List View" ASIP Please!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "List View" ASIP Please!


  • Subject: Re: "List View" ASIP Please!
  • From: Jed Verity <email@hidden>
  • Date: Wed, 13 Dec 2000 10:40:48 -0800

I think this'll do it. Choose the folder (or volume) that contains the other
folders you want to set and let it rip (it can take a while).

------begin script
set parentFolder to (choose folder)
my doFolder(parentFolder)

on doFolder(parentFolder)
tell application "Finder"
set folderList to every folder of parentFolder
end tell
set folderCount to (count items of folderList)
if folderCount = 0 then
my setFolderProps(parentFolder)
else
repeat with f from 1 to folderCount
my setFolderProps(parentFolder)
set parentFolder to item f of folderList
my doFolder(parentFolder)
end repeat
end if
end doFolder

on setFolderProps(parentFolder)
tell application "Finder"
open parentFolder
set view of container window of parentFolder to 2
close parentFolder
end tell
end setFolderProps
-------end script

HTH,
Jed

On the threshold of genius, Bill Griffin @ HelpDeskII wrote:

> Appleshare IP defaults all views to ICON view.
> Need Applescript help set all folders to LIST
> view without draging them on one at a time.
>
> Anyone? Any Ideas?
>
> I tried and failed.
> --
> William Griffin
>
> Ritta & Associates
> 568 Grand Ave
> Englewood, NJ 07631
>
> vox/fax: 201 567 4400/7330
> http:/ritta.com
> _______________________________________________
> applescript-users mailing list
> email@hidden
> http://www.lists.apple.com/mailman/listinfo/applescript-users
>


~)~)~)~)~)~)~)~)~)~)~)~)~)
Jed Verity


References: 
 >"List View" ASIP Please! (From: "Bill Griffin @ HelpDeskII" <email@hidden>)

  • Prev by Date: Re: scripting Photoshop
  • Next by Date: RE: document list?
  • Previous by thread: "List View" ASIP Please!
  • Next by thread: Re: "List View" ASIP Please!
  • Index(es):
    • Date
    • Thread