Page 1 of 1

Action: Run Selected File in iTerm

Posted: Fri Sep 07, 2018 11:33 pm
by beerich
Hi folks.

Continuing in a new thread I started ages ago...

I'm trying to run a selected file in the Finder, inside iTerm. i'm thinking I could use AppleScript, but bash is what I'm focussing on. Originally I was thinking this is all about running ruby scripts, but bash scripts can be done as well. I guess I could sniff out the file suffix and perform each accordingly.

But my question is, how do I capture the file path using Send To...

Cheers