Thursday, October 3, 2013

How to Create Custom Voice Commands with Tasker and AutoVoice


Voice actions are one of the fastest, most useful ways to control your phone or search the web. Google Now already has a lot built-in, but with Tasker, you can create a voice command for just about anything you can imagine, turning your phone into a Star Trek-caliber personal assistant.. For this guide, we're going to be using Tasker and AutoVoice primarily, focusing on the new UI. If you don't already have either of these apps, they're certainly worth paying the few bucks for. Not that you needed to be told that. You guys love Tasker. So, let's get started. What is AutoVoice? Put simply, AutoVoice is a much-improved version of the included Get Voice function already included in Tasker. It allows you to create custom voice commands that trigger any set of Tasker commands with a single word or phrase. It even includes a continuous listening mode so your phone can passively monitor for those key phrases without any physical input on your part. Set Up an AutoVoice Trigger
So, how do you set it up? Well, that depends on the method you want to use. You'll need to trigger AutoVoice one of two ways: manually, or continuously. Since the continuous mode will drain battery (and has big scary beta warnings all over), we'll start with Manual mode. If you're using a device that runs Jelly Bean or higher, we'll start by hijacking the Google Now command (since you can still get to the same functions from the Google search box). However, you can modify the following instructions to trigger AutoVoice with any Tasker state: Note: If you want to use the Google Now-style launche I'm doing, install Assistant Event for Tasker from the Play Store (this allows you to commandeer the normal Google Now gesture). Otherwise, you can alter the instructions below to create your own unique trigger. Create the AutoVoice listening trigger profile: In Tasker, under Profiles tap the plus sign to create a new profile. Select "State." Select "Plugin." Select "Assistant Event for Tasker." Tap the "Edit" button next to "Configuration." (This will automatically "configure" the plugin, you won't need to actually edit anything.) Tap the back arrow at the top left to get to the main page of the app, where you'll be prompted to create a new task. Create the AutoVoice trigger task: Name it "Listen for Commands." Tap the plus sign to add a new Action. Tap "Plugin." Select "AutoVoice Recognize." Tap "Edit" next to "Configuration" and tap the checkmark (no changes needed here). Tap the back arrow at the top left to get back to the main page of the app. With this in place, you're ready to start creating custom commands. Now, if this is how you'd like to trigger your custom commands, skip ahead to the sections below for actually doing cool stuff. However, if you want your phone to continuously listen for voice commands without action (and get all Kirk with your Android), follow these instructions instead: Create the AutoVoice continuous listening trigger: Under Profiles tap the plus sign to create a new profile. Select "State." Select "Display." Select "Display State." Set "Is" to "On." Continue actions for creating the AutoVoice trigger task in step 3 above. This particular implementation will result in your phone only listening for commands when your display is on. You can instruct it to listen when the display is off, but this can already be a huge battery drain as is. I would not advise trying this option. Create Custom Hotwords For Your Commands
Once you have AutoVoice set up to listen for commands however you choose, you can start creating custom commands. Each voice command can be used to trigger any regular Tasker task, many of which are already insanely powerful. To get started, you'll need to create a profile for each command: Under Profiles, tap the plus sign to create a new profile. Tap "State." Tap "Plugin." Select "AutoVoice Recognized." (Note: this is distinct from "AutoVoice Recognize" mentioned in the previous section.) Tap "Edit" next to Configuration. On this screen, you can choose what your command is and how it behaves. Tap "Command filter" to type the word you want Tasker to recognize, or "Speak Filter" if you want to say it aloud (both perform the same function in different ways). Select a word to activate your command and tap the checkmark. Note: Some tasks may require you to check "Event Behavior" on this screen which will cause the actions to only be run temporarily. However, for things like altering settings, leaving it unchecked will be necessary. Tie Your Commands to the Immense Power of Tasker From here, you'll be prompted either to create a new task or choose from an existing one. A world of possibilities is open to you at this point, and it would be outside the scope of this article (or entire sites) to fully explore. However, there are still plenty of examples to get you started. Send a canned text message to a contact. Create a new task under Tasks. Give your task a name (i.e. Text NAME) Tap plus sign to add a new action. Tap "Phone." Select "Send SMS." Enter a phone number and a pre-set message. Optional: Check "Store in messaging app" if you'd like to keep a record of sent messages. Tap the back button at the top left. Change multiple settings in a single set. Create a new task under Tasks. Name it (i.e. Home Settings) Tap plus sign to add a new action. Tap "Net" and select WiFi. Choose "On" under "Set." Tap "Net" and select "Bluetooth." Choose "Off" under "Set." Tap "Misc" and select "GPS." Choose "Off" under "Set." Tap the back button at the top left. Under the AutoVoice profile settings detailed in the, make sure "Event Behavior" is unchecked as mentioned above. These are extremely basic examples, but part of the beauty of Tasker is that it can be extended to a huge number of tasks. As previously mentioned, you've already shared many of your Tasker actions, and if you have a home automation system, Tasker and AutoVoice can be used to create an impressive set of voice commands to control your entire home entertainment system with a little work. Tasker can be daunting, but this should at least help you get started with voice commands.

