This snippet will create an HTML image tag complete with image dimensions and the Alt tag. If your doing work in an editor and want a quick way to add the image tag in your code, this can come in handy. This is a neat piece of code that will create a image tag based on the most recent image on the desktop. In addition, if Apple or Chrome should change the Javascript functionality, I'll only have to change it in one place. I created a rich text snippet for email and Word DocumentĪs you can see, it's really handy to have a couple of base snippets that are being used by other snippets. Very useful when the page title is suitable for a link:Ĭreate the anchor tag with the Chrome URL and put the cursor where I can enter in the link textĬreate a link to the site using the content of the clipboard as the link text These are useful to have as I may want to display the URL differently depending on what applications that I am using. Set theTitle to TITLE of active tab of window 1Īlong with that setup, I have several other Snippets that references the above snippets. Set theURL to URL of active tab of window 1 I have two Snippets setup, one to get the URL and one to get the title of the page: Simple setup to get the URL in TextExpander This is useful when I want to share the URL in an email, Slack or a blog post. We have more useful workflow examples right here.Using TextExpander and AppleScript, I can easily get the current URL of the Chrome browser. After playing with the power of the fill-in and date options of TextExpander, the sky is the limit to how you can automate your typing and focus on what matters! These are snippets that I use regularly, and my computer feels broken if TextExpander isn’t installed. This is so much faster than switching to another application, typing your snippet to test it, and then switching back to tweak it! Keep in mind that when you’re creating snippets, you can click the eye button in the bottom right of the snippet editor to preview the snippet as you currently have it set up. I can set it up so if I type tomorrow, then I get the date for tomorrow formatted how I prefer: Friday, September 6 2019. This lets you add or subtract everything from seconds to years. TextExpander can do more than just type out the date in a specific format for us – it can do date math too. Dates are something that usually take a few moments to look up in our calendar and type out manually. The next feature you should take advantage of is date snippets. This is ideal for different sign-offs at the end of a message, or where you might want formal, semi-formal, and casual options, for example. These are for “either/or” options where you choose one of a list of items to insert into your snippet. Tying in with the optional sections is the popup menu. The idea here is you will uncheck the words, sentences, or paragraphs you don’t want to include. The optional section is special, as it gives you checkboxes next to areas wrapped in the optional part tags. Each field gets a name which helps prompt you as to what information to fill in where. They’re fields for typing text and give you either a single line of space or multiple lines where you can type text. The single line and multi-line fields are fairly self-explanatory. The last but one option is called Fill-ins and, as you might expect, it allows you to insert a fill-in field. In TextExpander, start by creating a new snippet or editing an existing one, and look at the menu running across the top of the snippet editing area. The purpose of a fill-in snippet is that when you type your abbreviation, a small window pops up so you can fill in the unique pieces of information instead of relying on your (usually imperfect) memories to replace the unique parts manually. TextExpander is a very popular application that helps you avoid typing repetitive bits of text, but most people I know don’t take advantage of a few of its more powerful features: Let’s start with fill-in snippets! Fill-in Snippets
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |