A few questions concerning scripting.

Hello,
I am trying to figure out how to script for Harmony, and I have a few questions.

I noticed that they key modifiers has scripting functions such as:
Keymodifiers.IsControlPressed();
Keymodifiers.IsAlternatePressed();
Keymodifiers.IsShiftPressed();
Keymodifiers.IsSpacePressed();

I was wondering how to catch regular keys, is there a Toon boom method to detect when normal keys are pressed? (I mean apart from Control, alt, Shift and space)

I was reading ho two doit in Qt script and I found .onKeyPress and Qt.Key_Left, statements and similar, are those regular Qt objects available within toon boom?

So far I found lots of documentation about how to implement qt scripting language into qt projects, but yet did not find a proper guide how to use qt script on its own, neither how many regular qt script functions has been made available for harmony to use. As I understood not all the Qt objects can be called… is there any reference guide somewhere apart than the one referring to the Toon boom objects?

I have more questions, but lets start with this :slight_smile:

Thanks!

Do you have any example for using “IsShiftPressed();” ?
do i need to import any other liblary or script? to use this function?

Cheers!