Is there any other way for a robot to detect a key being pressed other than :keyX label, key_pressed counter or if keypressed command?
Page 1 of 1
key detection
#2
Posted 07 February 2007 - 08:28 AM
if "key44" = 1 "label"
if "key_code" = 44 "label"
if "key_release" = 44 "label"
To get the numbers you need (44 is Z), create a robot with this code and press keys.
: "a"
* "&key_code&"
goto "a"
Next time try the help file.
if "key_code" = 44 "label"
if "key_release" = 44 "label"
To get the numbers you need (44 is Z), create a robot with this code and press keys.
: "a"
* "&key_code&"
goto "a"
Next time try the help file.
#3
Posted 08 February 2007 - 06:39 AM
Thanks, works smooth now.
Such a lovely site and you expect me to read a dead piece of text?
Ok.
Quote
Next time try the help file.
Such a lovely site and you expect me to read a dead piece of text?
Ok.

koji: SCRUMTRELLESCENT!
#4
Posted 08 February 2007 - 04:37 PM
Is it generally bad karma to use "key_pressed"? I still use it for when I need to distinguish between keys that have the same key_code code (eg page down and numpad 3 (also a page down)
this is a signature
Share this topic:
Page 1 of 1

Help






