To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=93806 Issue #|93806 Summary|Python scripts deployed by extensions will be disabled | after restart application Component|framework Version|OOo 2.4.1 Platform|PC URL| OS/Version|All Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|scripting Assigned to|ab Reported by|hanya
------- Additional comments from [EMAIL PROTECTED] Fri Sep 12 06:31:28 +0000 2008 ------- Python scripting framwork scripts included in an extension will be disabled on the Extension Manager after restarting OOo. The script works before restarting OOo. The script is described in the manifest.xml file like the following: <?xml version="1.0" encoding="UTF-8"?> <manifest:manifest> <manifest:file-entry manifest:full-path="python/" manifest:media-type="application/vnd.sun.star.framework-script;type=Python"/> </manifest:manifest> python directory includes hpy.py file: def hpy(): doc = XSCRIPTCONTEXT.getDocument() text = doc.getText() text.setString(u'hp py') The script can be run form Tools - Macros - Run Macro ... and then My Macros - pyscript.oxt - hpy - hpy. --------------------------------------------------------------------- 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]