Applescript: making many new file references in bulk
Applescript: making many new file references in bulk
- Subject: Applescript: making many new file references in bulk
- From: Dave Dribin <email@hidden>
- Date: Fri, 10 Nov 2006 09:30:56 -0600
Hi all,
I'm attempting to write an AppleScript to keep a Makefile-based
project in sync with an Xcode project. Unfortunately, I need to add
more than 1,000 .c files to a target. I've been playing around with
parsing the Makefile, and generating an Applescript of the form:
tell application "Xcode"
tell project 1
tell group 1
make new file reference with properties {full path:"/tmp/
file1.c", name:"file1.c"}
.
.
.
make new file reference with properties {full path:"/tmp/
file1000.c", name:"file1000.c"}
end tell
end tell
end tell
The problem is making each new file reference individually is quite
slow. Is there any way to create a bunch of file references in bulk
to boost performance?
Thanks,
-Dave
_______________________________________________
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