Facility Control

 View Only
  • 1.  Script to EXPORT TAKE ITEM TO in Xpression

    Posted 07-31-2021 12:27
    Hello community, I am looking for a way to simplify the EXPORT TAKE ITEM TO command from the Xpression sequencer. I would like to know if there is any command or script to do it through the DashBoard.

    Or to be able to save in an image file the preview client that is shown in Dashboard.


    #XPression #DashBoard
    ------------------------------
    Christopher Veloz
    ------------------------------
    ​​


  • 2.  RE: Script to EXPORT TAKE ITEM TO in Xpression

    Ross Staff
    Posted 08-12-2021 17:16
    Christopher,

    To clarify, are you looking for a script inside Dashboard to export take items or a script inside XPression?

    Here is a script you could use if you want to export the current focused take item in XPression sequencer from a XPression keyboard/GPI script action

    dim exporter as xpSequenceExporter
    dim takeitem as xpBaseTakeItem
    dim saveDialog as new System.Windows.Forms.SaveFileDialog
    try
    	saveDialog.Filter = "XML files (*.xml)|*.xml|All files (*.*)|*.*"
    	saveDialog.FilterIndex = 0
    	engine.Sequencer.CreateExporter(exporter)
    	engine.Sequencer.GetFocusedTakeItem(takeitem)
    	exporter.AddItem(takeitem)
    	if saveDialog.ShowDialog = System.Windows.Forms.DialogResult.OK Then
    		exporter.SaveToXML(saveDialog.FileName)
    	end if
    catch ex as Exception
    	Engine.DebugMessage(Ex.Message, 2)
    end try​


    ------------------------------
    Brandon Derry
    Ross Video
    ------------------------------



  • 3.  RE: Script to EXPORT TAKE ITEM TO in Xpression

    Posted 05-31-2022 16:00
    Hi,

    Is there a way to modify this script to create a single frame PNG for the export take item to. It looks like this is creating an XML file.

    Also, is it possible to export multiple take IDs into a single Export Take Item to?

    For example: I have a lower third graphic that is composite of a banner and text. They are two separate Take IDs. I would like to export both onto one single composited PNG image. Just how they show up on-air when I have both take IDS online. I've only been able to export one take item at a time.

    ------------------------------
    John Kimball
    Video Production
    Legislative
    ------------------------------