[JW Lua] JWLua Digest, Vol 87, Issue 1

Jacob Winkler jacob.winkler at mac.com
Mon Jan 10 16:32:23 CET 2022


From my experience and understanding, you can access existing FCCategoryDefs along with their associated parameters, but you cannot create them. Perhaps this will change in the future with RGP Lua… I certainly would appreciate the addition as I’ve made several inelegant scripts that contain logic along the lines of “if category x exists use it, else use miscellaneous “.

Sent from my iPhone

> On Jan 10, 2022, at 3:00 AM, jwlua-request at jwmusic.nu wrote:
> 
> Send JWLua mailing list submissions to
>    jwlua at jwmusic.nu
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>    http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
> or, via email, send a message with subject or body 'help' to
>    jwlua-request at jwmusic.nu
> 
> You can reach the person managing the list at
>    jwlua-owner at jwmusic.nu
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of JWLua digest..."
> 
> 
> Today's Topics:
> 
>   1. Creating new text expression category (Carl Vine)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Mon, 10 Jan 2022 15:51:06 +1100
> From: Carl Vine <carlvine at iinet.net.au>
> To: jwlua at jwmusic.nu
> Subject: [JW Lua] Creating new text expression category
> Message-ID: <ED819027-5540-438E-B23C-FF57DB07B431 at iinet.net.au>
> Content-Type: text/plain;    charset=utf-8
> 
> Can anyone help?
> 
> I?m loading the standard TECHNIQUETEXT FCCategoryDef (ItemNo 5), changing the name and some values, then trying to Save() as a new category.
> 
> SaveNew(), SaveAs(new_unique_id) and SaveNewWithType(some_type) all fail.
> Save() succeeds but doesn?t change or update the CategoryDefs collection.
> 
> Carl
> 
> 
> 
> 
> ------------------------------
> 
> Subject: Digest Footer
> 
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
> 
> 
> ------------------------------
> 
> End of JWLua Digest, Vol 87, Issue 1
> ************************************




More information about the JWLua mailing list