recentpopularlog in

handcoding : textexpander   56

Save Time with Expert-Level TextExpander Snippets
(These looks like they could be handy TextExpander snippets to have around.)
“As you can see, it calculates the next upcoming day of the week. For example, when I look on a Wednesday for the next Thursday, I get tomorrow’s date.

“Sometimes, however, what I want is the date of next week’s Thursday. For that I use a slightly adapted version of the script and make new corresponding abbreviations like ‘nwmon’ for next week’s Monday. You can see in the table below examples from when I called the script on July 1, 2015 (Wednesday).”
textexpander  snippets  dates  2019 
april 2019 by handcoding
Typinator - Testimonials from former TextExpander users
Hmm—this makes an interesting case for Typinator over TextExpander.
typinator  textexpander  snippets  software  mac  osx  macos  2019 
march 2019 by handcoding
All the AppsWeLoved in 2018 | TextExpander
Pro tip: Open Sans at font-weight:300 (→light) actually looks pretty nice.
opensans  textexpander  software  mac  osx  macos  2019 
march 2019 by handcoding
Rachel Herbert on Twitter: "#ACESMSWordTips taught me to use Ctrl+Alt+m & AutoCorrect; #ACESEmotionalLabor to automate frequent editorial queries. Today, with 6 keystrokes, I inserted a "Will your audience know this acronym?" comment & I was like [GIF=tea
@HerbertStyles: “#ACESMSWordTips taught me to use Ctrl+Alt+m & AutoCorrect; #ACESEmotionalLabor to automate frequent editorial queries. Today, with 6 keystrokes, I inserted a "Will your audience know this acronym?" comment & I was like [GIF=tearful woman puts hand over mouth] #ACES2018”
herbertstyles  2018  word  textexpander  twitter 
may 2018 by handcoding
TextExpander abbreviation design - All this
“So, since delimited expansion doesn’t get me what I want, I use immediate expansion and a trick. The trick is to always start my abbreviations with a semicolon. There are no situations in my writing or programming in which a semicolon will be followed by anything other than whitespace. In English, a semicolon is always followed by a space; and in programming it’s almost always a statement delimiter—illegal to use in a variable name.”
textexpander  semicolons  2010  leancrew  drdrang  prefixes  snippets 
may 2018 by handcoding
Return to TextExpander - All this
"After installing TextExpander, I got a pleasant surprise. There’s now a prefix setting for snippet groups, official support for something many of us TE users had been doing for years. According to the release notes, this was added in the 6.2 release in March, so my timing has worked out well. I’m experimenting with different prefixes for different types of snippet: jj for most; kk for those that enter single keyboard-type symbols, like ⌘ and ⛄️; dd for date and time stamps; and ll for LaTeX constructs. Using different prefixes for different snippet classes was always possible, but now it’s easy to change them and try out new ones."
textexpander  leancrew  drdrang  software  mac  osx  2017 
august 2017 by handcoding
osx - Open URL in new Safari tab with AppleScript - Stack Overflow
This page has some decent AppleScript for opening a URL in a new tab in the current Safari window.

If you had wanted to add this TextExpander, it looks like you might just need to add this to the end, on its own line: return " "
applescript  textexpander  safari  tabs  2012  stackoverflow 
january 2017 by handcoding
Smart Quotes in TextExpander Form Fields - Home - Thought Asylum
"I noticed that the double quotes for the attributes were being automatically being turned into smart quotes rather than staying as the nice simple dumb quotes I needed. It wasn't something I'd noticed before and it was incredibly frustrating to correct after using the form field each time. After a bit of digging around in TextExpander preferences, etc. I finally found the rather simple solution.

"It turns out that enabling/disabling smart quotes isn't in the application's preferences. Rather it is an application field setting. I was able to access the setting by Right/CTRL-clicking on a form field whilst working on completing a snippet and under the Substitutions sub-menu there is an option for Smart Quotes. I simply disabled this."
textexpander  smartquotes  dashes  osx  mac  software  2017 
january 2017 by handcoding
TextExpander Snippet (using AppleScript) to open Wikipedia’s page of a TV show’s episode list using Google
(This actually works pretty nice — other than the part about how it opens a new window.)
"TextExpander Snippet (using AppleScript) to open Wikipedia’s page of a TV show’s episode list using Google"

