Hi everybody in this forum,
I am trying to control XCode via a small AppleScript. But it does not work well and now I wonder if the problem's just that I am too stupid or if it is maybe buggy or ...?
The following piece of code works as expected (XCode builds the frontmost open project and the script exits):
tell application "Xcode"
build
end tell
However, this does not (XCode builds the frontmost open project and starts the debugger, debugger runs through, but XCode never returns anything to my script so that it never exits):
tell application "Xcode"
build
debug
end tell
Any ideas would be very appreciated. Maybe there is something like the "&" in the terminal for applescript?
I am using Tiger 10.4.8. and XCode 2.4 on an iBook G4 / 2005.
I am trying to control XCode via a small AppleScript. But it does not work well and now I wonder if the problem's just that I am too stupid or if it is maybe buggy or ...?
The following piece of code works as expected (XCode builds the frontmost open project and the script exits):
tell application "Xcode"
build
end tell
However, this does not (XCode builds the frontmost open project and starts the debugger, debugger runs through, but XCode never returns anything to my script so that it never exits):
tell application "Xcode"
build
debug
end tell
Any ideas would be very appreciated. Maybe there is something like the "&" in the terminal for applescript?
I am using Tiger 10.4.8. and XCode 2.4 on an iBook G4 / 2005.