View Full Version : How to remove a persistant page on the output
taiandre
03-26-2009, 10:31 AM
I need to find a way to remove a persistant page that is at the output, when and only when I read, at the output, the same page again. What I'm trying to do is that I want to prevent to have the same page twice (or more) at the output.
Is there a way to do this by Lyric commands or if I have to do it by a Macro?
If it's a macro, what would be the command lines?
Thanks
Andre
CherylHardy
03-26-2009, 11:28 AM
If you build Update In and Out transitions on that message, even though it is persistent, it will change on to your new message provided they are given the same name (in Properties window->Transition->Name) and there will be no conflict on your output.
If ever you want to play on-demand the effect out of a persistent message, you can assign the Effect Out transition to a hotkey by going to Properties->Transition and Transition Hotkey Assignments at the bottom of the window, making sure that you are selected on the Effect Out transition in the timeline.
Chyron Spock
03-26-2009, 12:10 PM
'script to be used in a macro event when a scene is played out
'if a specified scene already exists on output, erase canvas
'if not, then do nothing
sSceneSought = "SceneName" 'name or descrip of the scene to look for
bSceneByName = true 'whether the above is a name or descrip
set fb = FrameBuffer(ActiveFrameBuffer)
set thisscene = ActiveCanvas.Scene
bSceneFound = false
for each sc in fb.Scenes(2) 'iterate all the scenes on output
if bSceneByName AND (sc.Name = sSceneSought) then
bSceneFound = true
Exit For
elseif (NOT bSceneByName) AND (sc.Description = sSceneSought) then
bSceneFound = true
Exit For
end if
next
if bSceneFound then
MsgBox "Message already ON AIR. DO NOT PLAY!!!"
End if
Chyron Spock
03-26-2009, 04:10 PM
Or if you don't want to use a macro, you could put in 'dummy' or empty Update In/Out transitions where no changes take place. That would prevent stacking on the air, but not affect playback.