• 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
Copying from one list of files to another
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Copying from one list of files to another


  • Subject: Copying from one list of files to another
  • From: Chad Chelius <email@hidden>
  • Date: Wed, 18 Sep 2002 07:55:19 -0400

I am writing a script where I have two lists of files and want to be able to
copy the actual files in one list to a folder in another list based on the
first six characters of their names. I would envision the script looking
something like this:

tell application "Finder"
repeat with i in List1
copy item i from List1 to folder i in List2 whose name begins with MyVar
end repear
end tell

I just can't seem to get the syntax and/or principle down to make it work

Thanks in advace for your help


--
Chad
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Copying from one list of files to another
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: Re: Every Process on Remote OS X machine
  • Next by Date: Re: Macintosh Scripting
  • Previous by thread: RE: Re: Mount Volume and -1028
  • Next by thread: Re: Copying from one list of files to another
  • Index(es):
    • Date
    • Thread