<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Jari et al,<br>
<br>
does anyone know if it is possible to tell if an FCBackwardRepeat
object has a bracket or not?<br>
The following elements return the same properties (see snippet
below, both are set to "Play section 2 times").<br>
<img src="cid:part1.DEA0A6CD.612463C8@angermueller.com" alt=""><br>
It seems to me that a property like BracketVisible is missing.<br>
<br>
A workaround might be that a backward repeat bracket is usually (but
maybe not always) followed by another bracket ending in the next
measure. So one could look into the next measure and see if it has a
forward bracket. But that's not a 100% solution.<br>
Another workaround might be to analyze the GetAction-value, but
that's also no guarantee for a bracket.<br>
<br>
Best,<br>
Jan<br>
<br>
local measures=finale.FCMeasures()<br>
measures:LoadAll()<br>
for m in each(measures) do<br>
if m.BackwardRepeat then <br>
local br=finale.FCBackwardRepeat()<br>
br:Load(m.ItemNo)<br>
if br~=nil then
print(br:GetAction(),br.TopBracketPosition,br.BottomBracketPosition,br.LeftBracketPosition,br.RightBracketPosition,br.IndividualPositioning,br.ShowMode,br.StaffListID,br.TargetTrigger,br.TotalPasses)<br>
end<br>
end<br>
end<br>
<br>
Running [Unnamed Script] ======><br>
3 0 0 0 0 false 1 0 9 2<br>
3 0 0 0 0 false 1 0 9 2<br>
<======= [Unnamed Script] succeeded (Processing time: 0.000 s).<br>
</body>
</html>