Re: apply the same property to a number of items
Re: apply the same property to a number of items
- Subject: Re: apply the same property to a number of items
- From: Jean-Christophe Helary <email@hidden>
- Date: Wed, 23 Feb 2011 00:04:40 +0900
Ok, I had memories of what "apply" does in Common Lisp and since Wikipedia has an article on that I thought I'd share:
http://en.wikipedia.org/wiki/Apply
So, an Applescript-like syntax would be:
apply (set label index of item to 6) to {folder1, folder2, ...}
Is something approaching that structure possible ? Or do I have to use a loop ?
Jean-Christophe Helary
>> I'd like to apply the "label index" property to n folders without using a
>> loop.
>>
>> I was thinking of something like:
>>
>> set label index of all items of {..., ..., ...} to 6
>>
>> but it does not seem to work... It there an elegant way to do that ?
>>
>>
>>
>> Jean-Christophe Helary
>> ----------------------------------------
>> fun: http://mac4translators.blogspot.com
>> work: http://www.doublet.jp (ja/en > fr)
>> tweets: http://twitter.com/brandelune
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden