Hello,
I am looking to have a shortcut to Take Online a certain Take ID in Sequencer and also Take Offline that same Take ID. I have limited buttons on my keyboard to map to since I use so many of them. I don't want to have two buttons taken up. I am trying to accomplish with scripting a take on and take off command using the same button on my keyboard. The first press brings the TakeID online and the second press takes it offline. Flint from Ross Support found a way to do that, but it requires the sequencer to be focused on the take ID first. Is there someone that could help with a command to set the sequencer's focus on a specific take ID?
Sub OnKeyPress (Engine as xpEngine)
dim takeitem as xpTakeItem
engine.Sequencer.GetFocusedTakeItem(takeitem)
if takeitem.IsOnline then
takeitem.SetOffline
else
takeitem.Execute
End If
------------------------------
John Kimball
Video Production
Legislative
------------------------------