Can't re-name file with time stamp
Can't re-name file with time stamp
- Subject: Can't re-name file with time stamp
- From: Graham Fielder <email@hidden>
- Date: Wed, 20 Feb 2002 16:14:30 -0500
I have a simple script in which I want to replace the name of a file with a
Time stamp.
tell application "Finder"
display dialog " Time " & the time string of (the current date)
set name of "TEST" to " Time " & the time string of (the current date)
end tell
The time dialog is displayed correctly but I get an error message saying :-
"Can't set name of "TEST " to "Time 21:04:20.".
What am I doing wrong?. (Using OS 9.2.2/AS 1.7)
_______________________________________________
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.