create a new wunderlist task from anywhere

Post on 16-Oct-2014

948 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

This documents shows you how you can script Wunderlist to create a new task in any application.

TRANSCRIPT

Creating a new Wunderlist task from anywhere

in OS X

Open up Automator

Hint press Command + Space and type in "Automator"

Create a new Service in Automator

Set the service to receive "no input" in "any application"

Add an Automator action "Run AppleScript"

Hint: Type in "run apple"

Paste the following text into the dialog box

on runset inputText to text returned of (display dialog ¬

"Enter task" default answer ¬"" buttons {"Cancel", "Add"} ¬default button 2)

set the clipboard to inputTexttell application "Wunderlist"

activatetell application "System Events"

tell process "Wunderlist"keystroke "i" using {command down}keystroke "n" using {command down}keystroke "v" using {command down}keystroke (ASCII character 3)

end tellend tell

end tellend run

Save the Service and name it "Create New Task"

Open System Prefrences

Hint press Command + Space and type in "System Prefr"

Search for Keyboard Shortcuts

Configure the Keyboard Shortcut

1. Select Services2. Scroll to the bottom of the list and check "Create New Task"3. Double click "Create New Task" and type in the keyboard shortcut Control + Command + N

top related