This code is given as working in several forum posts:
Dim app As FolderItem = SpecialFolder.Applications.child("TextEdit.app")
Dim document As FolderItem = SpecialFolder.Desktop.child("APrincessofMars.txt")
While this code does launch the app passed ("Microsoft Word.app" or "TextEdit.app", etc.) it never causes the app to load the file.
I have confirmed the file is on the desktop, is valid, etc.
I get the open app, but the app never opens/loads the file passed -- and no error generated.
Clearly, I am doing something wrong.
Looking forward to your wisdom!