Multiple “Replace All” with a single keystroke?

39 views
Skip to first unread message

Charles Meyerson

unread,
Mar 9, 2024, 7:48:55 PM3/9/24
to BBEdit Talk
I’m a longtime (decades!) user of and fan of BBedit who, somewhat stupidly, has never explored the potential of Text Factories or Text Transformations and so must ask an embarrassing question:

I have a series of (6) “Replace All” commands I perform daily, in sequence in BBedit, and it’s only just now occurred to me that I might perform all of these with a single keystroke (or a single click). But the interface for doing so perplexes me. 

Is this a Factory thing or a Transform task? I just want to perform these commands in the single open-for-editing window, so Factory seems overkill. But, unlike Factory, when I open my existing Replace All commands in Transform (the “g” menu), they’re all grayed out (can’t be added).

Alternatively, is there a way to invoke an existing Factory without leaving the BBedit file on which one is working in the moment?

Grateful for any guidance you can share —

CM

Rich Siegel

unread,
Mar 9, 2024, 8:47:24 PM3/9/24
to BBEdit Talk
On 9 Mar 2024, at 18:58, Charles Meyerson wrote:

> I’m a longtime (decades!) user of and fan of BBedit who, somewhat stupidly,
> has never explored the potential of Text Factories or Text Transformations
> and so must ask an embarrassing question:
>
> I have a series of (6) “*Replace All”* commands I perform daily, in
> sequence in BBedit, and it’s only just now occurred to me that I might
> perform all of these with a single keystroke (or a single click). But the
> interface for doing so perplexes me.

A Text Factory would be an appropriate solution here. You can place the finished factory in your Text Filters folder (available via the Folders submenu on the BBEdit application menu), at which point it's available under the "Apply Text Filter" submenu of the Text menu, and choosing it will process the active document.

R.

--
Rich Siegel Bare Bones Software, Inc.
<sie...@barebones.com> <https://www.barebones.com/>

Someday I'll look back on all this and laugh... until they sedate me.

Charlie Meyerson

unread,
Mar 9, 2024, 9:32:50 PM3/9/24
to bbe...@googlegroups.com
Thanks, Rich! This did the trick. I even now have a single keystroke shortcut to invoke it, thanks to the Menus & Shortcuts setting (which, again, duh, I never looked for).

Now, go enjoy your Saturday night!

--
This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "sup...@barebones.com" rather than posting here. Follow @bbedit on Twitter: <https://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+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/E5522196-6971-438B-8E1E-74FCE119E952%40barebones.com.
Reply all
Reply to author
Forward
0 new messages