Make LUA commands band.SetNote and band.GetNote
|Opened on:||Sunday, November 25, 2012 - 03:42|
|Last modified:||Thursday, June 9, 2016 - 23:32|
It would be nice to have LUA V2 commands for bands called band.SetNote and band.GetNote that behave like the present LUA V2 commands for segments/residues called structure.SetNote and structure.GetNote. Then the user could store information about each band, and when the user later Tabs over a band on the screen, this information will be displayed. These band Notes could even be displayed in Note Mode in the Original Interface like the present segment/residue Notes are.
With band.SetNote, a user can make a string containing information about a band from within the Recipe that actually makes the band. This way, when the Recipe ends and all local variables within the Recipe disappear, this stored information about the band will be preserved and readable from other Recipes as well as from within the Foldit GUI. This information will also continue to be associated with the same band even if the band's number happens to change (like when other bands with lower band numbers are deleted).