Jump to content

Recommended Posts

Posted (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 by tp9191
Posted

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.

Posted

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..

Posted

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.

Posted

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 *"

Posted

  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...
Posted

  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...

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...