Quicksilver and a simple command line interface for Chandler
February 2nd, 2006 by Ted LeungA few weeks ago, we had some sprints for the OSAF staff. These were kind of blue sky sprints and people worked on pretty much whatever they felt like (if you are looking for cool project ideas related to Chandler, there are a bunch of those there as well).
Morgen had worked up a simple XML-RPC server which allowed him to build an OS X Dashboard widget that could get information out of Chandler. That, discussions we’ve had about building a simple command line interface into Chandler, and the KGTD Quicksilver Action were the inspiration for a quick hack.
The KGTD Quicksilver action allows you to use Quicksilver’s text entry facilities to dump ideas or reminders or whatever into KGTD right from Quicksilver. It provides a quick, unobtrusive mechanism for collecting stuff that you need to get out of your head and into your Getting Things Done (GTD) system.
What I did was to do a similar thing, but instead of sending the text to KGTD, I send the text to Chandler via XML-RPC. And instead of sending just a piece of text, I implemented a very stupid command line interface to Chandler. The XML-RPC servlet and the command line processor are now checked into Chandler’s subversion repository, and the QuickSilver AppleScript is checked into my OSAF sandbox: http://svn.osafoundation.org/sandbox/twl/applescripts/ToChandler.scpt. The script ended up being very simple, because AppleScript has built in support for XML-RPC handling. In fact, the code is so short, that I’ll just include it here, too.
-- Invoke applescript with text
-- 1. Activate QuickSilver and select this script.
-- 2. Tab to the next and select Process Text..
-- 3. Tab to the final pane and enter the command line text
using terms from application "Quicksilver"
on process text ThisClipping
tell application "http://localhost:1888/xmlrpc"
set returnValue to call xmlrpc {method name:"commandline", parameters:ThisClipping}
end tell
end process text
end using terms from
This is mostly a cool developer hack at the moment, but it gives you a taste of things you could do to integrate better with the native platform, as well as demonstrating the power of having some server functionality built into a desktop application. Of course, in an ideal OS X world, we’d have an AppleScript dictionary for Chandler and just use AppleScript (instead of XML-RPC) to do all this. But that’s probably a topic for another post.
free viagra
buy viagra online
generic viagra
how does viagra work
cheap viagra
buy viagra
buy viagra online inurl
viagra 6 free samples
viagra online
viagra for women
viagra side effects
female viagra
natural viagra
online viagra
cheapest viagra prices
herbal viagra
alternative to viagra
buy generic viagra
purchase viagra online
free viagra without prescription
viagra attorneys
free viagra samples before buying
buy generic viagra cheap
viagra uk
generic viagra online
try viagra for free
generic viagra from india
fda approves viagra
free viagra sample
what is better viagra or levitra
discount generic viagra online
viagra cialis levitra
viagra dosage
viagra cheap
viagra on line
best price for viagra
free sample pack of viagra
viagra generic
viagra without prescription
discount viagra
gay viagra
mail order viagra
viagra inurl
generic viagra online paypal
generic viagra overnight
generic viagra online pharmacy
generic viagra uk
buy cheap viagra online uk
suppliers of viagra
how long does viagra last
viagra sex
generic viagra soft tabs
generic viagra 100mg
buy viagra onli
generic viagra online without prescription
viagra energy drink
cheapest uk supplier viagra
viagra cialis
generic viagra safe
viagra professional
viagra sales
viagra free trial pack
viagra lawyers
over the counter viagra
best price for generic viagra
viagra jokes
buying viagra
viagra samples
viagra sample
cialis
generic cialis
cheapest cialis
buy cialis online
buying generic cialis
cialis for order
what are the side effects of cialis
buy generic cialis
what is the generic name for cialis
cheap cialis
cialis online
buy cialis
cialis side effects
how long does cialis last
cialis forum
cialis lawyer ohio
cialis attorneys
cialis attorney columbus
cialis injury lawyer ohio
cialis injury attorney ohio
cialis injury lawyer columbus
prices cialis
cialis lawyers
viagra cialis levitra
cialis lawyer columbus
online generic cialis
daily cialis
cialis injury attorney columbus
cialis attorney ohio
cialis cost
cialis professional
cialis super active
how does cialis work
what does cialis look like
cialis drug
viagra cialis
cialis to buy new zealand
cialis without prescription
free cialis
cialis soft tabs
discount cialis
cialis generic
generic cialis from india
cheap cialis sale online
cialis daily
cialis reviews
cialis generico
how can i take cialis
cheap cialis si
cialis vs viagra
levitra
generic levitra
levitra attorneys
what is better viagra or levitra
viagra cialis levitra
levitra side effects
buy levitra
levitra online
levitra dangers
how does levitra work
levitra lawyers
what is the difference between levitra and viagra
levitra versus viagra
which works better viagra or levitra
buy levitra and overnight shipping
levitra vs viagra
canidan pharmacies levitra
how long does levitra last
viagra cialis levitra
levitra acheter
comprare levitra
levitra ohne rezept
levitra 20mg
levitra senza ricetta
cheapest generic levitra
levitra compra
cheap levitra
levitra overnight
levitra generika
levitra kaufen


February 3rd, 2006 at 10:22 pm
Though the AppleScript interface would be cool, doesn’t the generic XML-RPC interface make it more flexible for pulling off the same stunt cross-platform? I can see a similar Mono/.NET hack in someone’s future.
February 6th, 2006 at 11:56 am
Yes, it does, and we’re not going to take it out. The thing is that Applescript exposes an object model for that app, which is nice, and it uses local inter app communication, so there’s less overhead from http and XML processing. To be a proper Mac app, you really want to support scripting. But for Windows and Linux, we’ll still have xml-rpc.