<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Jari,<br>
<br>
when I have a slur where an endpoint has been <u>manually </u>adjusted
(e.g. shifted a bit up) and then I call SetCustomOffset with any
value (!), it always "removes" the offset (i.e. the offset value is
still in memory, but the slur is set to not use the custom offset).<br>
<br>
Maybe this video and script below helps solving the very old
SetCustomOffset issue first mentioned in our email conversation from
2014/7/20.<br>
<br>
Screencam video: <a class="moz-txt-link-freetext" href="https://youtu.be/iDnkV6AMsRg">https://youtu.be/iDnkV6AMsRg</a><br>
I create a slur, adjust the left position and run the script below:
once with SetCustomOffset set to false and once with true. Both
times the manual offset of the slur disappears. So it seems to be
impossible to set a custom offset for slurs with JW Lua. According
to the online documentation I would have expected when calling
SetCustomOffset(false) - as it is a left shape segment - that the
custom offset would have remained visible.<br>
<br>
Script:<br>
local marks=finale.FCSmartShapeMeasureMarks()<br>
marks:LoadAll()<br>
for m in each(marks) do<br>
local s=m:CreateSmartShape()<br>
if s:IsSlur() then<br>
local left=s:GetTerminateSegmentLeft()<br>
left:SetCustomOffset(false)<br>
s:Save()<br>
end<br>
end<br>
<br>
Best,<br>
Jan<br>
</body>
</html>