Hi Paul, I have set some scripting stuff up for the next beta that will now allow for zooming and panning by shortcut keys.
The way this version works is it will do it on the viewport the mouse is currently over. If the mouse is not currently over a viewport, it will use the one that last had a click in it, or if there is just one single viewport maximized it will use that one.
Here are the scripts for it (again, this won't work until the _next_ beta):
Key Command
Ctrl+LeftArrow script:moi.ui.getActiveViewport().Pan( -1, 0 );
Ctrl+RightArrow script:moi.ui.getActiveViewport().Pan( 1, 0 );
Ctrl+UpArrow script:moi.ui.getActiveViewport().Pan( 0, 1 );
Ctrl+DownArrow script:moi.ui.getActiveViewport().Pan( 0, -1 );
PageUp script:moi.ui.getActiveViewport().Zoom( 0.9 );
PageDown script:moi.ui.getActiveViewport().Zoom( 1.1 );
That will set up Ctrl+arrow key for panning, and PageUp/PageDown for zooming in or out.
- Michael
|