How to rename a file?
How to rename a file?
- Subject: How to rename a file?
- From: Mark Dawson <email@hidden>
- Date: Sat, 6 Dec 2003 13:36:58 -0800
How do you rename a file (in my case from a duplication)?
Here's is my code (10.2.8):
duplicate theFile
set theNewFile to the result
set the displayed name of theNewFile to bundleName
I tried both "displayed name" and "name"; I also put in a default name
("temp"); in all cases I get an error, "Can't set file name "x copy" of
folder "xx" to "temp"
Thanks,
Mark
email@hidden
_______________________________________________
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.