Too many wrappers - a PopClip Extension
It started last night when I put together a little app that could generate PopClip extensions. I’m embedding the video for it at the end of this post because it was really fun to make, but I’ve decided not to distribute it for a while. I have future plans to make it useful, but for now its functionality can be replicated with the “Options” dictionary that I hadn’t noticed before in PopClip extensions. It allows you to build a config panel right in PopClip.
The extension I made to test this out is called “Too Many Wrappers,” or just “Wrappers” for short. It’s similar to some of my other extensions in that it just surrounds your text with, well, other text. Bolding in Markdown, for example, takes two asterisks on both sides. But what if you want to use the equivalent two underscores? This extension lets you customize.
You can add prefixes and suffixes for up to three different wrappers, triggered by clicking, clicking with the Command key down and clicking with the Option key down. You can put any text into either box.
When installing the extension, the initial blank options will appear for setup. They can be accessed and edited again by going into edit mode (clicking the pencil at the bottom) in the plugin panel and clicking the gear icon next to “Wrappers.”
Too Many Wrappers is included in BrettsPopClipExtensions, download below. Source is up on GitHub. If you’re curious about adding options to an extension, see the Config.plist file for this one.
Also, here’s that amazing video for an app that really does nothing.
Brett's PopClip Extensions v1.45.2
Download Brett's PopClip Extensions v1.45.2
A few PopClip extensions for Markdown writing and other useful tools
Updated 02/07/23. Changelog