Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

LaunchServicesOpenMBS(item as folderitem) as folderitem
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Launch Services MBS MacOSX Plugin 3.2 Yes No No Yes, macOS only No
Function: Open an application, document, or folder.
Example:
Dim file As FolderItem = SpecialFolder.Desktop.Child("Test.xojo_binary_project")
Dim a As FolderItem = LaunchServicesOpenMBS(file)

MsgBox a.NativePath
Notes:
Opens applications, documents, and folders. Applications are opened via an 'oapp' or 'rapp' event. Documents are opened in their user-overridden or default applications as appropriate. Folders are opened in the Finder. Use the more specific LaunchServicesOpenXMBS for more control over launching.

Returns a folderitem to the application which was launched.

Upgraded in version 19.5 to use CFURL instead of FSRef APIs.

Blog Entries

Feedback, Comments & Corrections

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

The biggest plugin in space...




Links
MBS Xojo Chart Plugins