Re: e: Removing items from a project using AppleScript
Re: e: Removing items from a project using AppleScript
- Subject: Re: e: Removing items from a project using AppleScript
- From: Gouri Jonnalagadda <email@hidden>
- Date: Thu, 22 Jun 2006 13:02:06 -0700
tell application "Xcode"
delete group "Sources" of root group of project 1
end tell
On Jun 22, 2006, at 10:55 AM, Jim O'Connor wrote: Date: Wed, 21 Jun 2006 09:42:18 -0700 Subject: Re: Removing items from a project using AppleScript 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