Home Script Language Meta Tags | ||||||||||||||||||||||||||||||||||||||||
See also: Script Selector, Language Structure, Reserved Words, Library Overview, Sample Scripts, ILabPascal - ChartBook Overview, ILabPascal - General Functions, Input/Output, ILabPascal - Math, Vectors, Matrices, ILabPascal - Display, ILabPascal - Data Manipulation, ILabPascal - Particles, ILabPascal - Spectral Descriptors, Access Rights
|
||||||||||||||||||||||||||||||||||||||||
ILabPascal - Meta Tags |
||||||||||||||||||||||||||||||||||||||||
ILabPascal supports the definition of meta tags which contain additional information about the particular script. Syntactically the meta tags have to be included as a comment within the first 25 lines of a script (the number of lines which are analysed for meta tags can be adjusted in the preferences dialog). Each tag starts with a hash-tag (#) immediately followed by the tag identifier. Only one tag per line is allowed.
Here is an excerpt of a script showing the definition of meta tags. The script is assigned to a button using the icon "scrbtn_1.bmp" and is encrypted. Access rights are execute-only for all users worldwide except for the user having the license id "FFFF-FFFF-FFFF-FFFF" who has full access to the script: program SampleScript1; (************************************************************************* #AUTHOR Jone Doe #DATETIME 2020-07-26 09:49:22 #VERSION 1.0 #CAPTION opens a data file and performs a few transformations #INSTALLBTN 1 scrbtn_1.bmp just a sample script #MINILABVERSION 3.26 #READONLY FALSE #ENCRYPT #ACCESSRIGHTS group [world:x] user [FFFF-FFFF-FFFF-FFFF] *************************************************************************) .... .... Shortcut ButtonsThe shortcut buttons use icons which can be configured by the user. A button icon has to have a resolution of 42 by 21 pixels. The left part (first 21 pixels on the x-axis) contains the icon used when the button is enabled, the right part is used to display the disabled state:Epina ImageLab provides default icons for the first 9 shortcut buttons (named scrbtn_1.bmp to scrbtn_9.bmp). You can create your own shortcut icons either by editing the existing ones or by creating new ones.
|