RE: Renaming a folder
RE: Renaming a folder
- Subject: RE: Renaming a folder
- From: vectormation <email@hidden>
- Date: Mon, 8 Oct 2001 15:02:41 -0400
That will still be too long... under pre -X OS's anyway :
"Monday, October 8, 2001 03:05:02 PM"
A second problem would be the colons (":") - illegal in Mac file paths...
You will want to do something like the following :
set temp to current date
set myStr to ((year of temp) as string) & [continuation]
" " & ((month of temp) as string) & [continuation]
" " & ((day of temp) as string)
~Phi
>
What about trying (current date) as string ??
>
- Zav
>
Aspiring newbie.
>
>
-----Original Message-----
>
From: Craig Walsh [mailto:email@hidden]
>
Sent: Thursday, October 04, 2001 9:05 PM
>
To: email@hidden
>
Subject: Renaming a folder
>
>
>
Hi All,
>
I was just wondering if anyone knows how to rename a folder to
>
the current date of the machine.
>
>
I try (current date) and it simply returns cannot put that data into the
>
expected type!!!
>
>
Any help would be greatly appreciated....
>
>
Cheers
>
craig
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users