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
Input
int
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.