- 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
(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

