|
|
|
|
Functions
MioScript Reference
|
|
Syntax
| shortcut.create(ShortcutFile, Application, Description, IconFile, Params) |
Parameters
| STRING | ShortcutFile | Shortcut file (.lnk) to be created. For the possible locations of your shortcuts: path....
| | STRING | Application | File to link to. It can be an exe file, an URL, a document, etc.
| | STRING | Description | Tooltip text.
| | STRING | IconFile | Icon file (.ico).
| | STRING | Params | Optional. Parameters to be sent to the called application. |
Return value
No value is returned.
Description
Creates a shortcut file (extension .lnk) at the specified location.
|
MioScript Sample Code
&sourceFile = path.install(null, "myApplication.exe")
&targetFile = path.desktop("myApplication.lnk")
&iconFile = path.install(null, "app.ico")
shortcut.create(&sourceFile, &targetFile, "{APP_NAME}", &iconFile, null) |
|
|
|