Application
[ApplicationFolder] is derived from the executable path. [Version] os stored in the software itself. The other settings are stored in app_settings.xml
Setting |
Description |
ApplicationFolder |
The user's main application folder |
Version |
The current ScriptoMate version |
SaveInterval |
The number of seconds for auto saving documents |
RetryInterval |
The number of seconds for retrying auto saving |
SavedXmlFolder |
The last folder where an Xml file was saved to |
SavedImportFolder |
The last folder where data was imported from |
SavedExportFolder |
The last folder where data was exported to |
DesignToolbars |
The design toolbars that are visible and invisible |
RunToolbars |
The run toolbars that are visible and invisible |
Theme |
The theme that is currently active |
AlternateRows |
An indicator whether or not the row color of datatable views is alternated |
ParseCulture |
The parse culture that is used |
ExcelReader |
The Excel reader that is used |
DefaultDateFormat |
The default data format to be used for importing data |
LicenseKey |
The license key |
RecentFiles |
The collection of files that were recently opened |
Example app_settings.xml
<?xml version="1.0" encoding="utf-8"?> <Settings> <SaveInterval>30</SaveInterval> <RetryInterval>30</RetryInterval> <SavedXmlFolder> D : \Xml\Tutorial\1501 Writing portable scripts</SavedXmlFolder> <SavedImportFolder> D : \Data</SavedImportFolder> <SavedExportFolder> C : \Data\Temp</SavedExportFolder> <DesignToolbars>True;True;True;True;True;True;True;True;True;True</DesignToolbars> <RunToolbars>True;True;True;False;True</RunToolbars> <Theme>0</Theme> <AlternateRows>True</AlternateRows> <ParseCulture> en-GB</ParseCulture> <ExcelReader>1</ExcelReader> <DefaultDateFormat> d-MM-yyyy</DefaultDateFormat> <CompileScriptsWorker_UseBlockingWaitWindow>True</CompileScriptsWorker_UseBlockingWaitWindow> <DatatableExportWorker_UseBlockingWaitWindow>True</DatatableExportWorker_UseBlockingWaitWindow> <LicenseKey>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</LicenseKey> <RecentFiles> <FileAttribute> D : \Xml\Tutorial\1501 Writing portable scripts\PortableScripts.xml</File> <FileAttribute> D : \Xml\Examples\Datasets\Specific subjects\Sub diagrams\Sub diagrams.xml</File> <FileAttribute> D : \Xml\Examples\Datasets\Specific subjects\Gateways\ParallelGateway.xml</File> </RecentFiles> </Settings> |