I have been using Applescript to open files and folders.
Can Xojo do this.
Is there a place where I can go to get a list of commands for Xojo.
In Applescript you just do this:
Tell application “Finder”
open “Macintosh HD:User:me:desktop:untitled folder”
end tell
how can I do this with Xojo. Thanks
dim f as FolderItem = SpecialFolder.Desktop.Child("untitled folder")
if f <> nil and f.Exists then
f.launch
end if
Will_Shank
(Will Shank)
4
SpecialFolder.Desktop.Child("untitled folder").Launch
Or if you also need to know if the folder is actually there…
[code]dim f As Folderitem = SpecialFolder.Desktop.Child(“untitled folder”)
if f.Exists then
f.Launch
else
//handle file/folder not existing
end[/code]