Page 1 of 1
How to test key!?
Posted: Sun Dec 20, 2015 9:18 pm
by ArtBlink
HEllo,
Iskeydown don't work with texteditor... Do you know how i can test keyboard please?
Thanks
Re: How to test key!?
Posted: Mon Dec 28, 2015 10:49 pm
by airsoftsoftwair
You can create an object of type
Hollywood class and then listen to "OnKeyDown". IsKeyDown() should work then too.
Re: How to test key!?
Posted: Mon Jan 04, 2016 12:12 am
by ArtBlink
Ok, i test this, but not now, i would to test return key to inilialise my auto completion of hollywood command.
And if i use local variable, my script will be more speeder... yeahhh!!! i try this, thanks a lot
Re: How to test key!?
Posted: Sun Jan 24, 2016 9:25 pm
by ArtBlink
I test some code, but it don't work!!!????
have you got an exemple please ?
I want to test "RETURN" and "ENTER" key
Thanks for all
Re: How to test key!?
Posted: Tue Jan 26, 2016 6:43 pm
by airsoftsoftwair
Does your Hollywood object have keyboard focus? Try setting
Window.ActiveObject to your Hollywood object.