Jump to content
Sign in to follow this  


Recommended Posts

How do I get AutoITX working in C#?

This is my code:

using System;

using System.Drawing;

using System.Collections;

using System.ComponentModel;

using System.Windows.Forms;

using System.Data;

using AutoItX3Lib;

AutoItX3Lib.AutoItX3Class see = new AutoItX3Lib.AutoItX3Class();

see.Run (@"C:\WINNT\system32\dllcache\iexplore.EXE http://www.google.com",string.Empty,0);

see.WinWaitActive("Google - Microsoft Internet Explorer",string.Empty,0);

see.Send("RE ",0);


I see this is brilliant for testing software, and I can write a C# app so we can create test spplications to run scripts a number of times or send specific commands.

Also, can you run this in ASP.NET from a web page? Then I can create a test app that runs of the browser!

Please give some sample code.




Share this post

Link to post
Share on other sites

I'm not sure how ASP.NET works but I don't believe you can make COM calls through the internet unless the end client actually has the COM component installed and registered. I know it is this way with HTML and other standard page types.

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...