GetAppProperty
Returns specified global NeuroExplorer property.
Syntax
GetAppProperty(propertyName)
Parameters
Parameter |
Type |
Description |
---|---|---|
propertyName |
string |
Property name. |
Return
Returns specified application property.
To retrieve 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
isUsingPython3 = nex.GetAppProperty('Settings|Python|EnablePython3')
Note
The following additional property names can be used:
'PythonAnalysisScriptParameters'
'ScriptDirectory'
'TemplateDirectory'
'Version'
'BuildDate'
Examples
Python
import nex
scriptDirectory = nex.GetAppProperty('ScriptDirectory')