Get Content Using Postmessage

Hello,

How to get current contents (e.g. docx, doc, pdf) using PostMessage API?

1 Like

Hello @fawwazid ,

Thanks for the question + welcome to the forum. :slight_smile:

Did you see the sample programs in the:

and read through the documentation at:

1 Like

hello @Tex,

I’ve looked at it, but I haven’t found the answer yet.

I mean, I get the content directly and store it in a JavaScript variable.

thank you.

1 Like

I get the content directly and store it in a JavaScript variable.

Can you describe a little more of what you’re trying to accomplish?

  • You are trying to read in a document (DOCX / ODT / PDF / …) using the API.
  • Then you are trying to stick it all into a Javascript variable.
  • Then you are ???

Maybe if you describe the goal you are trying to aim for with your program, maybe there’s an alternate way to help or tackle the problem.


Side Note: You may be interested in this article:

or this funny comic: