The preferences( function retreives a list of preferences that have been stored.
Parameters
This function has one parameter:domain – The domain of the preferences to retrieve. If left empty (or omitted entirely) all Panorama and operating system preferences will be listed. If this parameter contains "PANORAMA"
(any capitalization) then only preferences stored by Panorama will be included (including any values stored by databases). For a list of other domains that can be accessed, use the info(“preferencedomains”) function.
Description
This function returns a carriage return separated list of available preferences in a domain. If the domain is omitted, then all Panorama and operating system preferences will be listed.
preferences()
preferences("")
If the domain is Panorama (any capitalization), then only preferences stored by Panorama will be included (including any values stored by databases).
preferences("panorama")
There are dozens of other preferences domains available on any system. The exact list of domains will depend on what software you have installed – for a complete list, use the info(“preferencedomains”) function. This example lists the preferences stored by the CUPS printing system.
preferences("org.cups.PrintingPrefs")
See Also
History
Version | Status | Notes |
10.0 | New | New in this version. |