… But to get this jobbie to open in a new tab, you just need to change it to:
tell application "Safari"
tell window 1
set current tab to (make new tab with properties {URL:" of episodes wiki %filltext:name=show name%&btnI=Im+Feeling+Lucky"})
end tell
end tell
safari  search  applescript  textexpander  2017 
january 2017 by handcoding
A quick AppleScript for use with TextExpander to pull the title and URL of the frontmost Safari tab out
"A quick AppleScript for use with TextExpander to pull the title and URL of the frontmost Safari tab out"
applescript  textexpander  safari  title  url  2017 
january 2017 by handcoding
Get current stream title if available, otherwise show song's current artist - name
This actually looks to be a pretty good chunk of AppleScript for getting the current track title on iTunes.
itunes  applescript  textexpander  2017 
january 2017 by handcoding
Slowing down with automation - All this
"I see four main reasons to automate a computer-related task:

"• Speed. This is the obvious one that everyone thinks of. We’ll come back to it later.
• Consistency and accuracy. Little errors often creep in when you do a repetitive task by hand.
• Conservation of concentration. Multistep tasks can take your mind off of what you’re working on. I owe this insight to John D. Cook.
• Entertainment and satisfaction. Puzzling out an automation script is way more fun than Sudoku."
automation  drdrang  textexpander  keyboardmaestro  2017 
january 2017 by handcoding
Automate to save mental energy, not time
"Suppose it takes you an hour to write a script that only saves you two minutes later. If that two minutes would have derailed your concentration at a critical moment, but it didn’t because you had the script, writing the script may have paid for itself, even though you invested 60 minutes to save 2 minutes.

"If your goal is to save mental energy, not time, you have a different strategy for automation. If a script executes faster than a manual process, but it takes a long time to remember where to find the script and how to run it, it may be a net loss. The less often you run a script, the chattier the interface should be."
automation  mentalillness  2016  keyboardmaestro  textexpander 
january 2017 by handcoding
URL format for Google's I'm Feeling Lucky - Web Applications Stack Exchange
"I have 3 or 4 keywords I want to send from my PHP page to Google and return one page as if I had gone on to Google's site and searched using 'I'm feeling lucky.'

"Does anyone know how to supply the keywords to Google?"
google  feelinglucky  urls  textexpander  2016 
december 2016 by handcoding
TextExpander Help: Detailed Release Notes
This page has the changelog / release notes / release history for TextExpander.
textexpander  changelogs  2016  software  mac  osx 
november 2016 by handcoding
Public Groups
via @TextExpander: "Switching keyboards can get complicated. Stick to the TE keyboard and just use the Emoji Public Group instead"
textexpander  2016  snippets  mac  software 
november 2016 by handcoding
How to Activate Keyboard Shortcuts in TextExpander 5 While Typing - Mac Automation Tips
This post goes over an intriguing setup in which you can use Keyboard Maestro to watch for a certain key combination, which in turn triggers a TextExpander shortcut behind the scenes.
textexpander  keyboardmaestrro  keyboard  shortcuts  2015 
november 2016 by handcoding
Safari tab URLs via TextExpander - All this
This post goes over a TextExpander snippet to get the URL of tab 1 within Safari. You can slightly modify it to get the URL of the current tab:

tell application "Safari" to get URL of current tab of front window
on error
end try

Or you can go for this to get the title of the current tab:

tell application "Safari" to get name of current tab of front window
on error
end try
safari  textexpander  2009  url  tab  title  applescript  leancrew  drdrang 
november 2016 by handcoding
GitHub - drdrang/te-url-snippets: A set of TextExpander snippets for getting and transforming the URLs of current browser pages.
"These are the TextExpander snippets I use to capture the URLs of pages I'm browsing and, in some cases, transform them. They use either AppleScript directly or Python with the appscript library and work with both Safari and Google Chrome."

