• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
OT: Re: applescript question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >applescript question (From: Dmitry Markman <email@hidden>)
 >Re: applescript question (From: Scott Tooker <email@hidden>)

  • Prev by Date: Multiple processor, Xcode 3.0 race condition when building Derived Sources?
  • Next by Date: Single stepping suddenly stopping in routines with no symbolics
  • Previous by thread: Re: applescript question
  • Next by thread: Debugger has lots its mind
  • Index(es):
    • Date
    • Thread