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

2021-06-23 Thread William Prothero via use-livecode
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 > wrote: > > Hi Paul, > >> Am 19.06.2021 um 20:48 schrieb Paul Dupuis via use-livecode >> : >> >> What is the "best" way (or any way) to open a folder on the Windows

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

2021-06-23 Thread Bob Sneidar via use-livecode
Oooh nice. I have a use for that. Bob S > On Jun 23, 2021, at 11:43 , Eller, Roger via use-livecode > wrote: > > I like to use the full path to the file and use the /SELECT switch. This > opens the folder AND selects the file. > > > on mouseUp > > set the hideConsoleWindows to true >

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

2021-06-23 Thread Eller, Roger via use-livecode
I like to use the full path to the file and use the /SELECT switch. This opens the folder AND selects the file. on mouseUp set the hideConsoleWindows to true get shell("explorer.exe /SELECT," & quote & tPathToFile & quote) end mouseUp ~Roger From:

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

2021-06-19 Thread Klaus major-k via use-livecode
Hi Paul, > Am 19.06.2021 um 20:48 schrieb Paul Dupuis via use-livecode > : > > 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

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

2021-06-19 Thread Paul Dupuis via use-livecode
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

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

2021-06-19 Thread matthias rebbe via use-livecode
launch document tPathToFolder would also work Regards Matthias > Am 19.06.2021 um 20:48 schrieb Paul Dupuis via use-livecode > : > > 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

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

2021-06-19 Thread Marty Knapp via use-livecode
I use: launch url ("file:" & tPathToFolder) —Marty > On Jun 19, 2021, at 11:48 AM, 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

Open a folder on the desktop from a LiveCode app

2021-06-19 Thread Paul Dupuis via use-livecode
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