Sign in to follow this  
Followers 0
Insomniac420

Simulate keys?

7 posts in this topic

#1 ·  Posted (edited)

  So this question its a little embarrassing because it so simple but I would like to know 100%.

 So I know there is 3 to 4 types of possibilities for simulating keys. There is of course Autoit's built in send function and control send, and win api post message, and dllcall from user32.dll, and possibly something about creating a key board driver and using a dllcall now my question is am I missing any other types and also can you please clarify how Autoit's send command and control send work I mean are they the same as a dll call from user32.dll or same as a winapi post message, or are they completely different? Any ways sorry if this is a waist of your time and i know its a noob question but i like to get a good answer. By the way here is my app Auto_Clicker_App  in which i will be allowing the user to check box what type of send function works best for them. Thank you for your time.

 ClickerShot_zps6e2b3804.png

Edited by Insomniac420

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

No.

SendInput.

Respectively.

Just lol john.  So by saying "No" you mean I did list all the possible ways to simulate keys and by saying "Sendinput" you mean Autoit's built in func to send and control send just work by using  WINApI SendInput()? 

TY for the answer but i feel you did not explain your answer.

 

That brings another question to light WINApI SendInput() is that the lowest-level keyboard simulation besides creating a keyboard driver and using a dll call?

Edited by Insomniac420

Share this post


Link to post
Share on other sites

AutoIt is closed-source, so neither you or I have the faintest idea about how things are actually implemented in a particular release (which may change without notice over time).

The real question is: why do you feel the need to know, or put otherwise: which problem do you want to solve?


This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Share this post


Link to post
Share on other sites

AutoIt is closed-source, so neither you or I have the faintest idea about how things are actually implemented in a particular release (which may change without notice over time).

The real question is: why do you feel the need to know, or put otherwise: which problem do you want to solve?

I was going to allow the users of my app to have a check box that would allow them to choose the type of send function that works best for them. So if send() doesn't work for them they can try others. And if Autoit's send already uses win api post message it would be a waist of time to give them both options. But i think JohnOne is right Autoit uses SendInput.

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

As a suggestion: If the user tries to use it with an application that blocks such things you may want to put in a disclaimer on your GUI. For example Punk Buster.

TY for the good suggestion, as it is not intended for that purpose.

Edited by Insomniac420

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