Skip to main content

Change a keyboard shortcut

The program lets you tie a key, or a combination of keys such as Ctrl + Alt + B, to a command, to opening a new bill, or to typing a text you use often. You add, change and delete shortcuts on the Hotkeys page of Program Options. This page explains the steps.

Before you begin​

  • Open the company file. The Hotkeys page appears only when a file is open.
  • You need the Hotkeys permission in the Users permissions window.
  • The program saves the shortcuts in the file itself, so they apply to every user of the file. A shortcut needs no restart after you save it.
  • The program does not accept every key. The reserved keys are listed in Use keyboard shortcuts.

Steps​

Add a shortcut​

  1. Click File, then Program Options. You can also press Shift + F3, or click Edit at the bottom of the Shortcuts page of the File tab, which opens the window on the right page and skips the next step.

  2. Choose the Hotkeys page in the list of pages at the side of the window. The table shows each shortcut with its key, type and function.

    The Hotkeys page of Program Options with the table of shortcuts and the Add, Modify and Delete buttons

  3. Click Add. The Shortcut window opens.

  4. Click inside Hotkey, then press the keys you want, for example Ctrl + Alt + B. The box shows the combination, written as Alt+Ctrl+B. If the key belongs to another custom shortcut, its function appears in Assigned to.

  5. Choose the Shortcut Type: Command, Bill, Entry, Text, Material, Customer, Account, Commercial Paper, External Command or Ribbon Command. The types you have no feature for do not appear.

  6. Set the target in the field that appears for the type. For the Command and Ribbon Command types you can type the beginning of the name in Search, and the selection jumps to the first name that starts with it.

    The Shortcut window with the hotkey, the shortcut type, the command list and the search box

  7. Click OK. If the program refuses the key or the target is missing, a message appears. Correct what it asks for and click again. With Ribbon Command, if you did not choose a command, or chose a group heading, the window stays open and no message appears.

  8. The new row appears in the table. Click OK in the Program Options window to save the changes and close it, Apply to save and keep the window, or Cancel to discard them.

The program saves nothing before step 8: your changes to the table stay temporary on the page until you click OK or Apply.

What each type does​

TypeThe target you setWhen you press the key
CommandA command from the program's command list.Runs the command. Some commands work only while the main window is the active one.
BillA bill type of the file.Opens a new bill of that type.
EntryAn entry type of the file.Opens a new entry of that type.
TextA text you type.Types the text into the control that has the focus. The program beeps only when no control has the focus.
MaterialA material card.Puts the material in the field where the cursor is, if the field accepts a material.
CustomerA customer card.Puts the customer in the field where the cursor is, if it accepts one.
AccountAn account card.Puts the account in the field where the cursor is, if it accepts one.
Commercial PaperA commercial paper type.Opens a new commercial paper of that type.
External CommandA command from the external tools.Runs the external command.
Ribbon CommandA button of the program ribbon.Runs the same button.

The bill, entry, material, customer, account and commercial paper types work only with an open file. No shortcut works while the main window is minimized.

Change a shortcut​

  1. Open the Hotkeys page as in steps 1 and 2 above.
  2. Click the row you want in the table.
  3. Click Modify. The Shortcut window opens with the current values.
  4. Change the key, the type or the target, then click OK.
  5. Click OK or Apply in Program Options.

Delete a shortcut​

  1. Open the Hotkeys page and click the row you want.
  2. Click Delete. The row disappears at once with no confirmation.
  3. Click OK or Apply.

When you delete the last shortcut, the text "No Shortcuts" replaces the table. If you delete all shortcuts and save, the program puts the four default shortcuts back at once. Keep at least one shortcut if you want to do without them.

Undo changes and restore the defaults​

  • Restore: returns the table to what is saved in the file, so it cancels every change you made on the page before saving.
  • Restore Default: replaces the table with the four default shortcuts: F11, Ctrl + F11, Shift + F7 and Shift + F3. It does not save them until you click OK or Apply.

Move shortcuts to another file​

  1. In the first file click Save, type a name and choose a place. The program adds the extension .scf to the name and writes into it the shortcuts now in the table.
  2. Open the second file and its Hotkeys page, click Download, and choose the .scf file. The program replaces the whole table with what is in the file. It does not merge.
  3. Click OK or Apply.

The program does not check the shortcuts when it loads them. If one of them points to a bill, entry or commercial paper type, or to a customer, that does not exist in the second file, its row shows the text <Deleted> and it does not work.

Result​

The shortcut works from the main window and from the open windows, and it appears in the Custom group of the Shortcuts page of the File tab. Custom shortcuts take priority over the keys that work inside windows, so a shortcut such as Ctrl + Up stops the same key from working in the record navigator.

If something goes wrong​

MessageWhy it appearsWhat to do
Hotkey is used for: …The key is reserved for a program command or for another custom shortcut, whose name ends the message.Choose another key.
Invalid hotkeyThe combination you pressed cannot be a shortcut.Press another combination, or add Ctrl, Alt or Shift.
Shortcut key is invalid, can't choose only letters as a shortcut keyYou chose a key whose name has only letters, such as a letter alone, Home or Delete.Add Ctrl or Alt, or choose a function key.
You must set a hotkeyYou clicked OK without pressing any key.Click inside Hotkey, then press the keys.
You must set commandThe type is Command and you did not choose a command.Choose a command from the list.
Please select bills typeThe type is Bill and you did not choose a type.Choose the bill type.
You must set entry typeThe type is Entry and you did not choose a type.Choose the entry type.
Please enter textThe type is Text and the field is empty.Type the text.
Please select material, or Please select customer, or Please select an accountThe type is material, customer or account and you did not choose the card.Choose the card.
Please select a commercial paper typeThe type is Commercial Paper and you did not choose a type.Choose the type.
You must select external commandThe type is External Command and you did not choose a command.Choose the command.
Bad shortcuts fileThe file you chose with Download is not a shortcuts file made by the program.Choose the .scf file you created with Save.
Error Creating File, Write file error or An error encountered while opening the fileThe program could not create the file, write to it or open it. The path ends the message when it creates.Make sure the folder exists and that you can write to it or read from it.
I cannot find a type in the Shortcut Type listThe types appear according to the features of your key and what the file defines. Bill and Entry appear if the file defines types of them, Material needs warehouses, Customer needs customer cards, Account needs accounting, External Command needs the standard reports, and Text and Commercial Paper need the file to define commercial paper types.Check the features of your key.
The Hotkeys page does not appearNo file is open, or you do not have the permission for the page.Open a file, and ask for the permission.

When a saved shortcut with an invalid combination is activated, the program may show "Invalid hotkey", followed by the key and the text "Please modify or delete the shortcut from Options - Hotkeys". Change or delete the shortcut it names.

This page applies to alameen ERP 10, version 10.1.79.764.