|
|
|
|
Functions
Events
MioScript Reference
|
|
Syntax
| system.execute(filename, parameters, defaultPath, openMode) |
Parameters
| STRING | filename | File or program to execute.
| | STRING | parameters | Optional. Parameters to send to the program, if the filename is an executable.
| | STRING | defaultPath | Optional. Default directory.
| | INT | openMode | Optional. How the applicaiton is to be diplayed. 0: Hide 1: Show normal 2: Show minimized 3: Show maximized 5: Show 6: Minimize 7: Show minimized, no activate 8: Show NA 9: Restore |
Return value
Description
Execute a file or a program.
Execution is done using the Windows ShellExecute API function. |
MioScript Sample Code
system.execute(path.rsc("mydocument.doc")) |
|
|
|