Re: Binding key to "stop debugging" only?
Re: Binding key to "stop debugging" only?
- Subject: Re: Binding key to "stop debugging" only?
- From: email@hidden (Stefan Haller)
- Date: Thu, 15 Jun 2006 11:58:39 +0200
- Organization: Ableton
Rick Mann <email@hidden> wrote:
> I want to bind ^K to "Kill target". I don't want it to then change to
> be "debug executable" after the target is dead. Is there a way to do
> this?
I solved this with an AppleScript:
try
tell application "System Events"
tell process "Xcode"
tell menu bar 1
tell menu bar item "Debug"
tell menu 1
click menu item "Stop Debugger"
end tell
end tell
end tell
end tell
end tell
end try
I use Butler (http://www.petermaurer.de/butler/) to execute this script
when Ctrl-K is hit while Xcode is the active application.
(You must enable access for assistive devices in System preferences for
this to work.)
--
Stefan Haller
Ableton
http://www.ableton.com/
_______________________________________________
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