|
|
MakeMusic Forum > Public Forums > Plug-In Development - FORUM HAS MOVED! > JW Lua - preview | Forum Quick Jump
|
| Jari Williamsson Registered Member
Date Joined Dec 1998 Total Posts : 3246 | Posted 7/31/2013 11:55 AM (GMT -6) | | LO said... Do you think LUA will allow us also to use dialogs for the data input?
Lua will basically support whatever I choose to support, and I plan to provide dialog support through the PDK Framework methods later on. Lua is very different to other script languages, as it's designed to be an embedded "glue" language. (It's also extremely fast compared to other script languages, that's why it's used in lots of large games, for example.) My PDK Framework is designed to be easily scriptable, and for Lua the cost on my part is extremely small to make efficient scripting happening. The PDK Framework documentation will be used as the script documentation as well, I'll later provide information in a wiki on how to read the PDK Framework documentation from a scripting point of view. (In the future, I might also write tasks in my larger C++ plug-ins directly as embedded Lua.)
I'll also soon start a separate mailing list for all topics regarding using the script plug-in.
Here's another fully featured plug-in example. It browses through each part (including the score view) of a document, loads the first page of each part, and makes sure that the width/height/percent are identical on all subsequent pages in each part:
allparts = finale.FCParts() allparts:LoadAll() for apart in each (allparts) do apart:SwitchTo() pageone = finale.FCPage() pageone:Load(1) allpages = finale.FCPages() allpages:LoadAll() for apage in each(allpages) do if apage.ItemNo > 1 then apage.Width = pageone.Width apage.Height = pageone.Height apage.Percent = pageone.Percent apage:Save() end end apart:SwitchBack() end
Jari Williamsson
Windows XP, Pentium 4 2.40 GHz, 4 GB RAM
www.finaletips.nu - The Finale Productivity Tips sitePost Edited (Jari Williamsson) : 7/31/2013 6:14:53 PM (GMT-5) | Back to Top | |
| Jari Williamsson Registered Member
Date Joined Dec 1998 Total Posts : 3246 | Posted 8/1/2013 6:23 PM (GMT -6) | | |
| Charles Lawrence Registered Member
Date Joined Dec 2009 Total Posts : 3638 | Posted 8/2/2013 8:01 AM (GMT -6) | | This is a great idea! Looks like this will be much more versatile and useful, and need I say bug free than the present Finalescript. Thanks for all you do.
"Anything is possible if you don't know what you are talking about!"
Dell XPS 600, GenuineIntel Intel(R) Pentium(R) D CPU 3.00GHz [Intel64 Family 15 Model 4 Stepping 4] (2 processors) 8GB Ram HT Omega Striker 7.1 MSI N430GT 2GB GPU 1TB x 4 internal HD's Microsoft Windows 7 Ultimate x64 Edition, (06.01.7600.00) Finale 2012c.r13
"There is a world of difference between a person who has a big problem and a person who makes a problem big." – John Maxwell
| Back to Top | | Forum Information | Currently it is Tuesday, December 19, 2023 6:28 PM (GMT -6) There are a total of 403,820 posts in 58,165 threads. In the last 3 days there were 0 new threads and 0 reply posts. View Active Threads
|
Forum powered by dotNetBB v2.42EC SP3 dotNetBB © 2000-2023 |
|
|