<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
Robert,<br>
<br>
could it be that FCPart:GetName() removes not only enigma commands,
but also the line breaks?<br>
<br>
I.e. a two line name like:<br>
<br>
Acoustic Guitar<br>
(Steel Strings)<br>
<br>
becomes:<br>
<br>
Acoustic Guitar (Steel Strings)<br>
<br>
In the documentation it only says:<br>
"<i>On Finale 2012 and later, the string will be set to the current
part name each time this method is called. The string is a "print
version" of the part name, so there's no Enigma commands for
flat/sharps in the string.</i>"<br>
<br>
Test code:<br>
local part=finale.FCPart(finale.PARTID_CURRENT)<br>
local partname=finale.FCString()<br>
part:GetName(partname)<br>
print(partname.LuaString)<br>
<br>
Could this be fixed? <br>
Or is this a fix value from the Finale PDK?<br>
<br>
Jan<br>
</body>
</html>