5.7 FAQ-344 How to add accelerators in Origin?

Last Update: 12/17/2021

Adding an accelerator or hotkey provides quick access to menu-driven operations. Keyboard shortcuts can be created by you, for any X-function that already has its own menu. To create these, follow the steps below:

  1. Open the origin.ini file, located in your User Files Folder. You can use Notepad to open the file.
  2. Find the section called [WorksheetAccelerators], [GraphAccelerators], etc. Add to these sections to define accelerators for the active window. Note that some accelerators have already been defined here, for instance the NLFit dialog (Ctrl+Y).
  3. Resave Origin.ini, then close and restart Origin to see your changes take effect.
  4. For guidance on defining your own accelerators, you can refer to the commented notes under the [WorkSheetAccelerators] section of this .ini.
FAQ-344 WorkSheetAccelerators Section.png
  • The expression begins with the sequence number of the accelerator. The order in the INI is not important, but there can be no gaps, so if you have defined 1,2,3,4 and 5 and you then delete 4, 5 will be ignored.
  • Next, you place an equal sign.
  • The code to the right of the equal sign includes two primary parts (plus possible options, see next bullet). First is the function name which is most-easily obtained by pressing the Ctrl key while selecting the dialog menu entry (look to the "X-Function" field in the dialog that opens). The second is the keyboard combination which you will use to control the function. You should use a vertical line (pipe character) to divide each part.
  • Both Offset and nOption are optional but the nOption needs to be present if Offset is specified.
  • Offset links a particular dialog Theme to the accelerator and it is a zero-based offset: an Offset of "2" associates the accelerator with the third Theme in the list (<Last used> is generally the first Theme in the list). Preceding the Offset with the "+" character forces the dialog to open as will setting Offset = 14.
  • Setting nOption = -1 means the argument value is not in use (i.e. the accelerator is not associated with a particular Theme).


  1. Browse to \User Files and open Origin.ini, then find the section [WorkSheetAccelerators].
  2. To open the FFT dialog that is normally opened from the menu, Analysis:Signal Processing:FFT:FFT, add the following:
  3. Re-save the origin.ini file, then close and restart Origin.
  4. Open the menu Analysis:Signal Processing:FFT:FFT, and you should see your hotkey sequence at the right of the menu entry.

Defining accelerators in \User Files\Origin.ini will override standard accelerators (with a few exceptions, e.g. Ctrl+Y is hard-coded to open FitNL). For example, if you defined subtract_ref|Ctrl+X then you could no longer use Ctrl+X as the Edit: Cut shortcut. If you defined subtract_ref|Ctrl+Shift+X then you could no longer use Ctrl+Shift+X as a matrix window shortcut to View: Show X/Y.

Keywords:accelerator, menu, x-function, keyboard, hotkey, shortcut