D3PLOT 22.1

Assigning JavaScripts to Function Keys

Assigning JavaScripts to Function Keys

If a script is to be run repeatedly it can be convenient to set up a short-cut to it by assigning it to a function key, giving a "one click" method of running it.

Function keys can also be used to run D3PLOT command (.tcf) files, see Utilities, Function Keys , and key assignment may mix the two types at will. JavaScripts so assigned should use the extension ".js" since this is how the two file types are distinguished from one another when the function key is used: files with any extension which is not ".js" are assumed to be command files.

Assignment of JavaScripts to function keys can also be saved in the oa_pref file in exactly the same way as command files see Utilities, Function Keys for details of how this is done.