AW: Open a folder on the desktop from a LiveCode app

Paul Dupuis paul at researchware.com
Sat Jun 19 15:48:42 EDT 2021


Thank you Marty and Mathias

I figured there was a simple way, but must have missed anything about 
folders under the Launch command in the dictionary. All set!



On 6/19/2021 2:48 PM, Paul Dupuis via use-livecode 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
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list