freeze and selected status in lua
|Opened on:||Tuesday, November 3, 2009 - 00:41|
|Last modified:||Monday, August 22, 2011 - 21:17|
As we know, we can get several segment informations by the command get_segment_score_part("x",y),
whereas y is the # of the segment, and x the name (or attribute) of the value which should be returned.
So, for example get_segment_score_part("clashing",1) returns the clashing score of segment 1.
My question is, if there is a possibility to get an information, if segment x is locked or frozen.
So, an algorithm for example can store the information in a data array to use transparent masking (combining user selections with those of the script), restore the old selection after executing the script, or (and this is most important at the moment) to skip a frozen segment, because in lua, wiggling a frozen segment leads to a crash in contrast to the regular cookbook.
If not so, consider this as a suggestion.
Just one more question: What does the attribute "other" mean?