• 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: avoiding repetition
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: avoiding repetition


  • Subject: Re: avoiding repetition
  • From: Walter Ian Kaye <email@hidden>
  • Date: Mon, 19 Jul 2004 14:36:55 -0700

At 02:11p +0200 07/19/2004, Bernard Azancot didst inscribe upon an electronic papyrus:

Le 19 juil. 04, ` 07:00, email@hidden a icrit :

If I write:

--
duplicate {FolderA, FolderB} to FolderC with replacing
--

The 1st folder: FolderA is the only one to be copied

I am obliged to write instead:
--
duplicate FolderA to FolderC with replacing
duplicate FolderB to FolderC with replacing
--

Is it a known bug or an unknown from me, AS "feature"?

I think this is a relatively recent bug, where the replacing parameter
only works when a single entity is involved.

I haven't tried, but what if you make the destination a list as well?


-boo

You mean:
--
set mylist to (FolderA, FolderB)
duplicate mylist to FolderC with replacing
--
?

No; what you typed there looks like a syntax error anyway. ;)
I meant this:

duplicate {FolderA, FolderB} to {FolderC, FolderC} with replacing

My reasoning is based on how we set variables in lists:

set {foo, bar} to {1, 2}


-boo
_______________________________________________
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.


References: 
 >Re: avoiding repetition (From: Bernard Azancot <email@hidden>)

  • Prev by Date: Re: Smile quirks
  • Next by Date: Re: convert hex colour to RGB values
  • Previous by thread: Re: avoiding repetition
  • Next by thread: Re: avoiding repetition
  • Index(es):
    • Date
    • Thread