• Login
sketchucation logo sketchucation
  • Login
๐Ÿค‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Need to add keyboard shortcuts to Scenes

Scheduled Pinned Locked Moved Developers' Forum
35 Posts 8 Posters 6.2k Views
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.
  • D Offline
    Dan Rathbun
    last edited by 5 Jan 2012, 05:10

    IMHO, the only answer viable within 18 days, is to use two (2) computers,
    1 runs the slideshow in the presentation application.
    The other runs Sketchup with your demo model.

    You have a mouse and keyboard for the orator, and the projector hooked to both computers via a 2-port KVM (keyboard-video-mouse) Switch.
    The orator switches his keyboard and mouse (and the projector,) back and forth between the 2 computers as needed throughout the presentation.

    Check out the various 2-port KVM switches available at newegg:
    http://www.newegg.com/Product/ProductList.aspx?Submit=ENE&N=100007790%20600012891&IsNodeId=1&name=2%20Ports
    Bestbuy and TigerDirect have them also.

    For best results run both computer videos at the same vertical refresh rate.

    I'm not here much anymore.

    1 Reply Last reply Reply Quote 0
    • T Offline
      thomthom
      last edited by 5 Jan 2012, 08:54

      Well, adding shortcuts to navigate between scene can be done.

      Either menu items that can be hooked up to shortcuts that will step to the next or previous scene. Or via a tool that triggers the next, previous scene via the arrow keys. As for jumping to specific scenes, this will depend on how many scenes, if it's few scens you could hook up 0 - 9 keys. If thre is more - then I'm not sure - it would depend on how many scenes there is...

      Thomas Thomassen โ€” SketchUp Monkey & Coding addict
      List of my plugins and link to the CookieWare fund

      1 Reply Last reply Reply Quote 0
      • P Offline
        Pixero
        last edited by 5 Jan 2012, 10:33

        Why does it have to be SketchUp?
        We have recently started using 3d PDFs for interactive presentations.
        http://www.simlab-soft.com/3d-plugins/3D-PDF-from-sketchup-main.aspx
        Also good if you don't want the customer to have the actual SU model.

        1 Reply Last reply Reply Quote 0
        • K Offline
          Kesian
          last edited by 5 Jan 2012, 14:37

          All great answers. Thank you. It's exactly what I need and what I expected to send as feedback up the chain. And no, I have some small background with Python but I am no savant LOL.

          We don't need to strip any menu from Sketchup as the presentation software already displays SU full screen with no UI. We are strictly focused on assigning a hotkey per Scene. That is all. If you experts say this cannot be done, it cannot be done. We are stuck with what does work.

          We currently use the page-up and page-down. That works fine, but if we are on Scene 18 and someone in the audience wants to look at Scene 6 and ask a question we'd rather that person able to press a button on their mini-numberpad for scene 6 and go there directly.

          The iPad solution is already on the table for a number of our test cases. I'll be happy if budgeting clears it.

          I can't say more about the presentation software as it is built by another company and is still under NDA. It does work with other platforms and is all kinds of interactive awesome. We are merely using SU for the current test.

          Thank you for all the answers.

          1 Reply Last reply Reply Quote 0
          • T Offline
            thomthom
            last edited by 5 Jan 2012, 14:43

            You can make a tool, that will allow you to type a number then press Enter/Return and it would jump to that scene. That can be done within minutes.

            Thomas Thomassen โ€” SketchUp Monkey & Coding addict
            List of my plugins and link to the CookieWare fund

            1 Reply Last reply Reply Quote 0
            • K Offline
              Kesian
              last edited by 5 Jan 2012, 14:44

              @thomthom said:

              Well, adding shortcuts to navigate between scene can be done.

              Either menu items that can be hooked up to shortcuts that will step to the next or previous scene. Or via a tool that triggers the next, previous scene via the arrow keys. As for jumping to specific scenes, this will depend on how many scenes, if it's few scens you could hook up 0 - 9 keys. If thre is more - then I'm not sure - it would depend on how many scenes there is...

              Right. For larger numbers of scenes we'd have to work in Alt- or cntr- in there. But you are saying it can be done. I just need to figure out where to start hehe. Once I'm going I'll be going.

              1 Reply Last reply Reply Quote 0
              • T Offline
                thomthom
                last edited by 5 Jan 2012, 14:47

                @kesian said:

                @thomthom said:

                Well, adding shortcuts to navigate between scene can be done.

                Either menu items that can be hooked up to shortcuts that will step to the next or previous scene. Or via a tool that triggers the next, previous scene via the arrow keys. As for jumping to specific scenes, this will depend on how many scenes, if it's few scens you could hook up 0 - 9 keys. If thre is more - then I'm not sure - it would depend on how many scenes there is...

                Right. For larger numbers of scenes we'd have to work in Alt- or cntr- in there. But you are saying it can be done. I just need to figure out where to start hehe. Once I'm going I'll be going.

                Better yet to look at my previous response - about using Tools. It's basically only the onReturn method you need to implement:
                http://code.google.com/apis/sketchup/docs/ourdoc/tool.html#onReturn

                Then use the input to determine what scene to activate: http://code.google.com/apis/sketchup/docs/ourdoc/pages.html#selected_page=

                Thomas Thomassen โ€” SketchUp Monkey & Coding addict
                List of my plugins and link to the CookieWare fund

                1 Reply Last reply Reply Quote 0
                • K Offline
                  Kesian
                  last edited by 5 Jan 2012, 14:48

                  @thomthom said:

                  You can make a tool, that will allow you to type a number then press Enter/Return and it would jump to that scene. That can be done within minutes.

                  I mulled that one over yesterday but if the software hides the UI the question is would would involve how to get the window display.

                  1 Reply Last reply Reply Quote 0
                  • K Offline
                    Kesian
                    last edited by 5 Jan 2012, 14:50

                    Thx for the links. I'll mess around with it.

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      TIG Moderator
                      last edited by 5 Jan 2012, 14:51

                      I don't think he can do what he wants inside Sketchup.
                      However, as a set of still images and animations could easily be exported and compiled into an html document [Word is an easy way], with bookmark hyperlinks to each image etc, and with some code editing with Notepad++ to embed the AVIs etc he can have a single document he can 'present'.
                      To jump at random from image to image to video etc the hyperlinks can be to simple #A, #B bookmarks that are accessed using a simple AutoHotKeys ahk script...
                      This zip file contains a very simple example.
                      Extract it to a folder and run my cobbled together AutoHotKey AutoJump.ahk script - if you don't have the AutoHotKey then use the AutoJump.exe compiled version - you can still read the ahk version in Notepad++ to see what it does.
                      Open the SKP.htm file in IE [must be IE as the AutoJump is set to only work in IE].
                      The original SKP v8 is in the folder too.
                      In the browser press 1/2/3/4 to toggle through the Images A/B/C/D - the images are accessible in any order of key press.
                      To see the short AVI Movie press Win+M and play it [it can be set to autostart or not in the html]. To return to the top of the page press Win+Z.
                      Read the Word generated html file in Notepad++ to see the added AVI embedding code not visible in Word.
                      It's very rough and ready, and it needs a lot of refining and trapping etc BUT it works... ๐Ÿ˜ฎ


                      SKP_ie.zip

                      TIG

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        thomthom
                        last edited by 5 Jan 2012, 14:52

                        Are you saying that SU won't be able to get keyboard events?

                        I imagines that the script would activate the tool at startup / model load and just sit there accepting input - changing the scene based on the number entered by the user. Or go to prev / next with the Up / down - Left / right key.

                        Thomas Thomassen โ€” SketchUp Monkey & Coding addict
                        List of my plugins and link to the CookieWare fund

                        1 Reply Last reply Reply Quote 0
                        • K Offline
                          Kesian
                          last edited by 5 Jan 2012, 14:52

                          Unfortunately that won't work for what we are doing. We are doing fly throughs, not just images.

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            thomthom
                            last edited by 5 Jan 2012, 14:53

                            @tig said:

                            I don't think he can do what he wants inside Sketchup.

                            Navigate between scenes with the keyboard? From what I gather that's all he's asking for - which should not be a big deal.

                            Thomas Thomassen โ€” SketchUp Monkey & Coding addict
                            List of my plugins and link to the CookieWare fund

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              TIG Moderator
                              last edited by 5 Jan 2012, 14:55

                              No, he [originally] said he wanted to disable the mouse and not show any of the menus etc... and 'play animations' to boot...

                              TIG

                              1 Reply Last reply Reply Quote 0
                              • T Offline
                                TIG Moderator
                                last edited by 5 Jan 2012, 14:57

                                He can only have a set of premade movies but doing an interactive, off the cuff flythrough without a lot of experience / skill would be near fatal !

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • K Offline
                                  Kesian
                                  last edited by 5 Jan 2012, 14:57

                                  No, I said "Because Sketchup will be run through another presentation software package, the user will not have access to menu or mouse click."

                                  We aren't trying to disable anything. Just add scene functionality.

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    TIG Moderator
                                    last edited by 5 Jan 2012, 14:59

                                    The advantage of an html based solution is that pages of text, photos etc etc can also be inserted and accessed from hot-keys too...
                                    He needs a multimedia solution, not a bodged SKP navigation fix up...

                                    TIG

                                    1 Reply Last reply Reply Quote 0
                                    • K Offline
                                      Kesian
                                      last edited by 5 Jan 2012, 15:03

                                      Anyway. Big thanks to everyone. Problem solved. Based on all the answers the Boss found another solution and told his bosses that things are just what they are. As you said Thom, it took him a matter of minutes. LOL.

                                      1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        TIG Moderator
                                        last edited by 5 Jan 2012, 15:03

                                        You can't run a SKP through another app.
                                        You are limited to the contents of the SKP in the presentation, IF you use the SKP.
                                        Your boss better be very familiar with the project and the SKP setup, etc if he's doing this on the fly... embarrassing to bump into walls and accidentally select something etc as you present!
                                        I think a multimedia solution made from images/movies exported from SKPs, plus text and photos etc would appear more professional, and hot-keys can easily navigate around the html document as my simple example shows...

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • K Offline
                                          Kesian
                                          last edited by 5 Jan 2012, 15:09

                                          @tig said:

                                          The advantage of an html based solution is that pages of text, photos etc etc can also be inserted and accessed from hot-keys too...
                                          He needs a multimedia solution, not a bodged SKP navigation fix up...

                                          TIG it's no trouble. I see what you are getting at and I am crippled by the fact that I can't show you what we are actually doing so that you understand. I don't think assigning hotkeys in SU is a bodged fix up in this scenario.

                                          Yes we are running SU through other software. That is exactly what we are doing. I am now cleared to tell you that what we are doing is channeling SU in an immersive multi-wall, multi-monitor 3D environment. So SU's functionality is there, we just can't see the UI.

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

                                          Advertisement