We had a thread going a while back about this and the following script has been most helpful:
tell application "Finder" set current view of window 1 to list view set sort column of list view options of window 1 to name column -- modification date column, kind column, label column, size column if sort direction of column name column of list view options ¬ of window 1 is reversed then set sort direction of column name column of list view options ¬ of window 1 to normal else set sort direction of column name column of list view options ¬ of window 1 to normal end if set toolbar visible of Finder window 1 to false set bounds of window 1 to {600, 80, 1200, 1200} end tell
Now to go a bit further...how do I:
1) close all listed folders in that window
and/or
2) only have my wanted folders open
Thanks, Richard
-- This list is a free service of LassoSoft: http://www.LassoSoft.com/ Search the list archives: http://www.ListSearch.com/InDesign/Browse/ Manage your subscription: http://www.ListSearch.com/InDesign/
May 12
Roy McCoy Re: AS: Scripting Finder list views
May 12, 2010; 09:36
Roy McCoy
Re: AS: Scripting Finder list views
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!