Re: Finder inconsistency (Was: What makes AppleScript difficult)
Re: Finder inconsistency (Was: What makes AppleScript difficult)
- Subject: Re: Finder inconsistency (Was: What makes AppleScript difficult)
- From: Luther Fuller <email@hidden>
- Date: Thu, 6 Dec 2007 12:12:16 -0600
I've run into this too. Adding "with properties" to "duplicate" is a
necessity.
A work around, that I haven't tried, would be to: 'duplicate' to the
"TemporaryItems" folder; change the name or other properties of this
temporary item; 'duplicate' this temporary item to the final
destination; then remove the temporary item.
On Dec 6, 2007, at 10:14 AM, Skeeve wrote:
One more thing that I rememberd when this thread popped up:
The Standard form for "duplicate" allowas a "with properties".
Finder doesn't.
Finder allows ist for "make".
This is a big hinderance.
In one of my projects I needed to copy a file under a different
name to harddisk. But it may not appear under the original name in
the target directory and it may not appear under the target name in
the original directory. So renaming before or after copying is not
an option. It has to be copied and renamed in one step:
duplicate original to targetdir replacing yes with properties
{ name : "targetName" }
would be a proper command, but it doesn't work.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden