|
|
|
|
Functions
Events
MioScript Reference
|
|
Syntax
Parameters
| INT | Index | Index of the parameter to retrieve |
Return value
Description
Returns the specified command line parameter.
How to distinguish when an application is started manually
When the application is started by Windows at startup (via the link added in Programs/Startup by the installer), the second parameter is set to AUTOSTART. This is useful if you want to prompt a login window when the user starts the application manually, but not when the application is started automatically by Windows.
if(app.getParam(1) == "AUTOSTART")
...
if.else
...
if.end
|
|
|
|
|