SetAppProperty

Sets application property.

Syntax

SetAppProperty(propertyName, propertyValue)

Parameters

Parameter

Type

Description

propertyName

string

The name of the property.

propertyValue

string

Property value.

To set a NeuroExplorer property specified in the Windows registry (Computer\HKEY_CURRENT_USER\SOFTWARE\Nex Technologies\NeuroExplorer 5) use property name 'Settings|Section|Name', where Section is a section of the main NeuroExplorer registry key and Name is the name of a key in the section. For example,

import nex
# enable saving time filter parameters in templates
nex.SetAppProperty('Settings|General|SaveFilterPars', '1')

Note

The following property names can also be used:

  • 'PythonAnalysisScriptResult'

Return

None.

Examples

Python

import nex
# enable saving time filter parameters in templates
nex.SetAppProperty('Settings|General|SaveFilterPars', '1')