To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=95963





------- Additional comments from [EMAIL PROTECTED] Mon Nov 10 10:13:13 +0000 
2008 -------
"now the displayed information is :  name (location, type)"

Yes, that would be better.
As I cannot check your solution I still have some reserves:
1 - Basic URL script has two variants : 1.x and 2.x. In the first case the 
macro may 
be triggered even if the module name is not the module of the macro. So it is 
useful 
to know this when debugging. You can have this situation with old documents, 
even 
converted to ODF.
2 - Make sure the location shown is correct for a script from an extension. The 
URL 
changes for non-Basic scripts.
3 - Make sure the simplified display works for a Python script, as it does not 
follow 
the pattern of Java-like scripts. It should also work for any (correct) script 
language implementation.
4 - Because of (3) it is interesting for the macro developer to have access to 
a 
correctly formed URL, e.g. if he wants to register an event script by program, 
or 
write himself the addon.xcu of an extension. Currently you just have to set a 
script 
event on a button and then copy the displayed URL.
A solution could be to add one checkbox in the property/events window to 
display the 
URLs in raw view instead of the simplified view.

I copy here examples of complex script URL's : all these URL trigger a script 
from an 
extension. Notice the complexity of the Python URL.

vnd.sun.star.script:basTest1.Module1.blahblah?language=Basic&location=application

vnd.sun.star.script:bshTest1.HeyWriter.bsh?
language=BeanShell&location=user:uno_packages/test1.oxt

vnd.sun.star.script:jvsTest1.SalutWriter.js?
language=JavaScript&location=user:uno_packages/test1.oxt

vnd.sun.star.script:jvaTest1.HelloWorld.printHW?
language=Java&location=user:uno_packages/test1.oxt

vnd.sun.star.script:test1.oxt|pytTest1|Bonjour.py$HelloWorldPython?
language=Python&location=user:uno_packages


---------------------------------------------------------------------
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]

Reply via email to