Like most applications, Analytica offers keys or key combinations as shortcuts to access its most common features. Some, like ctrl-S to save a model file, or ctrl-Q to quit a session, are common to most Windows applications. As you gain familiarity, you will find learning a few of these can greatly speed up your interactions.
You can see the keyboard shortcuts for menu options in each menu at the top of the application bar -- and for context-dependent menu that appears when you right-click on a diagram or other window. For the Toolbar icon buttons, you can see the keyboard shortcut in the tooltip that appears when you move the mouse cursor over each icon.
Analytica supports almost all the standard shortcuts for tables offered by Microsoft Excel. See Shortcuts for Table Navigation for details.
Tab as a shortcut
The tab key is useful for moving around each window to select the next element:
- In a Diagram window, press tab to select the next node, from left to right, then up to down
- In an Object window, press tab to select the next Attribute field
- In a table, press tab to select the next cell
Use shift+tab to go backwards, to select the previous node, Attribute, or cell.
- F1: Open the Analytica User Guide PDF
- F2: : Open Diagram window containing the selected node.
- F3: : Open the Outliner window
- F4: : Open the Object window for selected node.
- F5: : Open the Result window for the selected variable. (same as CTRL+R)
- F6: : Edit the definition (script for Button) of selected Variable or Function (same as CTRL+E) in Attribute Panel or Object window, depending on setting in Preferences... dialog.
- F7: : Enter browse mode
- F8: : Enter Edit mode
- F9: : Enter Arrow mode.
- F11: Toggle between Edit/Arrow editing modes ( ←→ ).
Shortcuts to add a nodes to a diagram
- CTRL+1: New Decision node
- CTRL+2: New Variable node
- CTRL+3: New Chance node
- CTRL+4: New Objective node
- CTRL+5: New Module node
- CTRL+6: New Index node
- CTRL+7: New Constant node
- CTRL+8: New Function node
- CTRL+9: New Text node
- CTRL+0: New Button node
- F10: Select the main menu bar.
- Use left or right arrow or a letter to select a menu.
- Use up or down arrow or a letter to select an option in that menu.
- F12, or CTRL+': Open/close typescript window
Shortcuts to edit a Definition or other attribute
- Double-click an identifier: To select the identifier
- CTRL+f: Open find dialog for this identifier. A quick way to find the node for a variable, or open wiki page for a system function or variable.
- CTRL+click on a node: When you are editing the Definition (or other attribute) in an Attribute panel, CTRL-click on another node in the same diagram inserts its identifier into the Definition. This shortcut is very handy when writing a complex expression.
- CTRL+alt on a node: Same as CTRL+click. Useful when running Analytica in VMWare Fusion on a Macintosh, which treats CTRL+click as something else.
- CTRL+right-arrow: Move right one token (identifier or operator)
- CTRL+left-arrow: Move left one token (identifier or operator)
- CTRL+ALT+left-arrow: Find left paren that matches the right paren currently at the left of the caret.
- CTRL+ALT+right-arrow: Find right parent that matches the left parent currently to the right of the cursor.
- SHIFT+(any of the above): Select the characters between.
Shortcuts to edit a diagram
- Arrow: Move selected node(s) in direction of the arrow by a grid increment, if snap to grid is set -- otherwise, by one pixel.
- SHIFT+arrow: Move selected node(s) in direction of the arrow, by one pixel if snap to grid is set -- otherwise, by one grid increment.
- CTRL+left-arrow: Align left edges
- CTRL+F9: Align horiz center
- SHIFT+F9: Align vert centers of selected nodes
- CTRL+right-arrow: Align right edges
- CTRL+=: Align left and right edges of selected nodes
- CTRL+up-arrow: Align tops of selected nodes
- CTRL+down-arrow: Align bottoms of selected nodes
These shortcuts use two keystrokes in sequence -- not pressed together:
- =,right-arrow: Make selected nodes the same width as the first selected node
- =,down-arrow: Make selected nodes the same height as the first selected node
- =,=: Make selected nodes the same width and height as the first selected node
Alphabetic list of CTRL shortcuts by letter
- CTRL+A: Select All nodes in a diagram, text in a definition, or cells in a table.
- CTRL+B: Open Number Format Dialog
- CTRL+C: Copy selected node(s), text, cell or region of a table.
- CTRL+D: Duplicate selected node(s)
- CTRL+E: Edit definition of selected node in Attribute pane
- CTRL+F: Open Find Dialog to find an object by identifier or title. In a table, Find will search table.
- CTRL+G: Find next matching item from Find Dialog.
- CTRL+H: Find object with identifier matching the text you have selected -- e.g. in a definition.
- CTRL+I: Insert a new row or column after the row or column you have selected in an Edit table.
- CTRL+J: In a Diagram, align selected node(s) to grid
- CTRL+K: Kill (delete) the row or column you have selected in an Edit table.
- CTRL+L: Open dialog to Add Module...
- CTRL+M: Make an alias from the selected node(s).
- CTRL+N: Start a New Model
- CTRL+O: Open a model file
- CTRL+P: Print the current Diagram, Graph
- CTRL+Q: Exit (Quit) the model.
- CTRL+R: Show result for selected variable(s)
- CTRL+S: Save the model
- CTRL+T: Adjust selected node(s) to their default size
- CTRL+U: Open Uncertainty Options... dialog
- CTRL+V: Paste text, cell or region of a table, or selected nodes.
- CTRL+W: Close the model
- CTRL+X: Cut selected text or node(s).
- CTRL+Y: Toggle between viewing titles and identifiers
- CTRL+Z: Undo last action (typing text or moving or resizing node(s)
- CTRL+. (CTRL+dot): Stop the computation in progress.
- CTRL+Break: Stop the computation in progress.
- CTRL+' (CTRL+apostrophe): Open/close Typescript window. On some non-English keyboards, this combination is not available. In those cases, use F12.