February 14, 2017

Quick Browser Open

TE Chrome Puzzle

TextExpander and Chrome really integrate well together.

I have a TextExpander snippet that allows me to take clipboard of a Jira ticket and open up the page in Chrome.

This is very easy to implement and saves me a lot of time.

Before:

  • Copy the text.
  • Open a new browser tab
  • Navigate to my company Jira page
  • Paste the clipboard content in the search box
  • Click the 'Search' button
  • Read the ticket description

Now:

  • Copy the text
  • Type my keyboard short cut, for me its: qy
  • Read the ticket description

Clearly you can see how valuable TextExpander is saving in productivity.

TextExpander Script

This is the simple AppleScript to make it happen:

Chrome Apple Script

tell application "Chrome"
     activate
     open location "https://company.atlassian.net/browse/%clipboard"
end tell

Additional Benefits

There are a lot of other users that you can implement by using TextExpander and Chrome.

Cool Example:

You can do a search in Google, Bing, and Duck-Duck-Go at the same time using the content of your clipboard. Each search engine would open it its new tab. Now you can see which search engine is really better for you.

This tip is building off of a technique that I posted about last month:

tell application "Google Chrome"
set searchWord to "%clipboard"
set websiteList to {"https://www.google.com?q=", "http://www.bing.com?q=", "http://www.duckduckgo.com?q="}
repeat with theURL in websiteList
   set myVar to theURL & searchWord
   set myTab to make new tab at end of tabs of window 1
  set URL of myTab to myVar
end repeat
end tell

Implementing TextExpander

To use these tips, you need TextExpander. They can be done in other tools, but I have found TextExpander to be a faster way to implement Apple Scripts.

Comments

Add your Comments

Feel free to leave a comment about this post.

- Feel Free to add HTML to your comment!