The multibrowser logic works this way:

If Safari is running, regardless of whether Chrome is running, get the URL from Safari.
If Chrome is running, and Safari isn't, get the URL from Chrome.
safari  urls  textexpander  2016  snippets 
november 2016 by handcoding
davidwaterston/textexpander-dates-nextday: A small group of TextExpander snippets that can be used to quickly and easily insert any date in the next week into a document, by referencing it by name.
These are “a small group of TextExpander snippets that can be used to quickly and easily insert any date in the next week into a document, by referencing it by name. For example, to insert the date of the next Friday after the current date, simply type ;nfri."
textexpander  snippets  dates  2016 
august 2016 by handcoding
Moving TextExpander Snippets to Keyboard Maestro
This post offers a Python script that can migrate one’s TextExpander snippets to Kebyoard Maestro.
keyboardmaestro  textexpander  migration  python  2016 
august 2016 by handcoding
Use Regular Expressions in TextExpander via JavaScript | Smile
This page offers a decent-ish shell for starting a JavaScript-based TextExpander snippet (especially for regex-based bits).
regex  textexpander  javascript  2016 
july 2016 by handcoding
javascript - JS regex to split by line - Stack Overflow
On splitting a JavaScript string into its component lines:
result = subject.split(/\r?\n/);
Your regex returns line1 twice because line1 is both the entire match and the contents of the first capturing group."
javascript  regex  strings  textexpander  2014 
july 2016 by handcoding
Introduction to JavaScript for Automation Release Notes
(In case you get ever like to try using JavaScript Automation within TextExpander:)
"JavaScript for Automation provides the ability to use JavaScript for interapplication communication between apps in OS X.

This document describes significant changes to JavaScript for Automation (JXA) and related tools in OS X."
javascript  textexpander  2016  apple  documentation 
july 2016 by handcoding
TextExpander Tools -
This TextExpander script looks like it could be handy:
"Next X [5-31-15]
Insert the date for the next occurrence"
dates  textexpander  2016  bretterpstra 
july 2016 by handcoding
Mass creating TextExpander snippets -
This page offers a Ruby script that lets you import a block of snippets into TextExpander via a CSV file.
textexpander  excel  csv  2013  brettterpstra  import 
june 2016 by handcoding
TextExpander tip: In Excel, Triple Click Does the Trick | Smile
(Perhaps triple-clicking might be a thing to try in Excel?)
"Instead of inserting text into a cell (which is what happens if you just click on the cell), you are editing a cell (which is what triple-clicking does) and then entering the information. This now works like you would expect."
excel  mac  software  textexpander  2007 
june 2016 by handcoding
Excel 2016 does not play nicely with clipboard apps like TextExpander - Microsoft Community
This post (from September 2015) talks about some potential weirdness between Excel 2016 and TextExpander.
textexpander  excel  office  2016  software 
june 2016 by handcoding
Access Tons of Snippets Easily Using Inline Search | Smile
"I often send customers instructions on how to provide a screen shot, a handy item to have as a snippet, but I haven’t memorized the abbreviation for it. I simply type: screen, followed by the Inline Search hotkey, then I’m presented with a list of all snippets whose content, label, or abbreviation include “screen.” There are keyboard shortcuts for the first nine matches, allowing me to hit the shortcut and my snippet expands."
textexpander  software  2016 
may 2016 by handcoding
Sample JavaScripts for TextExpander 5.0 / TextExpander touch 3.5 | Smile
"TextExpander 5.0 and TextExpander 3.5 add support for JavaScript snippets. JavaScript includes a very nice math library, so in addition to having snippets which run on both OS X and iOS, there are a number of snippets which are easier to write. Here are some examples of snippets you can make by setting the Content: menu of a new snippet to JavaScript, and pasting the following into the editor."
textexpander  javascript  quickreference  2016 
may 2016 by handcoding
Group: Text - Thought Asylum
This page has heaps of TextExpander snippets covering things like case conversion, text padding, tabs to spaces, and spaces to tabs.
textexpander  snippets  convert  case  tabs  spaces  2015 
may 2016 by handcoding
TextExpander: Clipboard Underlining - Home - Thought Asylum
This post goes over a trick of using JavaScript snippets with functions within TextExpander.
textexpander  2015  javascript  snippets  functions 
may 2016 by handcoding
A little more TextExpander - All this
"Ryan, though, is made of sterner stuff. He’s wrote the script I shied away from. It digs into your TextExpander settings file, extracts all the plain text, AppleScript, shell script, and JavaScript snippets, and builds Keyboard Maestro macros for each of them, saving them to your Desktop so they can be imported into Keyboard Maestro. It even preserves the snippet folder structure created in TextExpander."
textexpander  keyboardmaestro  2016  drdrang 
april 2016 by handcoding
TextExpander and App Rental
On TextExpander alternatives:
"On the Mac and iOS TypeIt4Me works. It's not as good as TE but it does a lot of what most people need. (UPDATE: TypeIt4Me can also import TE snippets. I just recreated them instead) Typinator is made by Ergonis which is a reliable longtime Mac developer. Alfred is just fine for basic snippets on the Mac but aText is probably the better option if you don't like TypeIt4Me or Typinator.

