• 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
Re: View every folder of a folder by name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: View every folder of a folder by name


  • Subject: Re: View every folder of a folder by name
  • From: Deivy Petrescu <email@hidden>
  • Date: Tue, 17 Jul 2001 17:29:51 -0400

At 3:42 PM +0200 7/17/01, Olivier Berquin wrote:
Hi all,

I would like to view every folder of a folder by name

I write this, but... must I open every folder

Any idea ?

Olivier.

I think you must open every folder and the set view. Tried everything, the Finder does not complain but it does not set the view as well
The following script works, it walks thru all the folders and subfolders of a given folder.

___<script>
tell application "Finder"
set FolderToClean to choose folder
my ViewName(FolderToClean)
end tell

on ViewName(thisFolder)
tell application "Finder"
set thisFolder to contents of (thisFolder)
open thisFolder
set view of container window of thisFolder to name -- container window of
close thisFolder
set lista to every folder of thisFolder
repeat with itm in lista
my ViewName(itm)
end repeat
end tell
end ViewName
___</script>

Deivy Petrescu
http://www.dicas.com


References: 
 >View every folder of a folder by name (From: Olivier Berquin <email@hidden>)

  • Prev by Date: Re: TableSearchServices
  • Next by Date: Unmounting a Server Disk
  • Previous by thread: Re: View every folder of a folder by name
  • Next by thread: Re: View every folder of a folder by name
  • Index(es):
    • Date
    • Thread