Oh, right, and you need to add __ from waveapi import robot_abstract __ to your file
On Oct 10, 9:24 am, Daniel Faust <soundlin...@gmail.com> wrote: > Hi, > > I myself had trouble with this issue and saw that it was asked for > several times. I found the solution and want to share it, so here it > goes: > > def OnBlipSubmitted(properties, context): > doc = context.GetBlipById(properties['blipId']).GetDocument() > text = doc.GetText() > if text.find('/createWave') == 0: > _newWave = robot_abstract.NewWave(context, > context.GetRootWavelet().GetParticipants()) > _newWave.SetTitle("New Wave's Title") > _newRootBlipId = _newWave.GetRootBlipId() > _newRootBlip = context.GetBlipById(_newRootBlipId) > _newDocument = _newRootBlip.GetDocument() > _newDocument.AppendText("This is an additional Text") --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---