Quantcast
Channel: Adobe Community : All Content - FrameMaker Scripting
Viewing all articles
Browse latest Browse all 888

Import graphic/image

$
0
0

Hi,

 

I'm looking to import a jpg in to a mif. I have a batch of mifs within each I need to import an image directly underneath a certain table (the first table in doc).I've used the following to identify the table but am unsure how to import the jpg underneath. I have copied the jpg in the project folder so the location is C:\Users\Chris\Desktop\test\NR.jpg. If any can point me in the right direction it would greatly appreciated.



var tbl;

  

   tbl = doc.FirstTblInDoc;

    while (tbl.ObjectValid () === 1) {

        if (tbl.TblTag === "TableTitle") {

           /// IMPORT GRAPHIC BELOW TABLE

        }

      

    }

 

Cheers

 

Chris


Viewing all articles
Browse latest Browse all 888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>