McFearsome Blog

Life, Love, and Code
September 12, 2008

Alias a Ubiquity Command

Author: Jesse - Categories: Code - Tags: , , ,

Just a quick note on an easy was to alias a command in ubiquity to. I wanted to alias my “laterloop” command to just “ll”.

If that doesn’t make sense you shouldn’t be reading this anyway!

Next I wonder if I can create a command to create/manage command aliases for you.

UPDATE 10-08-2008:
Looks like I took too long and someone went and wrote a few commands to help with aliasing commands in Ubiquity. Ubiquity-alias

September 8, 2008

[Ubiquity] Copy text to the clipboard

Author: Jesse - Categories: Code - Tags: , , ,
Ubiquity is awesome, but most commands insert text at the cursor. My cursor isn't always in a text field, most of the time it's not, so I thought it would be much nicer to copy the value into the user's clipboard instead.

Now this isn't possible from javascript normally, well in firefox anyways, but commands are running within the extension and it didn't take long at all to find out what to do.

There it is. Hope that helps.