Quantcast
Channel: Adobe Community: Message List - FrameMaker Scripting
Viewing all articles
Browse latest Browse all 3715

Re: TextLoc works once, then stops working

$
0
0

Hi Mark, Apparently there is a problem with the order of the commands. If you try it this way, it appears to work:

 

var doc = app.ActiveDoc;

var firstPgf = doc.MainFlowInDoc.FirstTextFrameInFlow.FirstPgf;
var t1 = new TextLoc(firstPgf,0);

doc.AddText (t1, "Hello");

 

Rick


Viewing all articles
Browse latest Browse all 3715

Trending Articles



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