Hey, TextExpander users! Wanna see something cool? I made a little tool this morning to allow any of my TextExpander groups to be installed with your own custom prefix. You can now use whatever is “standard” for your shortcuts. All of the group links on the project page now go to this tool, and you can open it directly for access to all of my groups.
The tool lets you select the group and enter your prefix, then provides you with a download link, a URL for “Add group from URL” in TextExpander, as well as a preview of all of the snippets in the group and how their shortcuts will be modified. If you follow a link from the TextExpander project page into the tool, it will select the appropriate group and add a suggested prefix automatically.
I’m more than happy to share the process and code with anyone who wants to implement it. There are folks working to bring together a TE community site, and I’d love to see this kind of tool implemented there. I built it was a certain amount of scalability in mind, and made it as easy as possible for people to create compatible files for it.
If you want to add your own groups to my tool, let me know. I’ll come up with a way of providing attribution and possibly start a full repository here, to be mirrored or moved once a dedicated outlet becomes available.
In case you’re wondering how it works: you take a .textexpander file, run a search and replace on it to change your own standard prefix into ‘[[PREFIX]]’ and rename the file with a
.tedist extension. Drop it into a folder on the web server and it will automatically show up in the list of available groups, and the snippets preview is generated on the fly by parsing the plist via an Ajax call. No database for now, just globbing and parsing. I like it.
The code is available on GitHub for anyone who wants to play. The next step is to turn it into a community site: add a means of attribution (which will either mean a database or metadata in the .tedist files) and an uploader for contributions. Then search and organization features, of course. That’s the direction Poslavsky Alexander and I want to head with http://te-snippets.com. We’ll keep you posted.