XPAC lets you use a number of keyboard shortcuts to access commonly used functions and commands.
The table below describes the default keyboard shortcuts that you can use in XPAC. If required, you can change or add your own shortcuts.
Functional area |
Keyboard shortcut |
Description |
Database |
Ctrl+Y |
Toggle the activity column when viewing a database. |
Esc |
Cancel various operations (for example, renaming a record, overwriting a value in a data sheet). |
|
Ctrl+D |
Toggle the design mode (when viewing a database). |
|
Ctrl+E |
Display a flat calendar when viewing a calendar database. |
|
Ctrl+G |
Go to a specific line in the data sheet. |
|
F9 |
Recalculate/refresh changed database fields. XPAC only recalculates those data fields that have been changed. |
|
Ctrl+R |
Toggle full rowcodes in the data sheet. |
|
Ctrl+B |
Apply bold formatting to selected text (in design or format mode). |
|
Ctrl+I |
Italicise selected text (in design or format mode). |
|
Ctrl+U |
Underline selected text (in design or format mode). |
|
Shift+F9 |
Perform a full recalculation of the database. XPAC recalculates all data fields in the selected database. |
|
Ctrl+T |
Display the totals column in the current data sheet. |
|
Ctrl+M |
Display the units column in the current data sheet. |
|
* |
Expand the currently selected database tree structure. Note: This shortcut refers to the * button on the keypad. |
|
General |
Ctrl+C |
Copy selected text onto the clipboard. |
Ctrl+X |
Cut selected text onto the clipboard. |
|
Ctrl+F |
Find text in the current view. |
|
F3 |
Find the next instance/s of text. |
|
Ctrl+V |
Paste text from the clipboard. |
|
Ctrl+H |
Find and replace text. |
|
Ctrl+A |
Select all. |
|
Ctrl+Z |
Undo last action. |
|
Ctrl+N |
Create a new XPAC project. |
|
Ctrl+O |
Open a saved XPAC project. |
|
Ctrl+P |
Print the data in the main workspace. |
|
Ctrl+S |
Save the project. |
|
F1 |
Open the XPAC help documentation. |
|
F5 |
Refresh the current view. |
|
Scripting |
Ctrl+Break |
Break into the debugger when running a script from the debugger. |
Alt+F9 |
Display the list of breakpoints in the debugger. |
|
F7 |
Compile a script in the debugger. |
|
Ctrl+F9 |
Toggle the enabled state of a breakpoint in the debugger. |
|
F9 |
Insert or remove a breakpoint in the debugger. |
|
Shift+F9 |
Display the quick-watch for a variable in the debugger. |
|
Ctrl+Shift+F9 |
Remove all breakpoints in the debugger. |
|
Shift+F5 |
Restart the running of a script in the debugger. |
|
F5 |
Start running a script in the debugger. |
|
Ctrl+F8 |
Run to the current cursor position in the debugger. |
|
F8 |
Step to the next position in the debugger. |
|
Shift+F8 |
Step to the next position in the debugger, stepping over subroutines. |
|
Shift+F5 |
Stop debugging. |
|
Spatial data plots |
F4 |
View the properties of the plot (in the Spatial Data Plot window). |
To change or add default keyboard shortcuts:
1. | Click the drop-down arrow on any toolbar, for example: |
2. | Select Add or Remove Buttons > Customise. The Customise window displays. |
3. | In the Keyboard tab: |
a. | Select the Category in which you want to create a shortcut, for example, Launch. Options for that category display in the Commands list. |
b. | Select the Command that you want to create a shortcut for, for example, Launch Open Cut design module. |
The Category drop-down list corresponds to each item in the menu bar. It also lets you select additional items such as debugging, graphics and specialist insert commands. To display a list of all commands, select All Commands in the Category drop-down list. To help you establish which category each command exists in, XPAC prefixes each command with its category (for example, FilePrint). |
4. | Select the XPAC function that you want to use the shortcut in from the Set Accelerator for drop-down list. Select either: |
a. | Default to apply the shortcut to core XPAC functions; or |
b. | XPAC XCM for the scripting utility. |
5. | In the Press New Shortcut Key field, press the keyboard shortcut that you want to apply, for example, Shift+K. |
XPAC displays the status of the keyboard shortcut in the Assigned To field. For example, if the shortcut is available, [Unassigned] displays. Otherwise, XPAC displays the function that the shortcut is currently assigned to, for example, Undo. If required, assign another shortcut to the command before proceeding. |
6. | Click Assign. XPAC displays the assigned shortcut in the Current Keys field. |
To remove a shortcut:
1. | Select the Category and Command that you want to remove the shortcut for. |
If required, use the keyboard shortcut to access the command. |
2. | In the Current Keys field, select the shortcut that you want to remove. |
3. | Click Remove. |
XPAC removes the shortcut from the command.
If required, you can also reset all keyboard shortcuts to their default state by clicking Reset All. |