Can anyone tell me what I am doing wrong here:
keyboard_string=keyboard_check_pressed(vk_anykey)
I want the keyboard_string to be active even if the window is not active. ~ Thank in advance once again.
Direct-Help
Started by Invero, Mar 15 2012 11:38 AM
2 replies to this topic
#1
Posted 15 March 2012 - 11:38 AM
#2
Posted 15 March 2012 - 11:54 AM
keyboard_check_pressed returns true or false [1 or 0] depending on the specified key's state when the keyboard was last polled for changes.
You're setting this to the variable that stores the last 1024 keystrokes. In doing so, you are deleting the previous entries and setting it to a value that you don't want.
You're setting this to the variable that stores the last 1024 keystrokes. In doing so, you are deleting the previous entries and setting it to a value that you don't want.
#3
Posted 15 March 2012 - 11:58 AM
keyboard_check_pressed returns true or false [1 or 0] depending on the specified key's state when the keyboard was last polled for changes.
You're setting this to the variable that stores the last 1024 keystrokes. In doing so, you are deleting the previous entries and setting it to a value that you don't want.
If thats the case how would I go abouts making it grab the Key_string even if window is not active?
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











