Re: Not far from Eden
Re: Not far from Eden
- Subject: Re: Not far from Eden
- From: Matthew Smith <email@hidden>
- Date: Mon, 19 Jul 2004 22:13:55 +1000
on 19/07/2004 22:03, Bernard Azancot at email@hidden wrote:
>
I have a problem with the following code line:
>
--
>
set MyBU to folder ("Disk:FolderA:" & word 1 of ((current date) as
>
string) & "FolderB:")
>
--
>
--> set MyBU to folder ("Disk:FolderA:MondayFolderB:")
>
>
I would like:
>
--> set MyBU to folder ("Disk:FolderA:Monday:FolderB:")
>
>
I have tried without success:
>
--
>
set MyBU to folder ("Disk:FolderA:" & word 1 of ((current date) as
>
string): "FolderB:")
>
--
>
>
How would you write it ?
I would write it as:
set MyBU to folder ("Disk:FolderA:" & (weekday of (get current date) as
string) & "FolderB:")
But then I am using Mac OS X 10.3.4 and AppleScript 1.9.3.
--
Matthew Smith
_______________________________________________
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.