To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=60465 Issue #:|60465 Summary:|macro assigned to Create Document event causes error Component:|framework Version:|OOo 2.0.1 Platform:|PC URL:| OS/Version:|Windows 98 Status:|UNCONFIRMED Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P3 Subcomponent:|scripting Assigned to:|npower Reported by:|noleb
------- Additional comments from [EMAIL PROTECTED] Thu Jan 12 17:21:25 -0800 2006 ------- I've tested this in Writer, Calc and Impress. Create a template and make a macro in a library belonging to the template, Standard for example. The macro can be quite simple (even sub Main end sub works, but maybe put a msgbox in there to see that it runs at least once.) Now assign that macro to the Create Document event. Save your template. Create a new document using this template (File/New/Templates & Documents, go find your template and open it.) The FIRST time you do this the new document is created, the macro runs & all seems well. Now create another document with this template (File/New... etc) This time (and all subsequent until OOo is closed) an error is thrown: "com.sun.star.uno.RuntimeExceptionScriptProtocolHandler::createScriptProvider()," and thats all I can see. The macro doesn't run. Templates created in v2.0 cause the error in 2.01 also. This error doesn't occur at all in v2.0 --------------------------------------------------------------------- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]