Am 17.05.2012 23:05, Kelly Holman wrote:
Thanks Andreas. You may be right about running a perl script under
windows. I have the installation but haven't used it yet. It's a long
time since I've done any real programming.
In the meantime, I think I've found another way that would work more
seamlessly -- BeanShell can access the file system. I haven't used it
before, but I know Java.
Where would be the best place to ask questions about using BeanShell in LO?
Any programming language can access the file system but that's not what
you asked for. You asked how to trigger some external program, namely a
Perl script (which needs to be called through a batch script, but you
are the Perl coder who should know better).
I can not see any difference between Python, Java Script and BeanShell
in the context of this office suite. You assign a macro to some push
button and the macro calls the external program in the respective
language. The details are language specific and have nothing to do with
the office program. Write your Beanshell code which is able to trigger
the Perl script and drop it in your user profile. Then bind a push
button to it.
Why don't you simply call your Perl script from some button on your task
bar, desktop, Windows menu or something. Why does it need to be this
For unsubscribe instructions e-mail to: email@example.com
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
[libreoffice-users] Re: Can't create python script? · Alexander Thurgood
- Re: [libreoffice-users] Can't create python script? (continued)
Impressum (Legal Info)
: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (MPLv2
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our trademark policy