Hi, I'm an open source believer but the Javascript API documentation - and how Google returns information about it - is shocking. I thought I'd do a ticket on my current commercial project using Open Office to test the water, I can more or less get the information I want from Calc etc, manipulate it, and then put it back into the doc ... the three areas I have not been able to find are:
1. Javascript: How to read all the text from a text file (from other applications) so that I can manipulate it and insert it into the document,
2. Javascript: How to write text to a text file to export JSON data to other applications, and
3. Javascript: How to pop up message boxes to the user so that he knows what is happening.
The great thing about using Javascript for an Open Office API is that the Javascript community is advanced and supportive, so for Javascript Macros to be successful this community really just has to be able to support OO integration - eg. reading text files, writing text files, reading and writing JSON objects to cells etc et al.
Any help on how to read a text file and write a text file? And to easily do a message box?
The answer to those questions should allow anyone to consume or generate JSON files.
I'd be very appreciative, I really don't want to have to fall back on MS Office, and with these three answers I think I'll be ok!
Please, no Basic or Python answers, I can do these things in both but my customers are Javascript savvy.
Kind regards, please forgive my constructive criticism, I don't have to push this technology but with a few tricks up my sleeve such as the answers to these questions, I think it's a good approach to take!
Anthony!