The following works here on Mac/Win/Linux with LC 6/7/8/9.
All my newer stacks have a menu (small square at top left)
to do that for each path item of the current stack path.
## Opens the folder that contains the file pFolderFile
command openWorkingFolder pFolderFile
set itemdel to "/"
put item 1 to -2 of pFolderFile into t
set itemdel to ","
if the platform is "linux" then
try
launch document t
get shell("xdg-open " & quote&t"e)
end try
else launch document t
end openWorkingFolderInFinder
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode