target duplication with AppleScript
target duplication with AppleScript
- Subject: target duplication with AppleScript
- From: Dmitry Markman <email@hidden>
- Date: Sat, 23 May 2009 21:05:27 -0400
Hi I have a problem with target duplication via Applescript here is what I do
tell application "Xcode" set my_project to project of active project document set ts to targets of my_project set my_target to item 1 of ts tell my_project duplicate my_target -- duplicate target my_target end tell end tell
duplicate my_target doesn't work with an error "Xcode got an error: AppleEvent handler failed." duplicate target my_target doesn't work with an error "Xcode got an error: Can’t make target id \"DA3235600FC725BF00859B5D\" of project \"TestProject\" into type integer."
thanks
|
_______________________________________________
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