what is error -1753?
what is error -1753?
- Subject: what is error -1753?
- From: Donald Hall <email@hidden>
- Date: Sat, 24 Jan 2004 00:28:06 -0700
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
------------------------------------------------------
Thanks,
Don
--
Donald S. Hall, Ph.D.
Apps & More Software Design, Inc.
email@hidden
http://www.appsandmore.com
_______________________________________________
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.