1 Reply Latest reply on Jun 29, 2015 3:43 PM by philmodjunk

    Export Slide Control



      Export Slide Control


      Hi all, how do you set up a script to choose the "front" or "current" slide and export that to the desktop / email etc. I have the script to do the exporting but as in each slide there is differently named container field,  you can't use the normal "export field contents" as you never know which one the user will be on/ want.

      What you do know is they will scroll through to find the document they want and then click an adjacent button.


        • 1. Re: Export Slide Control

          You can still use Export Field Contents, you just need more than one and an IF block that determines which panel of the slide control is the front panel at the time the script executes. Or, if you use a button on the slide control panel to do the export, you can include a script parameter that tells the script which to use for the export.

          Use the Name box in the Inspector to give each panel of your tab control an objectname.

          Use the IsFrontPanel attribute of GetLayoutObjectAttribute to test to see which panel is currently the front.

          Alternatively, you can use the OnPanelSwitch trigger with Get ( TriggerTargetPanel ) to set a global variable to a value that can be checked to see which panel is currently the front panel.