Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: applescripting xcode (beginner)



You can get the launchable property of an executable to see if it is launchable. If not, you need to build it.

Your command works for me.

Also instead of setting the executable to "executable of myproject)'s item 1" ,
You can always set it like:


set myexec to executable "test" of project 1

Hope that helps,
Gouri




On Oct 5, 2005, at 8:42 AM, Bernard Bernu wrote:

Not yet but closer :
set myexecutable to (executable of myproject)'s item 1 -- I have 2 executables
I got
executable "HartreeFock" of project "HartreeFock" of application "Xcode"


but
launch myexecutable

still does not work !-(

Bernard

Le 5 oct. 05, à 17:31, Daniel Jalkut a écrit :


Sorry I'm on Xcode 2.1. Try being more explicit with the launch. Maybe you can do something like this:

launch active executable of myproject

The ability to "launch" a project as shorthand may be a later convenience.

Daniel

On Oct 5, 2005, at 11:28 AM, Bernard Bernu wrote:


Thanks for responding.

I got the build to work with some changes (I'm running on 10.3.9, Xcode 1.5)

But the launch do not work !-(


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/xcode-users/email@hidden

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: http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >applescripting xcode (beginner) (From: Bernard Bernu <email@hidden>)
 >Re: applescripting xcode (beginner) (From: Daniel Jalkut <email@hidden>)
 >Re: applescripting xcode (beginner) (From: Bernard Bernu <email@hidden>)
 >Re: applescripting xcode (beginner) (From: Daniel Jalkut <email@hidden>)
 >Re: applescripting xcode (beginner) (From: Bernard Bernu <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.