• 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: Naming Files from List Ref
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Naming Files from List Ref


  • Subject: Re: Naming Files from List Ref
  • From: nellA hciR <email@hidden>
  • Date: Sun, 1 Sep 2002 23:49:38 -0800

this solution works GREAT if you have consecutive id numbers but fails
under the following condition with:

Can't make item 21 of {"Cyan", "Magenta", "red", "Yellow", "Black",
"Pantone072"} into a string.

set originalJobText to "jobname_001.tif
jobname_003.tif
jobname_003.tif
jobname_003.tif
jobname_021.tif
jobname_004.tif
jobname_005.tif"

set colorText to "001_Cyan
002_Magenta
021_red
003_Yellow
004_Black
005_Pantone072"

On Sunday, Sep 1, 2002, at 22:53 America/Anchorage, Paul Berkowitz
wrote:

> set originalJobText to "jobname_001.tif
> jobname_002.tif
> jobname_003.tif
> jobname_004.tif
> jobname_005.tif"
>
>
> set colorText to "001_Cyan
> 002_Magenta
> 003_Yellow
> 004_Black
> 005_Pantone072"
_______________________________________________
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: Naming Files from List Ref
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: Naming Files from List Ref (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Installer script
  • Next by Date: Re: Naming Files from List Ref
  • Previous by thread: Re: Naming Files from List Ref
  • Next by thread: Re: Naming Files from List Ref
  • Index(es):
    • Date
    • Thread