Re: what is error -1753?
Re: what is error -1753?
- Subject: Re: what is error -1753?
- From: Graff <email@hidden>
- Date: Sat, 24 Jan 2004 14:54:31 -0500
Hmm that script works fine for me. Maybe you don't have read
permission on the file you are copying or write permission at the place
you are putting the file?
- Ken
On Jan 24, 2004, at 2:28 AM, Donald Hall wrote:
I am trying to use the Finder duplicate command, but I keep getting an
error:
Finder got an error: Script error.
Error Number -1753"
Can anyone tell me what this might mean? I was sure I had it working
earlier.
My script looks something like:
-----------------------------------------------------
set sourceFile to (choose file with prompt "Choose file to duplicate")
set targetFolder to (choose folder with prompt "Choose target folder")
try
tell application "Finder"
set sourceFileName to name of sourceFile as text
set backupFile to duplicate sourceFile to targetFolder with
replacing --<-- fails here
end tell
display dialog "Duplication of " & sourceFileName & " was successful"
on error errMsg number errNum
display dialog errMsg & return & "Error Number " & errNum
end try
------------------------------------------------------
_______________________________________________
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.