Hi Ted,

I understand, I too spent some time looking for an approach that was ever
so more slightly automagical. Interested to see what you come up with.

It is possible call a script to populate the text within BBEdit clippings:

 #script /Users/me/example/folder/Script.scpt#

Presumably this could open a dialog to present options before the clipping
is inserted.

Trouble was, I couldn’t see a mechanism to pass arguments to the script
upon execution. As a result every clipping would need it’s own script. This
makes the shortcuts BBEdit provides to edit and create clippings “on the
fly” less useful.

I went with requiring an additional shortcut to extract the options. This
had the possibly useful side effect of allowing the same mechanism to work
on any text selection – not just clipping contents.

Cheers
Ollie

—
@ollicle

On 12 May 2015 at 18:19, Gustave Stresen-Reuter <tedmaster...@gmail.com>
wrote:

> Thanks for sharing! Not quite what I'm looking for but definitely on the
> right track. Ideally, I'd like something that is triggered when the
> clipping is inserted so I can just keyboard navigate through a dialog
> setting the required parameters. If I ever get any free time (not likely,
> but one can always hope) I'll take what you've done and see if I can work
> it into my own workflow and share that.
>

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.

Reply via email to