Re: "List View" ASIP Please!
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