How to open multiple files in different tabs?

I want to use the command line on my Mac to open several folding text files, one per tab. Is this currently a feature?


There’s nothing that FoldingText does specifically to enable this… FoldingText opts into the tabs UI provided by the macOS cocoa frameworks… but doesn’t add custom behavior that I remember.

So if such a thing is possible in another app (such as TextEdit) then the same approach should work with FoldingText I think. With some work I think you can probably do this with AppleScript along the lines of:

  1. Run AppleScript from the command line

  2. And then merge all window, except remember to target FoldingText app instead of Finder as the example shows

Merge all windows! Excellent.