How can I set the active executable with AppleScript?
How can I set the active executable with AppleScript?
- Subject: How can I set the active executable with AppleScript?
- From: Robert Purves <email@hidden>
- Date: Wed, 13 Feb 2008 22:19:00 +1300
I am using the technique described here
<http://developer.apple.com/documentation/DeveloperTools/Conceptual/XcodeUserGuide/Contents/Resources/en.lproj/06_02_db_set_up_debug/chapter_42_section_6.html
>
to debug numerous arbitrary applications in Xcode.
The technique works well, but it is laborious to set the active
executable manually.
This attempt to automate the setup with AppleScript
tell application "Xcode"
open "/path/to/DebugDummy.xcodeproj"
set active executable to "/path/to/MyTest.app"
debug
end tell
gives: Xcode got an error: Can’t set active executable to "/path/to/
MyTest.app".
[In the real script, /path/to/MyTest.app is of course replaced by a
genuine path].
How can I set the active executable with AppleScript?
Robert P.
_______________________________________________
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