mrm3th Posted August 25, 2010 Share Posted August 25, 2010 (edited) Hi,I am trying to install adobe lightroom using Autoit.I can install but when i need to push the button to complete the registration it doesnt work.I have read the forum and the helpfile but it seems like nothing works.Here is the info from auto it tool : >>>> Window <<<<Title: LightroomClass: Afx:00400000:0Position: 564, 102Size: 706, 520Style: 0x96C80000ExStyle: 0x000C0101Handle: 0x0007012C>>>> Control <<<<Class: ButtonInstance: 11ClassnameNN: Button11Name: Advanced (Class): [CLASS:Button; INSTANCE:11]ID: 100Text: VoltooienPosition: 460, 451Size: 111, 27ControlClick Coords: 39, 16Style: 0x56000000ExStyle: 0x00000000Handle: 0x000301F0>>>> Mouse <<<<Position: 1066, 598Cursor ID: 0Color: 0xF0F4F9Hope someone can help cause it is driving me nuts... Edited August 25, 2010 by mrm3th Link to comment Share on other sites More sharing options...
PsaltyDS Posted August 25, 2010 Share Posted August 25, 2010 Try this: $hWin = WinGetHandle("[CLASS:Afx:00400000:0; TITLE:Lightroom]", "") $hControl = ControlGetHandle($hWin, "", "[CLASS:Button; INSTANCE:11]") ControlClick($hWin, "", $hControl) Sleep(1000) MsgBox(64, "Results", "$hWin = " & $hWin & @CRLF & "$hControl = " & $hControl) P.S. Kudos for posting the required info. 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 Link to comment Share on other sites More sharing options...
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