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: Skeeve <email@hidden>
- Date: Thu, 06 Dec 2007 23:16:53 +0100
Luther Fuller wrote:
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;
Which requires that there isn't already a file by that name!
The only way would be:
* Create a temporary folder with some unique name
* Duplicate into this folder
* Move to the destination
* Delete the temporary folder
But wait!
Finder CAN NOT DELETE! (Or am I missing something?) It can move to trash
but then it's still there and filling other people's garbage isn't nice.
But emptying the trash isn't nice either.
So the only reliable way ist to use "do shell script". But sometimes I
have the feeling that "do shell script" isn't the safest thing to do.
What about defectt paths? What about tools not being where you expect them?
_______________________________________________
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