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?

Thanks again!



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 office suite?


--
For unsubscribe instructions e-mail to: [email protected]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
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

Reply via email to