• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Shortcuts and keys in rubys collide

Scheduled Pinned Locked Moved Developers' Forum
9 Posts 5 Posters 540 Views 5 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    Pixero
    last edited by 14 Sept 2008, 19:30

    Is there a way of having your own set of keys while in a ruby, and having the same shortcuts keys "deactivated" while that ruby is active" so they don't collide? I hope I make myself clear. 😕 I'm running out of free keys!

    1 Reply Last reply Reply Quote 0
    • J Offline
      Jim
      last edited by 14 Sept 2008, 20:55

      You are being clear, but I haven't found a way to suspend the shortcuts for any Tool I have written.

      Hi

      1 Reply Last reply Reply Quote 0
      • A Offline
        AdamB
        last edited by 15 Sept 2008, 07:28

        Why don't you plug in another keyboard and double the number of keys.

        Developer of LightUp Click for website

        1 Reply Last reply Reply Quote 0
        • P Offline
          Pixero
          last edited by 15 Sept 2008, 10:51

          @adamb said:

          Why don't you plug in another keyboard and double the number of keys.

          🤣

          Seriously, could it be done through the SDK with some sort of connection so that it could be used in rubys?

          1 Reply Last reply Reply Quote 0
          • T Offline
            tbd
            last edited by 15 Sept 2008, 11:16

            no.

            if you use too many keys than something is wrong with the design. try adding a UI (SU users are more visual), use multiple keyboard press (1st M press enter menu, 2nd M press move, ...)

            SketchUp Ruby Consultant | Podium 1.x developer
            http://plugins.ro

            1 Reply Last reply Reply Quote 0
            • P Offline
              Pixero
              last edited by 15 Sept 2008, 12:14

              What I'm after is a way of moving the camera in a game like way with the w,a,s,d keys.
              I could use the arrow keys but adding extra keys for elevation and such wouldnt be as easy.

              1 Reply Last reply Reply Quote 0
              • T Offline
                tbd
                last edited by 15 Sept 2008, 12:25

                how about using Control as modifier ?

                SketchUp Ruby Consultant | Podium 1.x developer
                http://plugins.ro

                1 Reply Last reply Reply Quote 0
                • P Offline
                  Pixero
                  last edited by 15 Sept 2008, 12:38

                  @unknownuser said:

                  how about using Control as modifier ?

                  Would "Caps Lock" work as a modifier?
                  Or would the "standard" shortcut keys still be enabled?

                  Or would it be possible using a keydown on Ctrl but no keyup in script?

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    RickW
                    last edited by 15 Sept 2008, 15:57

                    You could capture keystrokes in a modal webDialog - this will override any SU keyboard shortcuts - but beware irritating users who are used to using a shortcut for "select" that effectively cancels any active tool. Either query the shortcut list for the "select" shortcut and use it to cancel your modal webDialog, or create a really obvious "cancel" button or key.

                    RickW
                    [www.smustard.com](http://www.smustard.com)

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    1 / 1
                    • First post
                      9/9
                      Last post
                    Buy SketchPlus
                    Buy SUbD
                    Buy WrapR
                    Buy eBook
                    Buy Modelur
                    Buy Vertex Tools
                    Buy SketchCuisine
                    Buy FormFonts

                    Advertisement