Should this work?
dim f as FolderItem
f = Volume(0).Child("Applications").child("Dictionary")
f.launch
I can’t get any response, but then i’m a newby …
Owen
Should this work?
dim f as FolderItem
f = Volume(0).Child("Applications").child("Dictionary")
f.launch
I can’t get any response, but then i’m a newby …
Owen
You should check to see if the folderitem is Nil or that it exists before you try and launch it, but yes this should work provided that the OS knows what application to launch file “Dictionary” with.
Did you mean:
dim f as FolderItem
f = specialfolder.Applications.child("Dictionary.app")
f.launch
dim f as FolderItem
f = specialfolder.Applications.child(“Dictionary.app”)
if f <> AND f.exists = True Then
f.launch
else
msgbox “File Does Not Exists”
End If
Sorry forgot something…
dim f as FolderItem
f = specialfolder.Applications.child(“Dictionary.app”)
if f <> Nil AND f.exists = True Then
f.launch
else
msgbox “File Does Not Exist”
End If
Thanks very much Jeff and Kenneth - problem solved!
Glad to help…