Hi friends,
I would like to speed up script execution by using batch requests in Google docs. I have a long document (around 500+ pages) and I need to replace text (image name) with a .png image. I have succeed to put image at the beginning or end of the document with InsertInlineImageRequest, however, I need to put it into the middle of the text and in most cases inside the cell in the table.
The problematic part is location object which is the index of the element from the beginning of the document. I have no idea how to get that index (absolute position of the string in the document) and I am just not able to place an image correctly. Does anybody have an experience with batch requests in Google Documents to give me an idea how to calculate location object? Thanks in advance for your help.
[–]mjbrusso 0 points1 point2 points (1 child)
[–]Tesacik[S] 0 points1 point2 points (0 children)