Announcement

Collapse
No announcement yet.

Navigator hotkey and user defined button commands

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Navigator hotkey and user defined button commands

    I asked for some info over at the mapfactor forum concerning hotkeys and navigator. This is what I got.

    OK, here is hopefully up-to-date list ... note, that "User buttons" have the same "actions" as hot keys ...

    hotkeys
    ---------
    if you add
    <virtualKeyBinding>
    <vkCode>78</vkCode>
    <action>ToggleNightMode</action>
    </virtualKeyBinding>
    than 'n' will switch night mode on/off.

    The same can be done for other commands



    User defined buttons
    --------------------

    How does it work:
    User defined buttons have same show/hide manners as MENU button. When MENU button is visible user defined buttons are visible as well.

    Settings: similar to user key bindings. Ex.:
    <APP>
    <userDefinedButton>
    <action>FindAndNavigate</action> ... action (same as key binding)
    <icoFileName>c:\test.png</icoFileName> ... icon file path.
    <position>50,150</position> ... screen position (fixed, same for landscape and portrait)
    <appToRun>c:\windows\notepad.exe</appToRun> ... if action = RunUserApplication this holds the app path to run
    </userDefinedButton>
    </APP>

    User defined button size is the same as of +/- buttons, depends on resolution. Icon picture is shrinked when needed.

    Available actions are (same as for key binding):
    ZoomIn
    ZoomOut
    Minimize
    AddFavourite
    MoveLeft
    MoveRight
    MoveUp
    MoveDown
    OpenMainMenu
    ToggleNightMode
    FindAndNavigate
    VehicleSettings
    InternalProfiling
    RunUserApplication
    Last edited by tolisn; 09-11-2012, 10:37 AM.
    The road is long but we are getting there.
Working...
X