OpenFolderInFinder
Back to ListDescription: Open a file-system folder in Finder
FileMaker Prototype:
Set Variable [$res; ACF_Run("OpenFolderInFinder"; string_path)]
Category: UTILITY
Function source:
function OpenFolderInFinder (string path)
// special Folders
string s = lower(path);
case
:(s == "temp")
path = temporary_directory();
:(s == "doc")
path = Documents_Directory();
:(s == "appsup")
path = applicationsupport_directory();
:(s == "desktop")
path = Desktop_directory();
:(s == "home")
path = home_directory();
default
end case
return SystemCommand ("open .", path);
end
