Action: Run Selected File in iTerm

Sharing and discussing custom actions for LaunchBar
Post Reply
beerich
Rank 4
Rank 4
Posts: 161
Joined: Thu Apr 05, 2007 11:05 am
Location: Toronto

Action: Run Selected File in iTerm

Post by beerich » Fri Sep 07, 2018 11:33 pm

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

Post Reply