PDA

View Full Version : Sending command to Input Setup



mzafrany
06-18-2010, 03:09 PM
I am trying to create a script that will do some things in switcher and change the Live set.

The problem is, I can not get switcher to send a command to Input setup. I tried:

CreateShortCut ("NumP1",code(
{
Take()
FindModule( Input_Setup ) : NextLiveSet()
}
),"OrderedFocus",KbdPriorityHigh)


but this does nothing.

The other way, i.e. sending command from Input setup to switcher works:

CreateShortCut ("NumP1",code(
{
FindModule( Switcher_Tabbed ) : Take()
NextLiveSet()
}
),"OrderedFocus",KbdPriorityHigh)

Please help.

animlab
06-19-2010, 11:55 PM
NextLiveSet() command seems not works. It dose not work on my VT5.
Did you success to change the LiveSet in InputSetup module?

animlab
06-20-2010, 12:13 AM
You can use following scripts under TabbedSwithcer to switch "zooms" under LiveSet shot.


CreateShortCut ("alt B",code(
FindModule( "FXSetupGUI" ):NextLiveSet()
),"OrderedFocus", 1000)

CreateShortCut ("alt V",code(
FindModule( "FXSetupGUI" ):PrevLiveSet()
),"OrderedFocus", 1000)

However, I did not find commands to change LiveSet scene yet.

mzafrany
06-20-2010, 02:03 PM
Hi Chen,

Thank you, thank you, thank you....

This is working perfect.

I know that there is no command to select a scene, but I do not need it for my project.

For anyone interested. I have replaced the current functionality of numkeys 1-4 with a code to select a zoom level (1-4)


CreateShortCut ("NumP1",code(
{
FindModule( FXSetupGUI ) : {
PrevLiveSet()
PrevLiveSet()
PrevLiveSet()
}
}
),"OrderedFocus",KbdPriorityHigh)

CreateShortCut ("NumP2",code(
{
FindModule( FXSetupGUI ) : {
PrevLiveSet()
PrevLiveSet()
PrevLiveSet()
NextLiveSet()
}
}
),"OrderedFocus",KbdPriorityHigh)

CreateShortCut ("NumP3",code(
{
FindModule( FXSetupGUI ) : {
PrevLiveSet()
PrevLiveSet()
PrevLiveSet()
NextLiveSet()
NextLiveSet()
}
}
),"OrderedFocus",KbdPriorityHigh)

CreateShortCut ("NumP4",code(
{
FindModule( FXSetupGUI ) : {
PrevLiveSet()
PrevLiveSet()
PrevLiveSet()
NextLiveSet()
NextLiveSet()
NextLiveSet()
}
}
),"OrderedFocus",KbdPriorityHigh)