Re: Avoiding repetition
Re: Avoiding repetition
- Subject: Re: Avoiding repetition
- From: David Andrews <email@hidden>
- Date: Fri, 16 Jul 2004 22:44:33 -0400
On Jul 16, 2004, at 7:17 AM, Nigel Smith wrote:
On 7/15/04 12:14 PM, "Bernard Azancot" <email@hidden> wrote:
till another basic newbie question:
The following script has no problem. I just would like to know if it
is
possible to improve its "coding style" .
It might make things more obvious (especially in the Finder!) if your
backups went to folders called "Monday", Tuesday", etc, rather than
"A","B",...
Then you could (pseudocode):
action to folder ("path:to:parent:" & myDay)
No loop required.
...
I like this idea, now if myDay is always current date, we have:
action to folder ("path:to:parent:" & word 1 of (now as string))
_______________________________________________
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.