• 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
Re: applescript question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: applescript question


  • Subject: Re: applescript question
  • From: Dmitry Markman <email@hidden>
  • Date: Thu, 21 Feb 2008 19:38:51 -0500

thank you very much for your answer

in general it would be very useful
if somebody will explain

when it is appropriate to use direct expression like
add modver_file to (compile sources phase of module_target)
and when we should  split it in two statements

it is one of the biggest confusion (at least for me) of the AppleScript language

I'll follow your advice and will ask somebody from the AppleScript list


thanks



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: Re: applescript question
  • Next by Date: Multiple processor, Xcode 3.0 race condition when building Derived Sources?
  • Previous by thread: Re: applescript question
  • Next by thread: OT: Re: applescript question
  • Index(es):
    • Date
    • Thread