Jump to content

Can I inject keystrokes into an input form?


coghlan
 Share

Recommended Posts

Would it be possible to create a text file containing thousands of keystrokes and use this tools to inject them into the fields of a Windows form displayed by a 3rd-party app?

I need to import data from one app into another. If the vendor is not willing to provide me with a tool that can import a metafile that I would create, then I thought I might be able to simulate the entry of this data into one of the app's forms.

Link to comment
Share on other sites

Would it be possible to create a text file containing thousands of keystrokes and use this tools to inject them into the fields of a Windows form displayed by a 3rd-party app?

I need to import data from one app into another. If the vendor is not willing to provide me with a tool that can import a metafile that I would create, then I thought I might be able to simulate the entry of this data into one of the app's forms.

U mean install it first?

I just want to know its capabilities before doing any installs.

That is exactly the kind of thing AutoIt is best at. JdeB already pointed out Au3Info, which will allow you to see what kinds of controls are in the target window. Some types, like Flash, don't use Windows APIs and can't be seen/automated by AutoIt. But any app that uses the standard Windows APIs to draw its dialogs and windows can be automated with AutoIt.

You don't have to install AutoIt to use Au3Info. You can download the zip version and just extract and run the Au3Info.exe executable as a stand-alone.

:P

Edited by PsaltyDS
Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
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...