Reputation: 4361
I have a long and annoying process which is using three different applications and I must do this every week I'm looking for a tool to automate all these steps . all my applications are winform applications , basicly I need to open applications simulate button clicks or left clicks .
I have done the same thing for webforms using WATIN and now I'm looking for right tool doing the same for winforms . thanks
Upvotes: 0
Views: 158
Reputation: 1024
(Excuse me for duplicating. I cannot add a comment to the previous post)
AutoIt can automate WindowsForms. After it's installed, you'll find a help file, that is enough to work with. You can create an EXE file and run it on any machine.
Upvotes: 0
Reputation: 55059
Just launch the app using System.Diagnostics.Process
, then use FindWindow
to find the application, SetForeGroundWindow
to make it the active app then use SendKeys
to send keypresses and SendInput
for mouse clicks.
If you need send anything that isn't possible via SendKeys
or SendInput
, you might have to use SendMessage
.
Upvotes: 1
Reputation: 23274
Something like AutoIt? http://www.autoitscript.com/autoit3/index.shtml
Upvotes: 1