Re: Can't re-name file with time stamp
Re: Can't re-name file with time stamp
- Subject: Re: Can't re-name file with time stamp
- From: JollyRoger <email@hidden>
- Date: Wed, 20 Feb 2002 18:37:41 -0600
On 2/20/2002 3:14 PM, "Graham Fielder" <email@hidden> wrote:
>
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)
The colon character ( : ) is used to delimit paths on Mac OS. For example,
the path to the System folder is something like: "Macintosh HD:System
Folder:". Therefore you cannot use that character in file names. You need
to format the text without the colon character.
Note: This issue comes up at least once every couple of months on this list.
Point your web browser to
<
http://www.lists.apple.com/mailman/listinfo/applescript-users> and do a
search for "date" and "time". You should find plenty of example scripts
that will help you get what you want.
HTH
JR
_______________________________________________
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.