Page 1 of 1

Show folder of file

Posted: Thu May 05, 2022 11:26 pm
by WilliamL
Here's an odd one.

Can I have a folder opened on the desktop by the app? I'd like to be able to run my app from the 'Launchpad' and then be able to open the folder that contains all the files where that app is located. I've seen this in other apps that have 'show location of...'.

Re: Show folder of file

Posted: Fri May 06, 2022 1:37 am
by BarryG

Re: Show folder of file

Posted: Fri May 06, 2022 2:44 am
by WilliamL

Code: Select all

RunProgram("open", "-R " + #DQUOTE$ + FileToShow$ + #DQUOTE$, "")
Works perfectly!

Thanks for the direction to the thread BarryG.