Sign in to follow this  
Followers 0
BillLuvsU

KeyboardSetState( ) API Call

12 posts in this topic

Could someone help me with how to use this funtion? Its in the user32.dll file and there is a description of it here. Thanks in advance ;P


[center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw

Share this post


Link to post
Share on other sites



Yes, but I do not know how to put the individual bits it's asking for in the parameter.


[center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Yes, but I do not know how to put the individual bits it's asking for in the parameter.

Should probably start with the right function, you have KeyboardSetState() and it's SetKeyboardState().

Edit:

MSDN

Edited by SmOke_N

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

lol, srry. I was really tired when I posted that. But I HAVE been trying. Unfortunatly I am extremly rusty since my computer has been in the shop for like a year :D*


[center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw

Share this post


Link to post
Share on other sites

lol, srry. I was really tired when I posted that. But I HAVE been trying. Unfortunatly I am extremly rusty since my computer has been in the shop for like a year :D*

Can you explain what your trying to set it too? (the keyboard that is).

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

I'm trying to manually set the keyboard to certain configuartions in a sequence (think of a light show) to play a game.


[center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw

Share this post


Link to post
Share on other sites

bump


[center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw

Share this post


Link to post
Share on other sites

bump

I was trying to figure it out myself, but a bump like that after 30 minutes was rediculous!

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

^Exactly what I was thinking.

Using send will do what I think you are trying to do.

Share this post


Link to post
Share on other sites

No, beause you see the game detects the send function (I think it's because it detects the strings for that particular function in User32.dll) so I have to try a different funtion.


[center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0