Need to automate app with SendInput()

S

sklett

I've never tried to use windows messages to automate an application, but
I've read some different blogs and articles that talk about sending keyboard
input and mouse input.

I wanted to describe what I want to do and hopefully someone here can tell
me if it's possible or if I will be wasting my time.

The steps I need to execute are:
1) Import a file using the file menu of the target application
(File->Import)
2) paste a filename in the filename edit control
3) press enter
4) press another button in the UI
5) copy text from an edit control in the UI

I don't know if copying and pasting is possible or if working with common
controls like the FileOpen dialog.

If anyone has done this or knows if it's possible or not, I would appreciate
knowing that before I dig into this project.

Thanks for any help,
Steve
 
S

sklett

I just realized after thinking about this more that I can do everything that
I want with keyboard input, good ol' keyboard! ;)

Copy? "^c" - duh!
etc...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top