I haven't filled the ticket because I have actually started working on
those issues:
- Being able to define shortcut with pre-filled arguments, either
programmatically or from the command line ("create-shortcut [rest of
the syntax needs to be defined]")
- Being able to define aliases from the command line
So far I have encountered one problem with shortcut from the command
line: I need to ask Ubiquity to parse modifiers for a particular
command, from a command. Something like
// parseModifiers takes a command name and a String containing the
modifiers to be parsed
CmdUtils.parseModifiers('translate', 'from french to english');
// Should return a standard directObj like {from: {data: 'fr', text:
'french'}, to:{data: 'en', text: 'english'}}
Unfortunatly my knowledge of the internals of Ubiquity are not
sufficient currently. Do you have any idea how I could do that?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---