<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Jari,<br>
<br>
just as I assumed in my first email, FCFileInfoText must not add
the Enigma font tags to the string.<br>
This short code snippet shows what happens if you have a text
block that includes the title tag:<br>
<br>
local fileinfo=finale.FCFileInfoText() <br>
fileinfo:LoadTitle()<br>
fileinfo:SaveAsTitle()<br>
<br>
Although nothing is actually changed - it's only resaved -, the
text block displays the Enigma tags on the score (!) after running
the script. See screenshot from the score view.<br>
<br>
All the best,<br>
Jan<br>
<br>
Am 20.03.2015 um 13:03 schrieb Jan Angermüller:<br>
</div>
<blockquote cite="mid:550C0CA2.4030506@angermueller.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
Jari,<br>
<br>
when I create the strings from FCFileInfoText, for example
LoadTitle(), I get a string like<br>
<br>
^font(Times New Roman,4096)^size(12)^nfx(0)Song Title<br>
<br>
Are you sure that this is what Finale produces internally from the
^title() tag ?<br>
Because this would mean that Finale uses the default text font /
font size which in this case is Times/12.<br>
<br>
For example, if I create the text string of a large score title in
font size <b>24 with </b>FCPageText:CreateTextString() I get:<br>
<br>
^font(Times New Roman,4096)^size(<b>24</b>)^nfx(0)^title()<br>
<br>
If I substitute the ^title() with what
FCFileInfoText():LoadTitle() produces, it would lead to:<br>
<br>
^font(Times New Roman,4096)^size(<b>24</b>)^nfx(0)^font(Times New
Roman,4096)^size(<b>12</b>)^nfx(0)Song Title<br>
<br>
which would print as a title in font size <b>12</b>.<br>
Could it be that the font information is not necessary in the
FCFileInfoText strings,<br>
I.e. that LoadTitle() should only return a string "Song Title"
with no Enigma tags ?<br>
<br>
Best regards,<br>
Jan<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
JWLua mailing list
<a class="moz-txt-link-abbreviated" href="mailto:JWLua@jwmusic.nu">JWLua@jwmusic.nu</a>
<a class="moz-txt-link-freetext" href="http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu">http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Jan Angermüller
Jevenstedter Str. 80
22547 Hamburg
Tel. 040 - 28 94 84 82
<a class="moz-txt-link-abbreviated" href="http://www.angermueller.com">www.angermueller.com</a>
</pre>
</body>
</html>