"Keyboard Maestro is far more powerful than TextExpander on the Mac but lacks any useful functionality on iOS. It's also more difficult to wrangle for some people. For me, Keyboard Maestro is a major step up from TextExpander and I'll make the transition with ease."
textexpander  software  mac  alternatives  2016 
april 2016 by handcoding
Ooh—these JavaScript-based snippets for TextExpander look rather intriguing.

"@JackWellborn: Those who regularly file bugs and are considering @TextExpander, but question the cost, consider the following…"
javascript  textexpander  2016 
april 2016 by handcoding
Throwaway TextExpander Snippet Tips — MacSparky
"Don’t forget that you can have the same fill-in snippet repeat multiple times in a single TextExpander snippet. To do so, simply copy and paste the snippet syntax (e.g. %filltext:name=Sample Fill In%) in the snippet wherever you want it to appear. Then, when you trigger the fill-in snippet typing it once in the first instance fills it in at all of its other instances."
textexpander  fillins  snippets  2016 
march 2016 by handcoding
How A Lazy Person Writes In Markdown
"When writing in Markdown there are four primary ways I create links. Two use TextExpander and two harness Keyboard Maestro3."
markdown  textexpander  2016 
march 2016 by handcoding
TextExpander 5 JavaScript snippets -
"I mentioned the release of TextExpander 5 last week, and the fact that it now allows snippets to be written using JavaScript.

"You can find the documentation for JavaScript in TextExpander in the help book. I started playing with it a bit over the weekend, and thought I’d share a couple of findings."

Also, this example script looks like it could be handy in its own right:
"As an example of some of my experimentation, I’ve added a new group to the TE-tools called “Next X.” It provides a JavaScript strftime library, which it nests into snippets for each day of the week. Then you can use nd.tue to insert the date for the next Tuesday in the calendar while typing. nd.sun through nd.sat are available.

"By default, dates are inserted in the format “Tuesday, June 02.” Each snippet has a line at the top like this:"
textexpander  javascript  scripting  snippets  2015  bretterpstra 
february 2016 by handcoding
Fun with TextExpander and Scripting | Smile
"TextExpander 5 adds support for JavaScript snippets, which can be run on all of your devices – Macs, iPads, and iPhones. Here is a sample script which rounds the current date to the nearest 5 minute interval:"
textexpander  javascript  snippets  2016 
february 2016 by handcoding
TextExpander Snippets — MacSparky
These TextExpander snippets — such as for Markdown, and date and times — look like they could be pretty handy.
textexpander  snippets  2016  mac  osx  software 
january 2016 by handcoding
textexpander snippet repository - Google Search
Oh, neat—a Google search for “textexpander snippet repository” turns up all sorts of promising-looking sites.
textexpander  2015  software  mac  snippets 
december 2015 by handcoding
Biting the TextExpander bullet - All this
"Changing the prefix on all my [TextExpander] snippets was pretty easy, thanks to my reaffix script. Here are the steps I took:"
TextExpander  leancrew  drdrang  2015  snippets 
september 2015 by handcoding
Smile Blog: All About Suggested Snippets
"As you type, TextExpander will let you know what you type the most, and suggest you make it into a snippet.

