27.7.4.1 Customizing Origin using System Variables
LabTalk includes a type of system variable referred to as an "@" system variable. These (generally) read/write variables are built into your Origin software. Their purpose is to allow you to control certain Origin behaviors by assigning a predefined value to the variable. This assignment can made automatically at startup or it can be made manually at any time during the Origin session.
An "@" system variable generally affects settings at a much lower level than, for instance, those in the Preferences: Options dialog box.
For example:
- @A: Controls default angular units (0=radians, 1=degrees, 2=gradians).
- @CCT: Controls the default text column cell width.
- @DAM: Controls default state for the Recalculation drop-down list in analysis dialog boxes (0=None, 1=Auto, 2=Manual).
- @EEE: Controls whether empty sheets are excluded during drag-and-drop import of Excel files.
- @FBM: Controls whether data filters might apply to masked data (0=filter ignores masked data, 1=filter has access to masked data).
There are literally hundreds of such "@" variables. You can check the value of an "@" variable at any time by opening the Script window (Window: Script Window), typing the name of the variable followed by the "=" sign and and pressing Enter, as in this example:
@FBM= //type and press Enter @FBM=1 //Origin returns the variable's value
Changing the Value of a System Variable
As mentioned, almost all "@" variables are read/write. You can use the Script window to change the value of a variable, as for example, in the following:
@DAM= // type and press Enter @DAM=2 // Origin return's the variable's default value @DAM=1 // type and press Enter to change the default Recalculate mode in analysis dialogs to "Auto".
However, when you change the value of a variable in this way, it is changed for the session only. To apply your change across sessions (i.e. every time that Origin starts), you should add the variable and its assigned value, to the Set System Variables dialog box.
FAQs on Modifying Origin Behaviors using "@" System Variables
This is a partial list of FAQs that discuss the use of a system variable to resolve a particular issue. The idea is to give you some feeling for the way in which these "@" System Variables can be used to modify Origin behaviors.
- FAQ-708 How do I permanently change the value of a system variable?
- FAQ-350 How do I turn off the collapsible menus and show full menus?
- FAQ-804 How to troubleshoot exporting PDF problems.
- FAQ-443 Why is the text distorted in my exported graph or copy page and paste to Word, PowerPoint?
- FAQ-777 How do I copy data with full precision by using Ctrl + C?
- FAQ-288 How to change the default value of Recalculate dropdown when open dialog?
- FAQ-448 Why can't my exported EPS file be opened in Photoshop or Illustrator?
- FAQ-23 How do I use my custom files from my previous version in my Upgrade?
- FAQ-363 How do I change the target window for outputting error messages?
- FAQ-481 How do I copy data with column label rows?
- FAQ-442 How do I control the size of the graph I copy from Origin and paste into Microsoft Office
- FAQ-331 What can I do if I have more than 10 columns to be run for ANOVA?
- FAQ-447 How to export 3D OpenGL graphs in good quality but smaller file size?
- FAQ-159 How can I add a prime or double prime symbol in text labels?
- FAQ-683 How do I rescale only the X or Y axis of a graph?
- FAQ-849 Can I turn off or selectively control use of spreadsheet cell notation in my workbooks?