Open a folder on the desktop from a LiveCode app

William Prothero waprothero at gmail.com
Wed Jun 23 17:27:22 EDT 2021


Klaus and others:
I love it! I can use this too.
Bill Prothero

> On Jun 19, 2021, at 12:50 PM, Klaus major-k via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> 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