Re: When can you use the 'whose' clause (Filter)
Re: When can you use the 'whose' clause (Filter)
- Subject: Re: When can you use the 'whose' clause (Filter)
- From: Philip Aker <email@hidden>
- Date: Fri, 11 Apr 2008 14:35:08 -0700
On 08-04-11, at 14:24, Michelle Steiner wrote: On Apr 11, 2008, at 2:10 PM, Philip Aker quoted me:
tell application "Xcode" set theProject to project 1 set theTarget to target 1 of theProject tell theTarget set aBC to build configurations whose name is "Release" end tell end tell
Simplifying it a bit:
tell application "Xcode" tell target 1 of project 1 to set aBC to build configurations whose name is "Release" end tell
Or to save a further 4 characters:
tell application "Xcode" set cfgs to build configurations of target 1 of project 1 whose name is "Release" end tell
Philip Aker |
_______________________________________________
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