f.Launch open the folder / directory for all 3 OS Platforms (and launch the target item if not a folder).
What about displaying / selecting the FolderItem ?
f.Launch open the folder / directory for all 3 OS Platforms (and launch the target item if not a folder).
What about displaying / selecting the FolderItem ?
NSWorkSpaceMBS.selectFile may help for Mac.
WindowsShellExecuteMBS may help on Windows with explore verb.
I use this for folders on macOS:
if f.isBundleMBS then
f.Parent.Launch
else
Call NSWorkSpaceMBS.selectFile(f)
end if
Nice !
what do IsBundleMBS do??
Check if a folder is a bundle/package, e.g. an application.
i see… thanks
macOS only
Windows
see https://support.microsoft.com/en-us/help/152457/windows-explorer-command-line-options
Linux
look at xdg-open, gnome-open and kde-open
https://linux.die.net/man/1/xdg-open
http://manpages.ubuntu.com/manpages/trusty/man1/gnome-open.1.html
dont have a handy url for kde-open
macOS there’s declares laying around the forum for this somewhere