e: Removing items from a project using AppleScript
e: Removing items from a project using AppleScript
- Subject: e: Removing items from a project using AppleScript
- From: "Jim O'Connor" <email@hidden>
- Date: Thu, 22 Jun 2006 12:55:11 -0500
Date: Wed, 21 Jun 2006 09:42:18 -0700
From: Gouri Jonnalagadda <email@hidden>
Subject: Re: Removing items from a project using AppleScript
To: "Jim O'Connor" <email@hidden>
Cc: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset="us-ascii"
Some thing like this should get you started:
tell application "Xcode"
tell project 1
delete file reference "main.c" of group "Sources"
end tell
end tell
Gouri
Exactly what I needed, Gouri. Thank you very much.
Do you have some example for removing file groupings? I've tried
several different methods.
Also, some sample AppleScripts with XCode to do this sort of thing
would be really handy. I AppleScript just often enough to remind
myself that I'm really not proficient in it.
Thanks,
Jim
_______________________________________________
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