h711 Posted September 2, 2008 Posted September 2, 2008 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!!!
pugboy Posted September 2, 2008 Posted September 2, 2008 If you download the full SciTe editor, the window information tool is under "Tools". Yes, there is a screen capture UDF built in.
PsaltyDS Posted September 3, 2008 Posted September 3, 2008 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now