To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=98931
------- Additional comments from j...@openoffice.org Sat May 23 13:06:43 +0000 2009 ------- I've came across the same bug (3.1 dev OOO3010m40 build 9388), trying to paste text into a new Note using a macro. Behaviour was extremely erratic: worked about one in twenty times, if that, with no apparent logic. This suggests a problem with timing or threads, and - so far - adding a short pause after the Note's creation (.uno:InsertAnnotation) seems to work for me. A simple example: [code] Sub Main dim document as object dim dispatcher as object document = ThisComponent.CurrentController.Frame dispatcher = createUnoService("com.sun.star.frame.DispatchHelper") dispatcher.executeDispatch(document, ".uno:Copy", "", 0, array()) thisComponent.CurrentController.getViewCursor.collapseToStart() dispatcher.executeDispatch(document, ".uno:InsertAnnotation", "", 0, array()) wait 500 dispatcher.executeDispatch(document, ".uno:Paste", "", 0, array()) End Sub [/code] Hope that helps. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@sw.openoffice.org For additional commands, e-mail: issues-h...@sw.openoffice.org --------------------------------------------------------------------- To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org