How do I create a simple script for XCode?
How do I create a simple script for XCode?
- Subject: How do I create a simple script for XCode?
- From: Mike Lazear <email@hidden>
- Date: Mon, 9 Feb 2004 17:20:47 -0800
I've spent the day trying to figure this out but never did.
I would like to create a very simple Xcode script that does about 10
finds in a row. Xcode dies about 4-5 times a day on me, which means I
have to recreate the handful of finds that I did on my code to help
with our conversion work. I would like to set up a simple script that
I could run that would run the find command for different commands.
This has value for me even if Xcode gets fixed so it doesn't die so
often.
For example: I'm looking at the possibility of converting from
Quickdraw to Quartz. So I want to find the places in my program where
I use Quickdraw commands. So I'm trying to make up a script that will
find: MoveTo, LineTo, SetPort, GetPort.... in my code. As I change
the code I can then run the script again to see how I'm doing.
I've looked at the UNIX scripting and also the AppleScripting. I've
loaded some AppleScripts and did a Build but they don't seem to create
any kind of Executable so I'm not sure how you get it installed with
Xcode. I've also read thru the documentation about Customizing Xcode.
Some of these questions may be better for the AppleScript list but
since I'm trying to modify Xcode I thought I would try here first:
Which is the right scripting language, AppleScript or UNIX scripts, for
just doing something simple like a handful of finds?
If I use Xcode to build an AppleScript what is suppose to be created
(executable?) and what do I do with it to make it modify Xcode menus?
Does anyone know the right commands for doing:
Find MoveTo
Find LineTo
...
I just want it to do a regular search thru all files in the project
(command-shift-F)
I appreciate all suggestions.
Thanks,
Mike
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.