Open a folder on the desktop from a LiveCode app

Klaus major-k klaus at major-k.de
Sat Jun 19 15:50:28 EDT 2021


Hi Paul,

> Am 19.06.2021 um 20:48 schrieb Paul Dupuis via use-livecode <use-livecode at lists.runrev.com>:
> 
> 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)?

launch document pPath
## :-)

> end openFolder

Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
klaus at major-k.de





More information about the use-livecode mailing list