Is it possible to open a file with processing sketch? (command line)

in Windows:
You need to export your Sketch as an exe

Then in Windows right click a txt-file, Choose Open With…

  • choose your Sketches exe
  • and check Option Box use this always