• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: key binding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: key binding


  • Subject: Re: key binding
  • From: Daniel Jalkut <email@hidden>
  • Date: Fri, 10 Jun 2005 08:17:47 -0700

On Jun 10, 2005, at 3:25 AM, Matei Stroila wrote:

Can I set the active target using only the keyboard? I have several targets and it would be nice to be able to set the active one by scrolling through them from the keyboard.

I would use an AppleScript with a keyboard shortcut for stuff like this.  For example, to set the active target:

ChangeToTargetNamed("MyFunTarget")

on ChangeToTargetNamed(newName)
    tell application "Xcode"
        set myProj to (project of document 1)
        set active target of myProj to target newName of myProj
    end tell
end ChangeToTargetNamed

You could set this up as an Xcode script via osascript, or use a dedicated utility like my own FastScripts for assigning scripts to hotkeys.

Same question for the build style and for the file in the editor window (is it possible to go back and forth using only the keyboard, no mouse?).

If you don't know about the cmd-option-left/right-arrow key bindings, those are very handy for navigating front/back in any editor window.

Daniel

 _______________________________________________
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

References: 
 >key binding (From: Matei Stroila <email@hidden>)

  • Prev by Date: Re: Pascal app in Xcode Universal Binary?
  • Next by Date: Re: SSE3 intrinsics support.
  • Previous by thread: key binding
  • Next by thread: Debugging Unit Tests
  • Index(es):
    • Date
    • Thread