Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: duplicate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: duplicate




On Oct 9, 2006, at 15:10, Adam Bell wrote:

Is this known to be broken?

set n to "someName.txt"
duplicate (choose file) to (choose folder) with properties {name:n}

That snippet won't compile in a Finder block which complains about the "{" but since duplicate is a Standard Editions verb it doesn't need the Finder. As is it hangs in some kind of internal problem without duplicating the file to the chosen folder.

Adam Bell

I often think to myself of how illogical the spoken native English language is. And many times commenting with native English speaking people, they tend to say that there is a rule and an exception to the language, so spoken English is logical after all (it is not!).


I come up with some examples and they, the native English speaking people, come up with a rule and a very weird exception that would explain that pronunciation.

So I was looking for a good word, one that would flaunt my point. Well, this thread suggested the perfect word. Duplicate (how did you pronounced it?).

An AppleScript thread, a point to be made.
Combine them both and how do you check pronunciation ? With "say"!

Open your favorite script editor and type (AS 1.10.7)
'say "duplicate"'

not much there... but  try

'say "to duplicate a duplicate"'

and AS gets it right. It also gets right the following:

'say "a duplicate"'
'say "to duplicate"'

as one could infer.

So, congratulations AS team. You put the logic back into something illogical.
Nicely done.


Deivy

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >duplicate (From: Adam Bell <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.