Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
MicroStation
  • Product Communities
MicroStation
[Archived] AskInga Wiki All about function keys and function key menus
    • Sign In

    • -AskInga
      • +3D MicroStation
      • +AccuDraw Secrets
      • +Animation - Rendering
      • +Behind The Scenes
      • +Cells
      • +Colours
      • +Conversion - Translation
      • +Coordinate Input
      • +Design Settings
      • +Dimensions
      • +DWG
      • +EDG
      • +Element Manipulation
      • +Element Properties
      • +Element Selection
      • +Freeware - Shareware
      • -Interface Look And Feel
        • Add a line separator in a barmenu
        • Add custom file types to list files of type
        • Add your favorite web-site to the menu bar
        • Adding icons to your tools
        • Adjust the response time for pop-up dialogs to close
        • Adjust width of message center
        • All about function keys and function key menus
        • An introduction to templates, tasks and tools
        • Auto-hide the tools settings when cursor gets too close
        • Auto-restore status bar
        • Barmenu wars - comments from CCM
        • Change how levels are displayed in the attributes dialog
        • Change screens
        • Change system colour for disabled menu item with this macro
        • Change the weight of your V7 element handles
        • Change your task bar icon
        • Create clickable screen menus
        • Create custom icons with ease
        • Customize the width of the level picker
        • Customize where to use position mapping
        • Customizing your mouse buttons
        • Default button and function keys
        • Dialog box IDs
        • Dialog column display
        • Disable auto-highlighting when passing cursor over elements
        • Dock stuff to the left of file in the menu bar
        • Don't show tools you seldom use
        • Easier access to level locks and other stuff
        • ESC to go home
        • Exceed function key character limit
        • Export MicroStations icons from the open DGN library
        • Extract information from dialogs
        • Faster switching between folders
        • File icons in the MicroStation manager
        • Fly with Barmenus - Part 1
        • Fly with Barmenus - Part 2
        • Fly with Barmenus - Part 3
        • Get dialog IDs from an external file
        • Get rid of tool boxes
        • Get to the keyin window faster
        • Give MicroStation an antiqued look
        • How to customize displayed columns in MicroStation manager
        • Importing customization from M01 and STG files
        • Improve on the Dmsg sinkall toggle command
        • Improved dynamics in MicroStation V8.5 will rock you
        • Keyin for the menu bar
        • Keyin for toggling the message center
        • Keyin to toggle dialogs on and off
        • Keyin toggle for the status bar
        • Keyins for the WinOpen Windows file open dialogs
        • Keyins or data point tentative point and reset
        • Keyins to toggle dialogs and toolboxes (pre-V8)
        • Keyins to toggle toolboxes (V8)
        • Left-handers unite change position mapping to your side
        • Load different function key menus
        • Make your toolbox pop up and down
        • Maximize real estate when drawing with ByLevel definitions
        • Maximum number of open GUI items
        • Miss the old main tool frame in MicroStation V8 XM Edition
        • Missing snaps
        • Move the menu bar
        • Navigate through task list quicker
        • Open current task as pop-up under your cursor
        • Open dialogs from primary tools under your cursor
        • Open the main task or toolbox near your cursor
        • Pop-up menu in the models dialog
        • Position mapping continues to work if toolbox is closed
        • Press and hold the reset for pop-up menu
        • Prevent tool boxes from changing orientation when moving
        • Prompts too long
        • Put the focus in the tool settings dialog
        • Put the focus into the tool settings window when a tool is selected
        • Quick select with position mapping
        • Quickly change screens on dialogs
        • Remove open URL from file menu
        • Remove send from the file menu
        • Remove send viecon plot from the file menu
        • Reorder the task list
        • Restore deleted menu items in MicroStation V8 XM Edition
        • Restore menu bar customizations
        • Right click menu in the tool settings box
        • Save your messages
        • Set the pointer circle to a different colour
        • Sidebar Menus
        • Small triangles mysteriously showing up in your views
        • Stuck dialogs
        • Swap user interfaces on the fly
        • Tips for Barmenus
        • Toggle the display of the ACS triad
        • Transparent dialogs
        • Turn on-off positional mapping aids
        • Unwanted datapoints
        • Use shift to activate representative or previous tool
        • Useful DMSG keyins
        • Using a tablet take a peek at the new V8.5 menu
        • Using Named Expressions to drive interface items – A sample
        • Using WinOpen to change MicroStation's dialogs
        • Utilize the space beside the menu bar to dock tool boxes
      • +Internet - E-Links - Links
      • +Keyins
      • +Levels
      • +Line Styles
      • +Models
      • +MSM Archive
      • +Other
      • +Presentations
      • +Printing - Plotting
      • +Programming - Automation
      • +Rasters - Images
      • +References
      • +Tags - Data Fields - Fields
      • +Text - Fonts - Annotation
      • +Views
      • +Windows - Interacting With
      • +Workspaces - Configuration
    • graffiti

     
     Questions about this article, topic, or product? Click here. 

    All about function keys and function key menus

    AskInga logo

    Original Article Date: July 7, 2004 

    Ever tried to figure out the syntax of a Function Key Menu file? Or how you can exceed the character limit? If so, then take a peek at this article authored by Jeffrey Malter. It's quite interesting....
    2004-07-07 Original posting date.
    2005-12-01 Added reference table showing all code combinations.

    MicroStation includes a nifty dialog to edit function key menus that can be accessed via Workspace > Function Keys. Although this works just fine, it’s sometimes more convenient to edit your function key menu file is a text based editor. This is especially true if your keyins exceed the number of characters allowed in the Edit Key Definition dialog.

    Editing the menu file directly requires and understanding of the hexadecimal codes that identify each of the twelve function keys and the CTRL, ALT and SHIFT combinations.

    Locate and open any function key menu files with a text based editor such as WordPad. The default location for these files is …\Workspace\Interfaces\FKeys\ and they’ll have an mnu extension.

    Upon opening the file, you’ll notice is that the first line begins with $FK5.0$ date-time-stamp and that it ends with a blank line. In other words there’s a carriage return at the end of the very last character of the last line.

    As with many other text based files (such as plot drivers), you can add lines that will be treated as comments if prepend them with a semi-colon (;).

    MicroStation will rewrite the time-date stamp when it’s internal editor is used to edit and/or save the menu file. After the first line, the format is as follows:
    [combo key code] [function key code],[command]

    For function keys that execute an action string, the format is:
    [combo key code] [function key code],[command];[command];[command];[command]

    The key codes listed below are not case-sensitive meaning that both B0B and b0b will serve to identify the CTRL+F11 key combination, however, MicroStation V8 will rewrite upper-case key codes in lower-case when its internal editor is used to edit and save the menu file.

    Combo Key

    Code
    FKey Alone 3
    CTRL + FKey b
    ALT + FKey 7
    SHIFT + FKey 13
    CTRL + ALT + FKey f
    CTRL + SHIFT + FKey 1b
    ALT + SHIFT + FKey 17
    CTRL + ALT + SHIFT + FKey 1f
       
       
    Function Key Code
    F1 1
    F2 2
    F3 3
    F4 4
    F5 5
    F6 6
    F7 7
    F8 8
    F9 9
    F10 0a
    F11 0b
    F12 0c

    So to call up the keyin window with ALT + F10, the format will be: 70a,di cmdbrowse where 7 is ALT + FKey, 0a is the F10 key and di cmdbrowse is the MicroStation keyin to open the keyin window.

    The table below contains all of the possible combinations:

    CODE

    Combo Keyin CODE Combo Keyin
    301 F1 1701 ALT+SHIFT+F1
    302 F2 1702 ALT+SHIFT+F2
    303 F3 1703 ALT+SHIFT+F3
    304 F4 1704 ALT+SHIFT+F4
    305 F5 1705 ALT+SHIFT+F5
    306 F6 1706 ALT+SHIFT+F6
    307 F7 1707 ALT+SHIFT+F7
    308 F8 1708 ALT+SHIFT+F8
    309 F9 1709 ALT+SHIFT+F9
    30a F10 170a ALT+SHIFT+F10
    30b F11 170b ALT+SHIFT+F11
    30c F12 170c ALT+SHIFT+F12
           
    701 ALT+F1 1b01 CTRL+SHIFT+F1
    702 ALT+F2 1b02 CTRL+SHIFT+F2
    703 ALT+F3 1b03 CTRL+SHIFT+F3
    704 ALT+F4 1b04 CTRL+SHIFT+F4
    705 ALT+F5 1b05 CTRL+SHIFT+F5
    706 ALT+F6 1b06 CTRL+SHIFT+F6
    707 ALT+F7 1b07 CTRL+SHIFT+F7
    708 ALT+F8 1b08 CTRL+SHIFT+F8
    709 ALT+F9 1b09 CTRL+SHIFT+F9
    70a ALT+F10 1b0a CTRL+SHIFT+F10
    70b ALT+F11 1b0b CTRL+SHIFT+F11
    70c ALT+F12 1b0c CTRL+SHIFT+F12
           
    1301 SHIFT+F1 f01 CTRL+ALT+F1
    1302 SHIFT+F2 f02 CTRL+ALT+F2
    1303 SHIFT+F3 f03 CTRL+ALT+F3
    1304 SHIFT+F4 f04 CTRL+ALT+F4
    1305 SHIFT+F5 f05 CTRL+ALT+F5
    1306 SHIFT+F6 f06 CTRL+ALT+F6
    1307 SHIFT+F7 f07 CTRL+ALT+F7
    1308 SHIFT+F8 f08 CTRL+ALT+F8
    1309 SHIFT+F9 f09 CTRL+ALT+F9
    130a SHIFT+F10 f0a CTRL+ALT+F10
    130b SHIFT+F11 f0b CTRL+ALT+F11
    130c SHIFT+F12 f0c CTRL+ALT+F12
           
    b01 CTRL+F1 1f01 CTRL+ALT+SHIFT+F1
    b02 CTRL+F2 1f02 CTRL+ALT+SHIFT+F2
    b03 CTRL+F3 1f03 CTRL+ALT+SHIFT+F3
    b04 CTRL+F4 1f04 CTRL+ALT+SHIFT+F4
    b05 CTRL+F5 1f05 CTRL+ALT+SHIFT+F5
    b06 CTRL+F6 1f06 CTRL+ALT+SHIFT+F6
    b07 CTRL+F7 1f07 CTRL+ALT+SHIFT+F7
    b08 CTRL+F8 1f08 CTRL+ALT+SHIFT+F8
    b09 CTRL+F9 1f09 CTRL+ALT+SHIFT+F9
    b0a CTRL+F10 1f0a CTRL+ALT+SHIFT+F10
    b0b CTRL+F11 1f0b CTRL+ALT+SHIFT+F11
    b0c CTRL+F12 1f0c CTRL+ALT+SHIFT+F12



    For additional information regarding MicroStation commands and keyins, refer to the Related Links below.
    Have fun and don’t forget to backup your menu file before getting too crazy with your editing!

    AskInga Article #214

    • Askinga
    • Article
    • Interface Look and Feel
    • Share
    • History
    • More
    • Cancel
    • Anonymous Created by Anonymous
    • When: Fri, May 30 2008 12:19 PM
    • Jordan Stierly Last revision by Jordan Stierly
    • When: Fri, Jun 11 2010 10:40 AM
    • Revisions: 4
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies