Ok this script goes on a shortcut in the "keyboard/GPI Mapping" section under "Edit". Take a look at it.
dim fb as xpOutputFramebuffer
dim scene as xpScene
dim sd as xpSceneDirector
dim layer as integer
engine.GetOutputFramebuffer (0,fb)
fb.GetSceneOnLayer (0, scene)
'this checks to see which layer your scene is on.
For layer = -10 to 15
If fb.GetSceneOnLayer(layer, scene) then
'change the name of My Scene and My Scene director to fit your scene
if scene.Name = "My Scene" then
scene.GetSceneDirectorByName ("My Scene Director", sd)
'this checks where the play head is on your scene director
'and also allows you to play in reverse if you want
'change the ranges to match your scene director length
if sd.Position >=10 then
sd.PlayRange(15,0)
else
sd.Playrange(0,15)
end if
end if
end if
next
------------------------------
Malcolm Thorpe
Free Lance Xpression Designer/Carbonite TD
------------------------------
Original Message:
Sent: 06-02-2022 01:00
From: Malcolm Thorpe
Subject: #XPression Triggering animations for an online graphic
it'a piece of cake. I'll send you a script first thing in the morning. I'll put a few notes in the script to explain what is going on but it's only a few lines.
------------------------------
Malcolm Thorpe
Free Lance Xpression Designer/Carbonite TD
Original Message:
Sent: 06-02-2022 00:55
From: Mark Stasiowski
Subject: #XPression Triggering animations for an online graphic
Thank you for responding!
I am using this straight from the XPression sequencer, so I'd be using keystrokes. I'll give the scripting a shot. I've used some scripting before, although a lot of it is just copying and pasting it in the right spot. Any help is appreciated. Thank you.
------------------------------
Mark Stasiowski
Original Message:
Sent: 06-02-2022 00:33
From: Malcolm Thorpe
Subject: #XPression Triggering animations for an online graphic
How do you plan on playing the various animations? Are you using a dashboard. or keystrokes to trigger? The way I am think would involve some scripting but it's very simple.
------------------------------
Malcolm Thorpe
Free Lance Xpression Designer/Carbonite TD
Original Message:
Sent: 05-30-2022 22:33
From: Mark Stasiowski
Subject: #XPression Triggering animations for an online graphic
Hello all. My question involves choosing an animation to play out "on the fly" while the graphic is online. I begin by playing out a full screen. There are four lines (topics for discussion). Each line has 3 boxes, which are basically dark colored quads. As the host of the show introduces a topic, he will then make a choice of box 1, box 2, box 3, or a combination of all boxes. As he makes his choice, I want to be able to animate the dark colored box to a bright colored box, indicating that the bright colored box is his choice.
Right now, I have an animation in Scene Director, which is a 20 frame dissolve. I also made separate scene directors for each line. Each scene director has separate animation controllers for each box animation (a 10 frame dissolve to "light up" the dark colored box). I also want to anticipate the host going out of order on the topics. He may go from Line 1 to the topic on Line 3 and make his picks for line 3, then jump back to line 2, etc.
------------------------------
Mark Stasiowski
------------------------------