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

Re: Special characters not displayed correctly in variable if inserted via script

$
0
0

Hi Klaus,

 

Try just adding the literal characters in the variable definition instead of the symbolic codes that you enter in the interface. The symbolic codes are only for the GUI, but when you query the definition programmatically, you see the literal character. In other words, instead of inserting a non-breaking space with this \\ , use this \x11 instead.

 

#target framemaker

var doc, varFmt;

doc = app.ActiveDoc;
varFmt = doc.NewNamedVarFmt ("TestValue");
varFmt.Fmt = "99\x11mm";

 

-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>