• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Not far from Eden
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Not far from Eden
      • From: Michelle Steiner <email@hidden>
References: 
 >Not far from Eden (From: Bernard Azancot <email@hidden>)

  • Prev by Date: Re: avoiding repetition
  • Next by Date: Re: Not far from Eden
  • Previous by thread: Not far from Eden
  • Next by thread: Re: Not far from Eden
  • Index(es):
    • Date
    • Thread