• 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: Photo List - again
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Photo List - again


  • Subject: Re: Photo List - again
  • From: Michelle Steiner <email@hidden>
  • Date: Thu, 6 Sep 2001 07:42:33 -0700

On 9/6/01 7:19 AM, email@hidden <email@hidden> wrote:

>All of the photos have different names and numbers, so making a list of the
>thousands of names inside the script would not be practical. Somehow the
>script must pick up the first name of the photo (variable in length), and
>move it to the end of the line.

I used a list just for the example, not as an actual solution.

Instead of stepping through a list, you step through the contents of the
folder.

tell application "Finder"
set foo to (item 1 of the selection) as alias
repeat with bar from 1 to (count of files in foo)
set the filename to the name of file bar of foo
--use the code already provided
end repeat
end tell

--Michelle

----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------


  • Prev by Date: OSAX for mouse click?
  • Next by Date: Re: Photo List - again
  • Previous by thread: Re: Photo List - again
  • Next by thread: Re: Photo List - again
  • Index(es):
    • Date
    • Thread