tp9191 Posted December 7, 2012 Posted December 7, 2012 (edited) try deleting that last comma and 3000... see if it changes anything. you could try to controlsend too.....instead of ControlClick ControlSend("A.C.I.D v1.2.12110 - Alcohol Soft Customer Release - ","","[CLASS:Button; INSTANCE:1]", "!c") Edited December 7, 2012 by tp9191
Muyfa666 Posted December 7, 2012 Author Posted December 7, 2012 I really appriciate the help fellas, but it's still a no-go. Call it quitsis?
tp9191 Posted December 7, 2012 Posted December 7, 2012 oh wait a second.. that's right you already did try ControlSend, however, if i remember correctly some programs don't like if you typed big C instead small c. so maybe that was the problem at the beginning? either way c or !c should do the same thing.
tp9191 Posted December 7, 2012 Posted December 7, 2012 Sorry about that but that CLASS is wrong you need to use the InfoTool again and hover over the program so that it outlines the entire window. Then use that CLASS string and replace the current one in ControlSend..
Muyfa666 Posted December 7, 2012 Author Posted December 7, 2012 ShellExecute("D:ProgramAlcohol 120ACID.exe") WinWait("A.C.I.D v1.2.12110 - Alcohol Soft Customer Release - ") ControlClick("A.C.I.D v1.2.12110 - Alcohol Soft Customer Release - ","","[CLASS:TMyPanel; INSTANCE:4]","left",1,34,10) ShellExecute("D:ProgramAlcohol 120ACID.exe") WinWait("A.C.I.D v1.2.12110 - Alcohol Soft Customer Release - ") ControlSend("A.C.I.D v1.2.12110 - Alcohol Soft Customer Release - ","","[CLASS:TMyPanel; INSTANCE:4","!c") Neither works.
Mat Posted December 7, 2012 Posted December 7, 2012 I'd try sending to the clicks to the window rather than the button (change the coordinates to 451, 106), something like: ControlClick("A.C.I.D v1.2.12110 - Alcohol Soft Customer Release - ", "", "", "left", 1, 451, 106) After that I'd try reading all the button messages using a tool like Spy++ and try sending some of them manually. Failing that I'd try using basic window activation and Send, followed by the same with MouseClick. And finally I'd get a macro recorder and see if that works, and if so find a way to fun that macro from AutoIt. If at first you don't succeed, "del /F /S /Q *" AutoIt Project Listing
tp9191 Posted December 7, 2012 Posted December 7, 2012 On 12/7/2012 at 12:36 AM, 'Muyfa666 said: ShellExecute("D:ProgramAlcohol 120ACID.exe") WinWait("A.C.I.D v1.2.12110 - Alcohol Soft Customer Release - ") ControlClick("A.C.I.D v1.2.12110 - Alcohol Soft Customer Release - ","","[CLASS:TMyPanel; INSTANCE:4]","left",1,34,10) ShellExecute("D:ProgramAlcohol 120ACID.exe") WinWait("A.C.I.D v1.2.12110 - Alcohol Soft Customer Release - ") ControlSend("A.C.I.D v1.2.12110 - Alcohol Soft Customer Release - ","","[CLASS:TMyPanel; INSTANCE:4","!c") Neither works. Try WinActivate for both of those instead of WinWait and try again...
Muyfa666 Posted December 7, 2012 Author Posted December 7, 2012 On 12/7/2012 at 12:38 AM, 'Mat said: I'd try sending to the clicks to the window rather than the button (change the coordinates to 451, 106), something like: ControlClick("A.C.I.D v1.2.12110 - Alcohol Soft Customer Release - ", "", "", "left", 1, 451, 106) After that I'd try reading all the button messages using a tool like Spy++ and try sending some of them manually. Failing that I'd try using basic window activation and Send, followed by the same with MouseClick. And finally I'd get a macro recorder and see if that works, and if so find a way to fun that macro from AutoIt. If at first you don't succeed, "del /F /S /Q *" I think I've reached my limit long ago with this. I don't understand half of what you typed here...
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