OT: Re: applescript question
OT: Re: applescript question
- Subject: OT: Re: applescript question
- From: Dmitry Markman <email@hidden>
- Date: Thu, 21 Feb 2008 22:14:41 -0500
actually I found an answer (p 191 of Matt Neuburg's AppleScript. The
Definitive guide)
the right thing to do is
add modver_file to (get compile sources phase of module_target)
so "get" makes all the difference
thanks and sorry for OT
On Feb 21, 2008, at 7:25 PM, Scott Tooker wrote:
On Feb 21, 2008, at 4:02 PM, Dmitry Markman wrote:
Hi
when I wanted to add the file to the target
I was trying to do the following
add modver_file to (compile sources phase of module_target)
but it didn't work
however, I found in the list archive Scott Tooker's note
set compile_phase to compile sources phase of module_target
add modver_file to compile_phase
and that did work, so now I'm wondering, what's the difference?
Hmm, best I can recall, I had to split up the one line into two to
work around subtle problems that can occur with evaluation of the
AppleScript. In the second case, the explicit assignment to
compile_phase causes the script to be interpreted differently.
However, AFAIK, this isn't unqiue to Xcode. For a more accurate
answer, I'd ask on one of the AppleScript lists.
Scott
thanks
Dmitry Markman
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
Dmitry Markman
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden