Hi Vadim- Re 1- We haven't done a good job of explaining annotateSelection. It takes the currently selected text and surrounds with an annotation, where the annotation has a key and a value. You could use it in a few ways: 1) Use it to surround text with a key/value that the Google Wave client uses for formatting. This sample surrounds text with key="style/backgroundColor" and value="rgb(253,252,63)", and then the Wave client sees that and colors the text yellow. http://wave-samples-gallery.appspot.com/about_app?app_id=35019 <http://wave-samples-gallery.appspot.com/about_app?app_id=35019>2) Use it to surround text with a key/value that your own robot uses. You could set a custom key/value, find it, and then use that info to do something. Douwe wrote an example that annotates a selection and then uses a robot to search for the text of that on Google and link the text to the first result. That sample is not yet uploaded.
Re 2- On Wave preview, there is an extension settings wave that can be used to install and uninstall extensions. The same thing does not exist on sandbox at this time. Re 3- It can currently only insert an option into the "New Wave" menu. What other menu were you thinking of adding to? - pamela 2009/9/29 vadbars <vadb...@gmail.com> > > Thanks for the interesting link, but I was referring to the action > "annotateSelection" in the Extension Installer, not the method > "SetAnnotate". What I need to write in the tag <annotateSelection > blablabla="some annotation" />? > Also I do not understand the format of tag "insertGalleryGadget". > > The documentation is nowhere stated how to remove an added menu items. > Of course, you can simply click "Uninstall". But the wave, which is > inserted Extension Installer, can then removed (lost, it is difficult > to be found). > And in order to re-insert this Extension Installer, one must know its > URL. > > And the third - can a robot use the Extension Installer in order to > change some menu? I have already written about this in the Office > hours. Such a possibility would be useful, the robot can adjust the > working environment for the user. > > -- > Best regrads, > Vadim Barsukov > > > On 28 сен, 22:44, gengstrand <gengstr...@gmail.com> wrote: > > I believe that you will find what you are looking for in the > > SetAnnotate method call in the code sample (third image) on this page. > > > > http://www.dynamicalsoftware.com/news/?p=27 > > > > I hope this helps. > > > > On Sep 27, 10:01 pm, vadbars <vadb...@gmail.com> wrote: > > > > > > > > > The documentation says that the "annotateSelection" action tags the > > > current selection with an annotation. How should use this tag, which > > > options are available? If possible, give an example. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Wave API" group. To post to this group, send email to google-wave-api@googlegroups.com To unsubscribe from this group, send email to google-wave-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=en -~----------~----~----~----~------~----~------~--~---