writepreference
NAME
,
VALUE

The writepreference statement modifies a preference value.


Parameters

This statement has two parameters:

name – name of preference to change.

value – new value for preference. This value is always supplied as text, it will be automatically converted to a number or Boolean value if necessary.


Description

This statement modifies a preference value. It is similar to setpreferencevalues, but only works with known Panorama preferences, and allows abbreviations of the preference name as long as the preference name is uniquely specified. This example sets the width of a new data sheet window to 800 points.

writepreference "newwindowwidth",800

This feature also enables preference values to be set through a url. Like the example code above, this URL will set the width of a new data sheet window to 800 points.

panoramax://writepreference?newwindowwidth=800

See Also


History

VersionStatusNotes
10.2NewNew in this version.