We really could have some utility functions to search for installed
commands.

2009/2/7 Abimanyu Raja <[email protected]>

> It used to be easy to call other commands from your code. But now all
> commands run in a seperate sandboxes.
>
> However, it's still possible using a slightly hackish way to run other
> Ubiquity commands. Check out the first few functions in the mouse-based
> ubiquity code: http://azarask.in/verbs/mouse/mouse.js
>
> Hope that helps.
>
> - Abi
>
> 2009/2/4 lrbabe <[email protected]>
>
>
>> Hello everybody,
>>
>> I'm searching for a way to invoke an ubiquity command
>> programmatically, inside another ubiquity command.
>> This would be an easy way to build a short-cut for a command with
>> multiple parameters.
>> For example, if a user is often using the translate command to
>> translate text from french to english, he is likely to want to have a
>> short-cut to make this translation without typing the parameters.
>>
>> What I would like to see is something like that:
>> http://etherpad.com/Pp7KIhSUpr
>>
>> I know that this is already possible by adding some code in
>> general.js, since there is a public translateTo command. But I'm
>> searching for a generic solution, because I am sure those short-cuts
>> could be useful in other cases.
>>
>> What do you think about it?
>>
>>
>
> >
>


-- 
Fernando "Takai"
http://flickr.com/photos/supeertakai
http://fernandotakai.jaiku.com

Get Ubiquity: https://ubiquity.mozilla.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ubiquity-firefox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/ubiquity-firefox?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to