"You may have noticed these suggestions appearing in the corner of your screen through Notification Center."
textexpander  snippets  suggestions  software  mac  osx  2015 
september 2015 by handcoding
JavaScript date manipulations in TextExpander - All this
"fiddling with the arguments to the format method, you can get pretty much any output you like. And the great thing is that unlike AppleScript snippets, JavaScript snippets can be used in both the OS X version and the iOS version (as long as you don’t invoke any JavaScript for Automation functions)."
javascript  dates  textexpander  2015  drdrang 
july 2015 by handcoding
Fixing TextExpander prefixes - All this
"Luckily for me, the Python Standard Library includes the plistlib module, which has several methods for reading, parsing, and writing plist files. I used it to make a little script for changing the prefixes (and suffixes, if that’s what you’re into) of snippets in a TextExpander library. I call it reaffix, and I typically use it this way:"
textexpander  snippets  python  prefix  2015 
july 2015 by handcoding
Erm - All this
This post goes over some basic TextExpander snippets to replace certain parts of the clipboard text (such as replacing spaces with hyphens).
textexpander  clipboard  drdrang  leancrew  2011  perl  replace  regex  regexp 
january 2015 by handcoding
TextExpander | EmmaTech
"Maybe you need to URL encode a string, hyphen­ate a bunch of words together or remove all HTML tags from some­thing in your clip­board. Thanks to reg­u­lar expres­sions and text for­mat­ting libraries in Python, Ruby, Perl or any other script­able lan­guage, this is easy as pie."
textexpander  2011  regex  regexp  replace  snippets 
january 2015 by handcoding
Show Time in Multiple Time Zones with TextExpander
"In an effort to eliminate the need for people to convert times themselves, I wrote a TextExpander snippet to take care of it for me."
textexpander  2015  time  timezones 
january 2015 by handcoding
TextExpander snippet prefixes again - All this
"Today I added another script to the repository on GitHub. This one, called teprefix, changes the abbreviation prefixes in a TextExpander library file."
textexpander  snippets  software  2011 
june 2014 by handcoding
A list of contractions with curly apostrophes for TextExpander - Chainsaw on a Tire Swing
"I created 131 common contractions that will get automatically changed to use the curly equivalent."
contractions  typographny  quotes  textexpander  apostrophes  2012 
december 2013 by handcoding
My top five TextExpander snippets | Macworld
Among others, this post goes over a TextExpander snippet to paste the clipboard as plain text.
textexpander  snippets  clipboard  plaintext  2013 
may 2013 by handcoding
TextExpander: Change Clipboard Case - Home - Thought Asylum
This post goes over a handful of TextExpander snippets to convert clipboard text to uppercase, lowercase, title case, and sentence case.
textexpander  clipboard  uppercase  lowercase  titlecase  sentencecase  snippets  2011  software 
may 2013 by handcoding
A Quick Guide to Common Miscapitalizations of Tech Names — Shawn Blanc
"Below are listed the proper spellings and capitalizations of certain tech names which are commonly capitalized incorrectly."
language  spelling  2011  textexpander 
september 2011 by handcoding
The Mac Text Expansion Faceoff - Lifehacker
This is that LifeHacker post that compares TexExpander and various other text-expanding apps (as of February 2011). Other apps include: Snippets, TypeIt4Me, and Typinator. (Their favorite ended up being TypeIt4Me.)
textexpander  apps  osx  software  lifehacker  comparison  2011  canonical  mac 
may 2011 by handcoding

Copy this bookmark:

to read