Re: Avoiding repetition
Re: Avoiding repetition
- Subject: Re: Avoiding repetition
- From: Axel Luttgens <email@hidden>
- Date: Thu, 15 Jul 2004 23:35:28 +0200
Bernard Azancot wrote:
[...]
Is there a way to avoid repeating 7 times the same boring code lines
with 2 bound variables (day and folder) ?
A rather convoluted (and restricted, and rather inefficient) way to do it:
set myday to (Tuesday as string)
action to folder (run script myday & " of {Monday:\"A\",
Tuesday:\"B\", ..., Sunday:\"G\"}")
Hmmm...
Axel
_______________________________________________
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.