Platforms to show: All Mac Windows Linux Cross-Platform

FAQ.How to open PDF in acrobat reader?

Answer: Try this code:
Example
Var pdf as FolderItem = SpecialFolder.Desktop.Child("test.pdf")

// open PDF in Acrobat Reader on Mac:

// find app
Var bundleID as string = "com.adobe.Reader"
Var app as FolderItem = LaunchServicesFindApplicationForInfoMBS("", bundleID, "")

if app<>nil then

// launch app with parameters

Var docs() as FolderItem
docs.Append pdf

Var param as new LaunchServicesLaunchParameterMBS
param.Defaults = true
param.Application = app

Var x as FolderItem = LaunchServicesOpenXMBS(docs, param)

// on failure, simply launch it
if x = nil then
pdf.Launch(true)
end if

else
pdf.Launch(true)
end if

On Windows, simply use pdf.launch or WindowsShellExecuteMBS.


The biggest plugin in space...