Sending command to Input Setup

mzafrany

New member
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.
 
NextLiveSet() command seems not works. It dose not work on my VT5.
Did you success to change the LiveSet in InputSetup module?
 
You can use following scripts under TabbedSwithcer to switch "zooms" under LiveSet shot.

Code:
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.
 
Last edited:
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)

Code:
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)
 
Back
Top