Renaming a file...
Renaming a file...
- Subject: Renaming a file...
- From: Monsoft <email@hidden>
- Date: Fri, 17 May 2002 11:02:28 +0200
Hi,
Beginning to evaluate Applescript with MacOS X 10.1.4:
I have to duplicate a file in another folder and change his name. Simple.
tell application "Finder"
set myDuplicateFile to duplicate file myFile to folder myFolder
-- work fine
set the name of the file myDuplicateFile to myNewName
-- I'm enable to rename the file!
end tell
Got a -10001 error "a descriptor type mismatch occured".
The same script worked fine under MasOS 9
What's wrong?
Laurent Wallard
__________________Oooo._________
oooO ( )
( ) ) /
\ ( (_/
\_)
_______________________________________________
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.