OSC:EOS SendKey

From Moving Light Assistant
Jump to: navigation, search

EOS_SendKey( key )

key is a string.

This function will send a key press to the console. The function will actually send a key down and key up command. If you want to send separate key down and key up commands, you should use the EOS_SendKeyDown and EOS_SendKeyUp functions.

The name of the key generally matches the physical button on the console, but their are some exceptions. NOTE: for a list of supported key names, look in the magic sheet editor select "Console Button" magic sheet item, and see the list of Hard Keys options.

Example.

OSC:EOS_SendKey("Thru")

This would push the Thru key on the console.

OSC:EOS_SendKey("Clear_Cmd")

This would be the same as pushing the Clear button on the console.

Exception Keys

Clear = Clear_Cmd
Select Next = Select_Next