Asana

Sharing and discussing custom actions for LaunchBar
Post Reply
nypaloto
Posts: 7
Joined: Fri Dec 12, 2014 8:42 pm

Asana

Post by nypaloto » Wed Feb 18, 2015 3:34 am

We're (currently) using www.asana.com for project and task management. There's an integration with Alfred: http://mannieschumpert.com/quicktask/. Is this anything that's (easily) done with Launcher as well?

Thanks!

martino
Posts: 1
Joined: Tue Mar 10, 2015 9:37 pm

Re: Asana

Post by martino » Tue Mar 10, 2015 9:42 pm

Hi nypaloto,

Have you been able to figure out a solution? I was a long time OmniFocus user and moved over to Asana about a year ago. One of the things I miss most is the ability to add tasks from different interfaces. A Launchbar integration would solve this and improve both apps/services. Please let me know if you've stumbled upon anything. Thanks.

Martin

andrewgl
Posts: 4
Joined: Tue Dec 03, 2013 7:51 pm

Re: Asana

Post by andrewgl » Fri Mar 13, 2015 5:51 am

I had the same problem, and drafted this very crude code to assist. If anyone can improve it, feel free. I've been using it for months now, without much of a problem, although it will not work if you're not connected to the Internet.

Save this as an AppleScript, then find it using Launch bar and use Enter to get the dialog box.

Code: Select all

##Set these variables using the designated ID numbers from Asana
set apiKey to "CHANGE_ME"
set workspace to "CHANGE_ME"
set assignee to "CHANGE_ME"
## Setup Complete

display dialog "New Task" default answer ""
set task to text returned of result

set request to "curl -u " & apiKey & ": https://app.asana.com/api/1.0/tasks -d \"assignee=" & assignee & "\" -d \"name=" & task & "\" -d \"workspace=" & workspace & "\""

do shell script request

Post Reply