[JW Lua] Hairpin vertical adjustment...
Simon Leclerc
simon at prodsl.ca
Thu Jul 7 13:36:34 CEST 2016
Thank you so much Chris!
> On 07-07-2016, at 1:39 AM, Chris <marcel.denio at gmail.com> wrote:
>
> Simon
>
> Here is the solution
>
> ---------------------------------------
> local region = finenv.Region()
> local marks = finale.FCSmartShapeMeasureMarks()
>
> marks:LoadAllForRegion(region)
>
> for mark in each(marks) do
> local smartshape = mark:CreateSmartShape()
>
> if (smartshape:GetShapeType() == finale.SMARTSHAPE_CRESCENDO)
> or (smartshape:GetShapeType() == finale.SMARTSHAPE_DIMINUENDO) then
>
> smartshape:SetMakeHorizontal (true)
>
> local leftseg = smartshape:GetTerminateSegmentLeft()
> leftseg:SetEndpointOffsetX(675)
>
> smartshape:Save()
> end
> end
> ---------------------------------------
>
> Best regards
>
> Chris
>
>
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
Simon Leclerc
60, Mirabelle
Ste-Agathe-des-Monts, Québec
J8C 0W9
simon at prodsl.ca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20160707/fd93bf3c/attachment.html>
More information about the JWLua
mailing list