Talk:Labs/Ubiquity/Magic Words

From MozillaWiki
Jump to: navigation, search

What about allowing commands to "name" their results for use in later commands? The idea is that some commands can find several things at once, so naming those things lets you reuse them in later commands.

For example, suppose I use some command to look up my friend Abe. The command finds his picture, email address, phone number, etc.

Then I say "email picture to Ben". Because the "name" command indicated that one of its outputs was a "picture", I get a suggestion to email Abe's picture to Ben - exactly what I wanted!

I could also say "email phone number to Ben" and it would suggest Abe's phone number.

page

Perhaps "page" should be a magic word. I often find myself wanting to do "translate page to english", which unfortunately doesn't work. How it would work is another thing -- not sure how to separate out the content (to be translated) from stuff that shouldn't be translated.