https://bugs.documentfoundation.org/show_bug.cgi?id=99774
Andreas <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |UNCONFIRMED
Ever confirmed|1 |0
--- Comment #3 from Andreas <[email protected]> ---
Hello,
The bug occures under Windows 7 and Windows 8.1.
Sending a document? Sorry, but I don't know how I could, as the problem is
reported for a user defined macro (d.i. stored in the user's standard library)
and not for a document macro. Moreover the problem occures on the event "Close
application" - and I guess, all documents would have been already closed at the
stage of leaving the application, so it makes no sense to store the macro in a
document.
But here I give you an instruction for replicating the situation:
1. Make LibO create a new user directory (by renaming the existing one).
2. Create a macro module "mAuto".
3. Into that module paste the content of the attached TXT file (so you will
have a module with two procedures, "pOnStart" and "pOnExit"). Leave the macro
editor.
4. Go to the menu "Tools - Customise - Events" and assign the macro pOnExit to
event "Close application" and the macro pOnStart to event "Start application".
5. Last, go to "Tools - Options - LibreOffice - Memory" and deactivate option
"Load LibreOffice during system start-up".
Now close, start, close etc. the application. On starting the application you
will get the message "Aplication is starting." from the macro, and nothing
else. But on closing the application you will get the message "Application is
closing" (as part of the macro) and afterwards the following error message:
"A Scripting Framework error occurred while running the Basic script
vnd.sun.star.script:Standard.mAuto.pOnExit?language=Basic&location=application.
Message: The following Basic script could not be found:
library: 'Standard'
module: 'mAuto'
method: 'pOnExit'
location: 'application'"
Thank you,
Andreas
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs