WindowsShortCutMBS methods

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

Back to WindowsShortCutMBS class.

WindowsShortCutMBS.CreateShortCut as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows Shortcuts MBS Win Plugin ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Creates a shortcut on the specified location.

Returns true on success and false on any error.
Version 10.1: Now adds the icon, too.

Some examples using this method:

WindowsShortCutMBS.ResolveShortCut(DisableGUI as boolean=false, DisableSearch as boolean=false) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows Shortcuts MBS Win Plugin 3.4 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Resolves the shortcut.

Fills the properties target, description, Argument, WorkingDirectory, Icon and IconID.
Returns false on any error.

Parameters added in plugin version 7.4:

DisableGUI:
Do not display a dialog box if the link cannot be resolved. The time-out duration will be set to the default value of 3,000 milliseconds (3 seconds).

DisableSearch:
Do not execute the search heuristics.

For more details check this page in Microsoft's documentation:
http://msdn.microsoft.com/en-us/library/bb774952(v=vs.85).aspx

Some examples using this method:

The items on this page are in the following plugins: MBS Win Plugin.


💬 Ask a question or report a problem