We use a lot of great web apps, but sometimes it takes a lot of clicks to perform even a simple task, like adding an event to your calendar. Here’s how to collapse those steps and more into one simple address bar command.
We’ve mentioned a few ways to perform tasks from your address bar before, but you can use one method to work with tons of different services, and set them up in one session.
We captured a demonstration of how this works out in actual time saved above, in video. But let’s explain in a bit more depth why you’d want to do this, as well as how to set it up with some of our favourite productivity services.
Why Would I Want to Turn My Address Bar Into a Command Line?
The words “command line” has both positive and negative connotations; for power users, it’s a tool capable of performing complicated tasks with a few keystrokes. For beginners, it can be confusing and actually waste time. However, many of the productivity services we use today — whether it be Google Calendar, Remember the Milk, Evernote or just plain Gmail — can take quite a few clicks to perform a task.
Take Google Calendar, for example. For most people, adding events is a multi-step process: first, you have to open up the webapp, then you have to find the date of the event, click on it, and then type in the name of your event, its time, and its location into a bunch of separate text boxes. Instead of going through all that, wouldn’t it be faster to just type “dinner with mum at 7pm at Cameron’s” in your address bar and be done with it?
That’s the idea behind this system. By integrating all of your favourite services into your browser’s address bar, you don’t have to spend nearly as much time navigating their web apps. No matter what you want to do — whether it’s add a task to your to-do list, add an event to your calendar, send a quick email, or even get driving directions &mdash ;all you have to do is hit Ctrl+L and type in a few choice words. (Ctrl+L is the shortcut to highlight the text in your address bar. Memorize it and work it into your muscle memory; it’ll be your best friend for this system. Also note that on a Mac, the shortcut is Cmd+L instead).
How it Works
The gears that make this machine turn are the keyword search tools built into both Firefox and Chrome. These allow you to use short keywords to search tons of different websites, all from the address bar of your browser. However, you don’t have to use them simply for search engines — as long as you have the right URL, you can use the address bar to do just about anything.
It works like this: when you enter text on a web page, the resulting web page often contains that entered text as part of the URL (for example, a Google search for lifehacker android results in a URL of http://www.google.com/search?q=lifehacker+android. So, by finding the right URLs — for Google Calendar events, Google Maps directions, Twitter statuses, and more — we can use keywords in the address bar to submit text to any of those web sites.
Useful Services to Set Up
The sky’s the limit as far as most of these things go, but here are a few examples using our favourite web apps. Below, we’ve provided suggested names and keywords for each service, though you can change those to whatever you want — the only thing you need to keep the same is the URL.
Add Events to Google Calendar
Name: Add Calendar Event
With this, you can add specify an event name, time, and place for a new Google Calendar event. So, if your keyword for this service is cal, you could just type cal Dinner with mum and dad at 6pm at Cameron’s, and it would add the event to your calendar.
Get Directions with Google Maps
Name: Get Directions To
For this URL, you’ll want to replace from+my+home+address with your own home address. That way, you can just type maps 1 Main Street, Sim City to get directions from your house to 1 Main Street in the city of Sim City.
Alternatively, you could just use the URL http://maps.google.com.au/maps?f=q&source=s_q&hl=en&q=%s to specify the starting location as well. With this URL, you’ll have to type maps from 2 main street to 1 main street. The upside of this is that you can get directions from any starting location, but it also takes longer to type out each time.
Send an Email to a Specific Contact
Name: Send Email to Tips@Lifehacker
This command lets you send an email to a specific person. So, you won’t necessarily be able to use it to send all your emails, but if there are a few people you email especially often—like your boss, spouse, or other family member — this can be pretty handy. Just create a new one for each contact, replacing email@example.com with their email address. Then, just type in the keyword and the body of your message in the address bar to send the message using your computer’s default email program.
This is simple; just type tweet I’m eating Cheerios to update your Twitter status to “I’m eating Cheerios”.
Add a Task to Remember the Milk
Remember the Milk does have a quick add URL, but it doesn’t work quite as well as the above examples. So instead, we’re going to use its handy Twitter integration, coupled with Twitter’s quick status URL. For this to work, you’ll need a Twitter account and you’ll need to be following @rtm.
Name: Add Task to RTM
This works just like the others. So, to add the task “Paper Due” on Thursday at 4pm, just type rtm paper due on thursday at 4pm. This will take you to Twitter, where you can just hit Tab and then Enter to send the task to Remember the Milk.
Create a New Note in Evernote
Name: Create Note
You use this the same way you would Remember the Milk. To quick add a new note, just type note Grocery List: Milk Eggs Chicken in your address bar, and that note will show up in Evernote.
We’ve shown you one way to shorten URLs from your address bar, but this method’s even simpler. If you are a keyboard ninja, and don’t want to click on a bookmarklet to shorten the URL of the page you’re on, you can just type a service’s bookmarklet code into a new search engine instead. For example, to shorten URLs with bit.ly from the Address bar, create this search engine:
Name: Shorten URL
Set a Quick Alarm
Name: Set Alarm
All you need to enter is the how much time you want to add to the stopwatch, or the time of day you want to countdown to. So, to start a timer for 3 hours, 15 minutes and 30 seconds, just type time 3h15m30s To count down to 5 pm, just type time 5p. It’s much faster than adding an alarm to your phone, calendar or alarm clock program.
Reminder: Google Is Pretty Smart On Its Own
While these are some more complicated options, it’s also worth mentioning that Google can already give you smart results on its own pretty quickly. By just typing a few things in your address bar, you can get weather, movie times, unit conversions, stock quotes and even perform calculations. For the full list of what Google can do on its own (without custom search engines), check out their search tips page. Work these into your muscle memory, and you’ll greatly increase the amount of information you can grab just by typing in your address bar.
We’ve listed quite a few examples here, but this is really just the tip of the iceberg. You can do this with nearly any site that allows you to enter text — you just need to find where in the resulting URL it puts that text, and replace it with the %s variable for your custom search engine. Got any other ideas of where this could be used? Share them with us in the comments.