Jump to content

Visual C# Port


Recommended Posts

Hey guys I'm trying to port my AutoIT3 keystroke sender from AutoIT3 to Visual C#. I just wanted to know should I be using the AutoITX.dll or the USER32.dll along with it's native send key functions. Any help would be great.

It is really strange though. I'm using right now the keybd_event from the User32.DLL and I can get it to send the keys successfuly but when I go into the application I want the keystrokes to be sent to, which is a game, it doesn't send they keys properly; however, in notepad it will exicute just perfectly. Any help would be great!

[quote] Gilbertson's Law: Nothing is foolproof to a sufficiently talented fool.Sandro Alvares: Flaxcrack is please not noob! i can report you is stop stupid. The Post[/quote]I made this: FWD & MD5PWD()

Link to comment
Share on other sites

Hey guys I'm trying to port my AutoIT3 keystroke sender from AutoIT3 to Visual C#. I just wanted to know should I be using the AutoITX.dll or the USER32.dll along with it's native send key functions. Any help would be great.

It is really strange though. I'm using right now the keybd_event from the User32.DLL and I can get it to send the keys successfuly but when I go into the application I want the keystrokes to be sent to, which is a game, it doesn't send they keys properly; however, in notepad it will exicute just perfectly. Any help would be great!

Got it! If you care to know how I did it let me know else I wont waste space.

[quote] Gilbertson's Law: Nothing is foolproof to a sufficiently talented fool.Sandro Alvares: Flaxcrack is please not noob! i can report you is stop stupid. The Post[/quote]I made this: FWD & MD5PWD()

Link to comment
Share on other sites

I'd like to kno3

It is really stuiped actuall. I just added the AutoITX.dll as a reference and then called it like so:

public AutoItX3Lib.AutoItX3Class aui = new AutoItX3Lib.AutoItX3Class();

then i was able to use:

aui.send("bla bla bla", 1);

[quote] Gilbertson's Law: Nothing is foolproof to a sufficiently talented fool.Sandro Alvares: Flaxcrack is please not noob! i can report you is stop stupid. The Post[/quote]I made this: FWD & MD5PWD()

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...