Community Forum

Get key input

Forum Overview >> Scripting

CategoryScripting
Created19.03.2012 00:10


Tobias F (JD6930) 19.03.2012 00:12
Hey,

I'm planning to simulate a key input via script.

I found this function:

InputBinding:addDownButton()

Is it possible to do it with this funciton?

Cheers

Christian Ammann - GIANTS Software 02.04.2012 18:59
Hi Tobias,

Did you try this: keyEvent (http://gdn.giants-software.com/documentation_scripting.php#runtime_function_reference_callbacks).

Best,
Chris

Tobias F (JD6930) 08.04.2012 19:46
hm, didn't try this.

How can I get the depending unicode, sym and modifier values by e.g. InputBinding.LOWER_IMPLEMENT ?

I think isDown has to be true?

Cheers

Christian Ammann - GIANTS Software 04.06.2012 16:54
Hi Tobias,

InputBinding.LOWER_IMPLEMENT should be the sym code defined for each key here: http://gdn.giants-software.com/documentation_scripting.php#runtime_foundation_reference_input

Best,
Chris


Note: Log in to post. Create a new account here.