• 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
opening the folders in window 1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: opening the folders in window 1
      • From: Daniel Jalkut <email@hidden>
  • Prev by Date: Open Mail Attachments
  • Next by Date: Good news/bad news?
  • Previous by thread: Open Mail Attachments
  • Next by thread: Re: opening the folders in window 1
  • Index(es):
    • Date
    • Thread