folderitem.launch for folder

Just upgraded to 2019r2 from 2018r3 and noticed that folderderitem.launch is not opening the folderitem (a directory) in Finder like it used to. This is on Mojave. Does this no longer work or am I missing something? Thank you.

Which folder are you trying to open ?

AFAIK Xojo had to change the inner workings of the Folderitem, because Apple broke some with Catalina. My guess is that the newer API they switched too doesn’t support this.

However with some declares or pluginesese you should be able to use the newer functions for doing this [NSWorkspace activateFileViewerSelectingURLs:] is what you’re looking for.

It is not broken here under High Sierra. I can open Resources as well as Documents just fine.

It could be that Mojave or Catalina now require the user to select the folder.

But at any rate, it should ask permission to do so.

I’m trying to open SpecialFolder.ApplicationData.Child(“my app”). The folder item is loaded fine just launch does nothing.

I just checked under Mojave, it opens just fine.

Make sure your folder exists.