<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi to all,<div class=""><br class=""></div><div class="">REALLY new to all this. I can totally appreciate all the efforts put on this programming venture. Bravo Jari :)</div><div class="">My question will probably sound quite naive to most of you, but here we go:</div><div class=""><br class=""></div><div class="">I want to modify the left side (vertically) of a hairpin. I managed pretty well with the vertical adjustments of text expressions and slurs, but it seems extremely different for hairpins.</div><div class=""><br class=""></div><div class="">In the example below, if you run it, you'll see that I can get a "read-out" of the actual left point of an existing hairpin. I just don't know how to modify that parameter. I also thought there was probably a parameter for adjusting the main handle position of a hairpin, but never found it.</div><div class=""><br class=""></div><div class="">You'll see that I "commented" the line where it states the way I thought it should be done. But with this line "enabled", I get a correct read-out in the Execution output window but nothing changes on the page of music. I believe it has to do with the way I save the object "smartshape".</div><div class=""><br class=""></div><div class="">Any help would be greatly appreciated. Thanks to all.</div><div class=""><br class=""></div><div class=""><br class=""><div class="">
<span class="Apple-style-span" style="font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; border-collapse: separate; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><div class="">local region = finenv.Region()</div><div class="">local marks = finale.FCSmartShapeMeasureMarks()</div><div class=""><br class=""></div><div class="">marks:LoadAllForRegion(region)</div><div class=""><br class=""></div><div class="">for mark in each(marks) do</div><div class=""><br class=""></div><div class="">     local leftpoint=finale.FCPoint(1, 1)</div><div class="">     local smartshape = mark:CreateSmartShape()</div><div class=""><br class=""></div><div class="">     if (smartshape:GetShapeType() == finale.SMARTSHAPE_CRESCENDO)</div><div class="">       or (smartshape:GetShapeType() == finale.SMARTSHAPE_DIMINUENDO) then</div><div class=""><br class=""></div><div class="">smartshape: SetMakeHorizontal (true)</div><div class=""><br class=""></div><div class="">smartshape:CalcLeftCellMetricPos(leftpoint)</div><div class=""><br class=""></div><div class="">--leftpoint:SetX(675)</div><div class=""><br class=""></div><div class="">smartshape:Save()</div><div class=""><br class=""></div><div class="">print("Left:",leftpoint.X)</div><div class="">         </div><div class="">    end</div><div class="">end</div><br class=""></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;" class="">Simon Leclerc</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;" class="">60, Mirabelle</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;" class="">Ste-Agathe-des-Monts, Québec</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;" class="">J8C 0W9</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:simon@prodsl.ca" class="">simon@prodsl.ca</a></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;" class=""><br class=""></div></div></span><br class="Apple-interchange-newline" style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br class="Apple-interchange-newline">
</div>
<br class=""></div></body></html>