Hi. I just realized that AbsolutePath is being deprecated and the suggested replacement is NativePath. Windows seemed to have made the change flawlessly, but on Mac, I was getting an error, but then I read that the : needs to be changed to a / on Mac. After doing this, the file is not launching on Mac. Can someone take a look and advise me?
Also, I have a question as to the difference between TargetMachO and TargetMacOS. I’ve been using MachO but wondering if best practice is to use MacOS going forward
[code]Dim f As FolderItem
dim folderPath as String
#If TargetMachO
f = SpecialFolder.ApplicationData
folderPath = f.NativePath + “com.visualveggies.rdexamstudysuite/Help Docs 5-2018/Study Suite Users Guide.pdf”
#elseif TargetWin32
f = SpecialFolder.ApplicationData
folderPath = f.NativePath + “com.visualveggies.rdexamstudysuite\Help Docs 5-2018\Study Suite Users Guide.pdf”
#endif
f = GetFolderItem(folderPath)
f.Launch[/code]