Open a folder on the desktop from a LiveCode app

Paul Dupuis paul at researchware.com
Sat Jun 19 14:48:07 EDT 2021


What is the "best" way (or any way) to open a folder on the Windows 
desktop from a Livecode script.

For example:

on openFolder pPath -- where pPath is the path and name to a document (file)
   set itemDel to slash
   delete last item of pPath -- leaves the the path to the folder 
containing the document
   -- now, how do I open this on the desktop (i.e in Explorer)?


end openFolder





More information about the use-livecode mailing list