[JW Lua] enigmaStrings:CreateString()

Bruce Olson Finale at web.YOSound.com
Sun Nov 30 18:48:55 CET 2014


Jari,

Ah, I see it now, I had searched for "enigmaStrings" in the Finale PDK
Framework and found no matches. I should have thought to search on
CreateString. I see that FCRawText:CreateString does not have the parameter
though, so I still might have been confused. I did find that because it was
the base class for FCFileInfo which was the context for Charles inquiry.
Thanks for the cookies to find my way.

-- 
Regards,
Bruce

-----Original Message-----
From: JWLua [mailto:jwlua-bounces at jwmusic.nu] On Behalf Of Jari Williamsson
Sent: Sunday, November 30, 2014 4:17 AM
To: The JW Lua script plug-in.
Subject: Re: [JW Lua] enigmaStrings:CreateString()

Bruce,

You're correct. Nowadays, always use the parameters if they are found in the
docs (default parameters are just for C++, and I try to gradually not depend
on them in my C++ code to make the interface to Lua better). 
In this case, CreateString(nil) would also work for the FCStrings object.


Best regards,

Jari Williamsson


On 2014-11-30 08:30, Bruce Olson wrote:
> Hi Jari,
>
> While browsing the archives I found a reply to Charles where you said 
> in
> part:
> "After browsing the string for tags, you can transform your
"enigmaStrings"
> string collection back to a full string with "resultstr = 
> enigmaStrings:CreateString()"."
>
> I wanted to create PageText using the default text font, but found 
> that I needed to have an empty string as a parameter for 
> CreateString(""). See the attached code for what I was trying to do.
>
> Best regards,
> Bruce
>
> P.S. Thanks to you and Charles for all the pointers regarding my 
> trials with FCPageTexts table manipulations.
>
>
>
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>



_______________________________________________
JWLua mailing list
JWLua at jwmusic.nu
http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu





More information about the JWLua mailing list