[JW Lua] AddGuide function doesn't work properly

Artem Roschenko roschenkoartem at gmail.com
Sun Jan 16 14:33:36 CET 2022


When I try to add a new FCGuide to an empty FCGuides collection,
it works fine, but if there are some guides (of the same type -
horizontal or vertical), it cannot add a new one.
I think this problem started in Final 26 and
relevant so far for both JWLua 0.54 and RGP 0.59

Example:
local ggp = finale.FCGridsGuidesPrefs()
ggp:Load(1)
local hg = ggp:GetHorizontalGuides()
hg:AddGuide(640)
ggp:Save()

Artem.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20220116/025ae74b/attachment.html>


More information about the JWLua mailing list