Part of the Samples Website. 8/16/97.

samples.basicStuff.viewSubsByName

«Loops over a folder, changing all sub-folders to view-by-name
«you could change it to view by icon, or small icon, etc.
on doFolder (folder)
local (f)
Finder.changeView (folder, Finder.view.byDate)
Finder.close (folder)
fileloop (f in folder)
if file.isFolder (f)
doFolder (f)
local (folder)
if file.getFolderDialog ("Choose a folder", @folder)
doFolder (folder)


This page was last built on Sat, Aug 16, 1997 at 6:41:50 PM. You can download the current set of sample scripts from our FTP site. Dave