@martinrinehart said:
All scenes are used, unless you implement Animation.nextFrame to stop someplace.
Users can turn off whether a scene is used in a slideshow. I think that is what he was asking, but I could be mistaken... If I'm not, then:
For checking a page for use in animation:
if page.name==page.label #used in animation
It's kinda hacky, but it works. The reason it works is that SU puts parentheses around a name for the tab label. If the label (with parens) doesn't match the name (without parens), it's not used. If they match, it IS used.
I previously requested a page.in_slideshow? method, but no dice yet (probably because of the available workaround), though it would be easy to code:
class Page
def in_slideshow?
return self.name==self.label
end
end
Then make it an externally loaded file contingent upon not having a native method:
require 'page-in-slideshow.rb' unless page.methods.include?('in_slideshow?')
or something like that, to handle a future native API method.
For checking available SU methods:
model.methods.sort-Object.methods
page.methods.sort-Object.methods
#etc