OSC: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 (listed at the bottom of the page). NOTE: for a list of supported key names, look in the magic sheet editor, select the “Console Button” magic sheet item, and you will then 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

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.