Hacker News new | ask | show | jobs
by curun1r 1679 days ago
I’m not sure if I’d consider it hidden, but there’s so much that can be done with the oascript utility. The idea that most GUI apps can be queried or controlled from the command line is super powerful, even if AppleScript is somewhat obtuse.

As an example, I have shell aliases setup to cd into the folder(s) open in Finder or reference files selected in Finder.