Open a folder on the desktop from a LiveCode app

Marty Knapp martyknappster at gmail.com
Sat Jun 19 15:12:44 EDT 2021


I use:

launch url ("file:" & tPathToFolder)

—Marty

> On Jun 19, 2021, at 11:48 AM, Paul Dupuis via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> 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