tp9191 Posted December 7, 2012 Share 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 Link to comment Share on other sites More sharing options...
Muyfa666 Posted December 7, 2012 Author Share Posted December 7, 2012 I really appriciate the help fellas, but it's still a no-go. Call it quitsis? Link to comment Share on other sites More sharing options...
tp9191 Posted December 7, 2012 Share 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. Link to comment Share on other sites More sharing options...
Muyfa666 Posted December 7, 2012 Author Share Posted December 7, 2012 Small c not working either. Link to comment Share on other sites More sharing options...
tp9191 Posted December 7, 2012 Share 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.. Link to comment Share on other sites More sharing options...
Muyfa666 Posted December 7, 2012 Author Share 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. Link to comment Share on other sites More sharing options...
Mat Posted December 7, 2012 Share 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 Link to comment Share on other sites More sharing options...
tp9191 Posted December 7, 2012 Share 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. Try WinActivate for both of those instead of WinWait and try again... Link to comment Share on other sites More sharing options...
Muyfa666 Posted December 7, 2012 Author Share 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 *" I think I've reached my limit long ago with this. I don't understand half of what you typed here... 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