Need to add keyboard shortcuts to Scenes
-
@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#onReturnThen use the input to determine what scene to activate: http://code.google.com/apis/sketchup/docs/ourdoc/pages.html#selected_page=
-
@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.
-
Thx for the links. I'll mess around with it.
-
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...
-
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.
-
Unfortunately that won't work for what we are doing. We are doing fly throughs, not just images.
-
@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.
-
No, he [originally] said he wanted to disable the mouse and not show any of the menus etc... and 'play animations' to boot...
-
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 !
-
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.
-
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... -
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.
-
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 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.
-
But if you are 'running Sketchup' it must be running on a PC [even if you can't see it] and thereby you can have access to it through that.
As far as I know you can't run a SKP inside another application.
If your presentation is mutli-screen etc then it's still Sketchup at the base level -
He never said he was running SU inside another application - that was your words.
He said:
@unknownuser said:
Because Sketchup will be run through another presentation software package,
Which I read as an application that controls SU - something that hides the UI elements and ensure that only the viewport is visible.
-
And my impression is that they already have this software package - they just needed the keyboard shortcut controller for the scenes...
-
You are correct TIG. The person at the master computer isn't the person with the problem. It's the person or person's standing in the environment or 2 states away that have no UI but they still need to operate the scenes from within the environment. They have a mini keyboard. We just want to hotkey the scenes so they can manipulate them with that keyboard.
-
@thomthom said:
And my impression is that they already have this software package - they just needed the keyboard shortcut controller for the scenes...
This is correct.
Advertisement