Re: Is there an XCode Apple Event for New Project...?
Re: Is there an XCode Apple Event for New Project...?
- Subject: Re: Is there an XCode Apple Event for New Project...?
- From: Rick Ballard <email@hidden>
- Date: Thu, 22 Sep 2005 20:26:12 -0700
On Sep 22, 2005, at 6:46 PM, P Teeson wrote:
Tiger 4.2 and XCode 2.2
I'm trying to develop an AppleScript Action for use in an Automator
workflow.
But I'm new to AppleScript so please bear with me please.
I've looked in the dictionary for XCode and I don't see a command
for "New Project...".
What I want to do is what I would do if I was manually driving -
namely select "New Project..." from the File menu. But I can't get
it to work.
Is that because there is no such command?
Or (more likely) because of my lack of know how?
Unfortunately there is currently no way use Xcode's "New Project..."
command from applescript. Until this is fixed, the recommended
workaround is to create a project by hand and save it somewhere as
your new project template, then script the Finder to copy and rename
that project when you want to create a new project via applescript.
You should be able to set the project up from there with applescript.
The ability to add new targets (and use the same target templates you
can choose from with the "New Target..." menu item) was added in
Xcode 2.1.
This is not nearly as convenient as applescript support for "New
Project...", but it should allow you to accomplish the same thing
until this bug is fixed.
- Rick
_______________________________________________
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