Right on the file(s) in the Project Explorer: Add Shortcut to Favorites
Create shortcuts for selected windows in Favorites folder
X-Function not designed for Auto GetN Dialog.
Minimum Origin Version Required: 8.1 SR0
pep_addshortcuts dump:=1;
Please refer to the page for additional option switches when accessing the x-function from script
Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
---|---|---|---|---|
dump |
Input int |
|
Specify whether to dump how many shortcuts have been added to Favorites. |
This X-Function is used to create shortcuts for selected windows in the Favorites folder. If the Favorites folder does not existing, after executing this X-Function, Origin will create a folder named Favorites automatically.
This example is use to add a shortcut for the graph to Favorites.
pep_addshortcuts dump:=1;
in the Command Window, then Origin dump 1 shortcuts added to Favorites in the Command Window
and a folder named Favorites was added with a shortcut for Graph1B.