The Best and Worst Careers, Based on Job Outlook and Work Environment


Finding the right career involves a lot of trial-and-error and research. On the research front, take a look at this infographic highlighting the best and worst careers, according to salary, projected job growth, and, simply, how much the job environment sucks. The graphic was compiled by private lending agency Cedar Education Lending, and it uses data from the Bureau of Labor Statistics and CareerCast's annual ranking of 200 jobs. STEM (science, technology, engineering, and math) fields, as you've probably already guessed, are high up on the list. Newspaper reporters and lumberjacks, sadly, are at the bottom. Here's the full graphic, which also identifies BA degrees with the best job opportunities:

Our New iPhone Liveblog Starts Right Here, Right Now


Welcome friends! In just a few hours, Apple's going to take the wrapping off of the updated iPhone 5S and the all new, budget-friendly iPhone 5C. We'll be covering it all live, right here. Join us! The keynote kicks off at 1PM EDT/10AM PDT, but we're firing up the ol' liveblog machine about an hour beforehand. In the meantime, check out our iPhone 5S predictions here, our iPhone 5C theories here, why that rumored goldpagne iPhone actually makes sense here, why we already seem to know so much about what's happening tomorrow—and why that's a little sad—here, and why none of it's nearly as important as iOS 7 here.

Have Your Party Where You Like with a Rolling Bar Cart


Chris used pieces from a wooden pallet to create a rather attractive rolling bar cart. He built the cart using a single pallet and pieces of steel for the front legs. The hole for the drawer makes use of the slots in the pallet used by forklifts. A big thanks to everyone who took the time to send us entries! Be sure to check back every week for a new challenge.

Create a Charming Rustic Headboard


Earlier in the year, Alan's girlfriend bought a new bed and dropped Alan some hints about wanting a custom headboard. Remembering that she liked other headboards she'd seen made from wooden pallets, Alan knew what he had to do. He created the headboard using the better-looking boards from the top of the pallet and coated them with wood finish and polyurethane. He used extra boards from the pallet on the back as connector pieces and 2 long 2x4s as end pieces. This was Alan's first project and we say nice job, Alan!

Honorable Mentions


Make the Best of a Small Patio with a Vertical Planter Denis408 has a tiny back patio. To make better use of the space and brighten up the view out the back door, he built a vertical garden using a wooden pallet, a pair of eight foot garden stakes, soil, and starter plants. It's a simple, pretty construction that adds a bit of life to an otherwise wasted area. Check out his blog entry if you're interested in details on the construction.

Build a Simple Gate From a Wooden Pallet


The difficult part when building gates isn't the posts or the hardware; it's piecing together the actual gate. Benjy decided to skip over this part by simply using wooden pallets instead. The gate uses two full wooden pallets attached to sunken posts using standard gate hinges. If you decide to build this yourself, we'd suggest driving some screws into the slats on the pallets to add a little extra strength to the project.