Yes, that looks like what I was trying to get across.. Only one small mistake (but it won't affect your script at all)..
It should be like this:
`
dim framebuffer,layer as integer
scene.GetOnline(framebuffer,layer)
`
because the second parameter from GetOnline is a layer, not a channel..
#XPression