Jump to content
Sign in to follow this  
h711

Can AutoIt work on different language OS?

Recommended Posts

h711

Hi, I am new to Autoit and have some basic questions about it.

1, I need to automate an installer application. It need to be run on different native language OS. Instead of using title names and button names, can I use handle ID to automate it? This way, the same program can work on different language OS.

2, Is there a screen cap function build with this tool?

By the way, what is the best way to find out handle ID? I use WinSpy to scan it, but the problem is that the ID seems to change every time I restart the application.

Thanks for the help!!!

Share this post


Link to post
Share on other sites
pugboy

If you download the full SciTe editor, the window information tool is under "Tools".

Yes, there is a screen capture UDF built in.

Share this post


Link to post
Share on other sites
PsaltyDS

Hi, I am new to Autoit and have some basic questions about it.

1, I need to automate an installer application. It need to be run on different native language OS. Instead of using title names and button names, can I use handle ID to automate it? This way, the same program can work on different language OS.

2, Is there a screen cap function build with this tool?

By the way, what is the best way to find out handle ID? I use WinSpy to scan it, but the problem is that the ID seems to change every time I restart the application.

Thanks for the help!!!

You more likely want the ClassNameNN or Class/Instance information. That should be stable each time you run it. The handle will change every time it is run. To use the handles, start from ClassNameNN and then get the handle with ControlGetHandle(), or WinGetHandle().

Look in the help file for more information on identifying windows and controls based on class, instance, etc.

;)


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

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.