realkiller Posted January 6, 2007 Share Posted January 6, 2007 how can i make a pixel click on this button , i never done this Remote 3.1 BetaRemote Media Player ControlUSB Security 1.2 Link to comment Share on other sites More sharing options...
Zedna Posted January 6, 2007 Share Posted January 6, 2007 use Au3Info for discover Window title, text and ControlID. Then use ControlClick() Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
realkiller Posted January 6, 2007 Author Share Posted January 6, 2007 (edited) cant retrive any info thats why i wanna do it with pixelklik please help me Edited January 6, 2007 by realkiller Remote 3.1 BetaRemote Media Player ControlUSB Security 1.2 Link to comment Share on other sites More sharing options...
Zedna Posted January 6, 2007 Share Posted January 6, 2007 cant retrive any info thats why i wanna do it with pixelklik please help meThen tell us what application it is and make some screenshots. Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
realkiller Posted January 6, 2007 Author Share Posted January 6, 2007 it must pixel click on algemene informatie www.members.lycos.nl/roberthertzer/clairify.bmp Remote 3.1 BetaRemote Media Player ControlUSB Security 1.2 Link to comment Share on other sites More sharing options...
Richard Robertson Posted January 6, 2007 Share Posted January 6, 2007 Every control has an ID. If the program is not using controls, but drawing directly on the form using button images, that is not intrinsic by any means. I have never seen a non-game program that does not use standard Windows common controls. "Pixel clicking" does not make much sense. Do you mean you want to click on a specific coordinate? MouseClick("left", $x, $y). Just figure out the coordinates if you are truly unable to get control IDs. Link to comment Share on other sites More sharing options...
Zedna Posted January 6, 2007 Share Posted January 6, 2007 (edited) it must pixel click on algemene informatiewww.members.lycos.nl/roberthertzer/clairify.bmpHey man 3 MB BMP? You are crazy! It can be converted to 32 KB PNG!!Back to topic:If AU3Info says nothing then with Winspector find what message and wparam/lparam is corresponding to this button and then make _SendMessage() with this discovered message and wparam/lparam Edited January 6, 2007 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Zedna Posted January 6, 2007 Share Posted January 6, 2007 (edited) Every control has an ID. If the program is not using controls, but drawing directly on the form using button images, that is not intrinsic by any means. I have never seen a non-game program that does not use standard Windows common controls.For your information:I know about such applications. For example Datawindow object in PowerBuilder. This Datawindow is for working with database but it can contains also buttons etc. In AU3INFO is it as One control (also with all buttons edits in it). Edited January 6, 2007 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
realkiller Posted January 7, 2007 Author Share Posted January 7, 2007 (edited) why cant nobody help me making a pixel klik that i whot i ask:p(its citrix environment) Edited January 7, 2007 by realkiller Remote 3.1 BetaRemote Media Player ControlUSB Security 1.2 Link to comment Share on other sites More sharing options...
Zedna Posted January 7, 2007 Share Posted January 7, 2007 why cant nobody help me making a pixel klik that i whot i ask:p(its citrix environment)If it's CITRIX enviroment then I think you must use only MouseClick at defined position (it's problem when changing size of window) or do some PixelCheckSum of area with your button and then in FOR loop search for area with the same PixelCheckSum. I can't help you more with this. Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
AzKay Posted January 7, 2007 Share Posted January 7, 2007 Well, we could help you, if you told us what "pixelklik" was. # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
realkiller Posted January 7, 2007 Author Share Posted January 7, 2007 hihi i hear you could do a pixel checksum and with that you could do a mouse click . i wanna make aleft mouse click on algemene informatie could you help me making this i dont know where to start. Remote 3.1 BetaRemote Media Player ControlUSB Security 1.2 Link to comment Share on other sites More sharing options...
AzKay Posted January 7, 2007 Share Posted January 7, 2007 hihi i hear you could do a pixel checksum and with that you could do a mouse click .i wanna make aleft mouse click on algemene informatie could you help me making this i dont know where to start.Pixelchecksum wouldnt help atall. =3 # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
realkiller Posted January 7, 2007 Author Share Posted January 7, 2007 what would you reccomend me? i do now normal mouse click because control mouse click doesnt work cant see any info. but if i sit on a difrent pc with difrent resolution difrent window size then it doesnt work. Remote 3.1 BetaRemote Media Player ControlUSB Security 1.2 Link to comment Share on other sites More sharing options...
AzKay Posted January 7, 2007 Share Posted January 7, 2007 No idea. # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
Zedna Posted January 7, 2007 Share Posted January 7, 2007 Pixelchecksum wouldnt help atall. =3It can be used with risk of some probability of problems. Or instead of searching area with the same PixelCheckSum he can Search area with every pixel the same as pixels in area of that button. So search for exact image on the screen. But I think this will be VERY slow!! Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
AzKay Posted January 7, 2007 Share Posted January 7, 2007 It can be used with risk of some probability of problems. Or instead of searching area with the same PixelCheckSum he can Search area with every pixel the same as pixels in area of that button. So search for exact image on the screen. But I think this will be VERY slow!!I thought pixelchecksum detected pixel changes. PixelChecksum(0, 0, 10, 10) While PixelChecksum(0, 0, 10, 10) WEnd MsgBox(0, "", "") Nothing would happen unless there was a change in pixels over the area. # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
Zedna Posted January 7, 2007 Share Posted January 7, 2007 (edited) I thought pixelchecksum detected pixel changes. PixelChecksum(0, 0, 10, 10) While PixelChecksum(0, 0, 10, 10) WEnd MsgBox(0, "", "") Nothing would happen unless there was a change in pixels over the area. You didn't understand my idea: 1) before making script he must compute PixelCheckSum value of area with button "by hand" - with helper script 2) in his script make FOR loop where he will find area with the same PixelCheckSum value discovered by helper script from 1) I know there could be some problems (color depth, possible another area with the same PixelCheckSum value and so on) but for some situation it can work Edited January 7, 2007 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
realkiller Posted January 7, 2007 Author Share Posted January 7, 2007 if i read the script correctly then it wait until it sees the pixel. but if the pixel isnt there. Then it will not continu or click on it so the app hangs. is there no a simpel solution for this? Remote 3.1 BetaRemote Media Player ControlUSB Security 1.2 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