v expands to a test Visa card number I use for testing at work thank expands to a standard close to my typical support email
Here's a few expands to my email addressĭdate expands to the date in this format I have quite a few of these set up for home and work that help me get through the day quicker. This is where snippet expansion comes into play. It's monotonous and wastes tons of time over the long run. You probably have things like your email address, phone number, or standard email response that you find yourself typing out all the time. If you know how apps like TextExpander and aText work, you'll have a good idea of why this is such a useful feature. Let's start with the surprise new feature first: Basic snippet auto-expansion
If you bought a Powerpack license in 2016, you get a free upgrade.Īlfred 3 enhances the things that it already did well, and added one key feature that puts this over the top for me. However, most of the new features, and things that make this such an amazing app are only available to those who purchase the Powerpack, which runs you £17 ($25 USD) for a single user license, and £12 ($17 USD) if you brought the Powerpack for Alfred 2. I should note that Alfred is free and will function as a basic, but fast app launcher on its own. I trust this developer, and I'm extremely happy to say they delivered with this excellent release.
This is why when I saw earlier in the week that developer Running with Crayons had released version 3 into the world, I went to their website and paid for the update before even looking at what new features were in the release. In terms of apps that help me get my work done, it's right up there with Photoshop, Atom, and Ulysses in letting me be as productive as I need to be.
There are few apps on my Mac that I find as indispensable as Alfred. As far as I can tell, it causes no problems for Alfred, but you use it at your own risk.App review Alfred 3 Review: More Power Than Ever I have occasionally had errors where the csv library used by the script thinks there are line breaks midway through a field - the easiest fix I've found is to open snippets.csv in Excel, then save it as csv.ĭISCLAIMERS: This is largely untested, and doesn't escape any special characters at the moment. You can then delete or replace snippets.csv and start again. (To view this folder in Finder, you'll need to find your Alfred.alfredpreferences file, right-click and click "Show Package Contents"). After a few seconds, the new snippets willl appear in Alfred's preferences.
Creating a new folder will create a new group in Alfred. Alfred.alfredpreferences/snippets/ groupname where groupname is the group where you want the snippets. json, where the text in brackets is a random string generated as the uid (used by Alfred to track usage). If all goes well, you should then have individual files in the same directory with names like any. To run the script, open a Terminal window in the same directory where you put the script, then at the prompt, type: Save your snippets in a csv file called snippets.csv as descibed above, in the same directory where you put the script. When the script is run, it will generate a file for each snippet.
Save the file importSnippets.py to a location of your choice - this should probably be a temporary folder because "any ", "Pan ", "PropTypes.any " "array ", "Parr ", "PropTypes.array " "arrayOf ", "Paro ", "PropTypes.arrayOf() " "bool ", "Pbo ", "PropTypes.bool " "element ", "Pel ", "PropTypes.element " "func ", "Pfn ", "PropTypes.func " "instanceOf ", "Pio ", "PropTypes.instanceOf() " "node ", "Pno ", "PropTypes.node " "number ", "Pnu ", "PropTypes.number " "object ", "Pobj ", "PropTypes.object " "objectOf ", "Pobo ", "PropTypes.objectOf() " "oneOf ", "Poo ", "PropTypes.oneOf() " "oneOfType ", "Pot ", "PropTypes.oneOfType " "shape ", "Psh ", "PropTypes.shape() " "string ", "Pst ", "PropTypes.string " Usage