Hi everyone, can anyone shed some light on why the first example below works, but the second and third examples do not?? Totally perplexed.
Running Catalina.
EXAMPLE 1 (works):
// DEFINE THE APP PATH
Dim f As FolderItem
f = GetFolderItem("/Applications/Safari.app")
// IF ALL OK - LAUNCH
If f <> Nil Then
f.Launch
EXAMPLE 2 (fails to launch):
// DEFINE THE APP PATH
Dim f As FolderItem
f = GetFolderItem("/Applications/Mail.app")
// IF ALL OK - LAUNCH
If f <> Nil Then
f.Launch
EXAMPLE 3 (fails to launch):
// DEFINE THE APP PATH
Dim f As FolderItem
f = GetFolderItem("/Applications/Notes.app")
// IF ALL OK - LAUNCH
If f <> Nil Then
f.Launch
I have noticed that Mail and Notes have no file extension displayed in the Applications folder, so I tried omitting the .app from the path name - to no avail.
Any help appreciated.