#include "..\\Common\\Functions.ToasterScript"
LastPGM = GetProgramRow()
CreateShortCut ("Ctrl i", code(
// Save old PGM row
LastPGM = GetProgramRow()+1
// Change the path of your DVE
LoadDVE("C:\\Program Files\\NewTek\\VT5\\DVEs\\Wipes\\LeftToRightEdge.dve")
WaitForDVEToBeLoaded()
// Set PGM to 1, and PVW to 2, modify as you need
SetPreviewRow(2)
SetProgramRow(1)
// jump to half transition position
ts_JumpHalfwayTBar()
), "OrderedFocus", KbdPriority)
CreateShortCut ("Ctrl o", code(
// Restore last PGM row
SetProgramRow(LastPGM)
// reset transition position
SetTBarPosition(0)
), "OrderedFocus", KbdPriority)