Launching a Finder Window on MacOS using JSLI often find it useful to launch a window containing files in a specific folder. On windows it is trivial, you just provide the directory path as input to the Open function:
open( convertFilePath("$Documents") )
This doesn't work on MacOS.
Any ideas how I can achieve the same outcome on a mac?
Re: Launching a Finder Window on MacOS using JSLHi @David_Burnham,
Here's a method I've used with my Mac scripts using RunProgram():
exampleDir = Pick Directory();
RunProgram( Executable( "/usr/bin/open" ), options( {exampleDir} ) );
@julian
Re: Launching a Finder Window on MacOS using JSLThanks Julian.