opening the folders in window 1
opening the folders in window 1
- Subject: opening the folders in window 1
- From: Robert Poland <email@hidden>
- Date: Fri, 13 Jan 2006 10:30:38 -0700
Hi,
I'm trying to create a script that will walk through a folder and
reset the view options of all of the folders in it.
I start with a folder open as window 1. I have a script that will
reset the view options. But the hang-up is opening the folders in
window 1.
Apparently I need a "path to" (or) for the currentItem below.
Clues would be appreciated,
tell application "Finder"
activate
if exists Finder window 1 then -- make sure there is a window to toggle
set wdwName to name of window 1
set wdw to Finder window 1
else
return
end if
tell wdw
set x to name of every folder of wdw
repeat with i from 1 to length of x
set currentItem to (item i of x)
open currentItem -- as new window 1
-- run script "iMac
HD:Library:Scripts:Universal Scripts:setToListView"
end repeat
end tell
end tell
--
Bob Poland - Fort Collins, CO
http://www.ibrb.org/
_______________________________________________
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