iGTD

Sharing and discussing custom scripts for LaunchBar

iGTD

Postby norbert » Tue Jul 03, 2007 8:32 am

iGTD comes with a command line tool named "sendtoigtd" that can be used to quickly create new iGTD tasks via LaunchBar. For most convenient access you can invoke this tool using the following AppleScript:

Code: Select all
on handle_string(s)
   do shell script "/Users/me/Library/Scripts/sendtoigtd \"" & s & "\""
   open location "x-launchbar:hide"
end handle_string

First you must modify the script so that it points to the actual location of the command line tool. Just replace /Users/me/Library/Scripts/sendtoigtd with the path where you've actually stored the "sendtoigtd" tool.

Then put the AppleScript in your ~/Library/Scripts folder and re-index the Scripts indexing rule in LaunchBar.

Now you can select the script in LaunchBar (e.g. by typing an abbreviation such as NI or IG), press the space bar, enter the task details and hit Return. You can for example enter:
Code: Select all
Some important task!

to create a high priority task, or enter
Code: Select all
@home clean the windows

to put the task in the "home" context, and so forth.

Here's a brief summary of the syntax:
  • Append "!!" to the task name for creating a highest priority task
  • Append "!" to create a high priority task
  • Append "?" to create a low priority task
  • Append "??" to create a lowest priority task
  • Prepend "@someCategory" to put the task into the specified context (1)
  • Append "[someProject]" to attach the task to the specified project (1)
  • Append e.g. "#next week" to specify a due date (2)
  • Append e.g. "#today," to specify a start date (note the trailing comma!) (2)
  • Append "{someTag,otherTag}" to specify some tags
  • To enter a task note, append it to the task name, separated by a colon
(1) The category project name can be abbreviated, it's sufficient to enter just the first few letters.
(2) You can use relative date specifiers such as "today", "tomorrow", "next week" as well as explicit dates.


Note that you can also combine all these elements, e.g:
Code: Select all
@home buy light bulbs! [shopping]
@hom buy light bulbs! [sho] #next week
@work call peter?? : invite to meeting {phone,office} #monday,friday
norbert
Objective Development
Objective Development
 
Posts: 538
Joined: Thu Nov 09, 2006 5:30 pm

perfect...! thanks a bunch...

Postby friedmandesigns » Sun Jul 08, 2007 4:45 am

Norbert,

just started using iGTD; have loved & used Launchbar for quite awhile now - thanks so much for posting this script info...helps tremendously and adds some volcanic-love-power flavor to LB. gracias! :)
-friedmandesigns
friedmandesigns
 

It works!... but LaunchBar crashs afterwards.

Postby joao » Sat Nov 03, 2007 9:18 pm

Norbert,

Thank you for this very useful script. It seems to work fine for me except that LaunchBar crashes afterwards. I'm using Leopard, could that be the problem?
joao
 

Re: It works!... but LaunchBar crashs afterwards.

Postby norbert » Sun Nov 11, 2007 7:53 pm

joao wrote:Thank you for this very useful script. It seems to work fine for me except that LaunchBar crashes afterwards. I'm using Leopard, could that be the problem?

We've already found the cause of this problem. Will be fixed shortly.
norbert
Objective Development
Objective Development
 
Posts: 538
Joined: Thu Nov 09, 2006 5:30 pm

Re: It works!... but LaunchBar crashs afterwards.

Postby norbert » Fri Nov 23, 2007 4:44 pm

norbert wrote:We've already found the cause of this problem. Will be fixed shortly.

This issue should now be fixed in LaunchBar 4.3.3
norbert
Objective Development
Objective Development
 
Posts: 538
Joined: Thu Nov 09, 2006 5:30 pm

Postby oneblessedguy » Thu Feb 28, 2008 5:37 am

What would it take to enter in a task WITHOUT igtd running?

iCal can do it. So I know it can be done.
oneblessedguy
 
Posts: 7
Joined: Wed Feb 13, 2008 2:49 am

Re: iGTD

Postby dixtens » Sat May 16, 2009 2:13 pm

Dear Norbert,

thanks for the nice script. I tried my best to implement it, but I have the following problem:

1. I type the abbreviation in LaunchBar, hit space to enter the "new task"
2. When I enter some text, it creates a new task in iGTD, but the text I type is put into the "Task notes" area and not specified as the task name. It is also not possible to give priorities to the task or use any syntax you've mentioned.

I would like to have the possibility to use LaunchBar to create a task with the name I've typed.
I appreciate your help.
dixtens
 
Posts: 2
Joined: Sat May 16, 2009 2:05 pm

Re: iGTD

Postby dixtens » Mon May 18, 2009 11:13 am

I solved the problem: stopped using iGTD.
Thanks.
dixtens
 
Posts: 2
Joined: Sat May 16, 2009 2:05 pm


Return to LaunchBar Scripts

Who is online

Users browsing this forum: No registered users and 0 guests