Guys i make a program that delete yahoo messages. when i put (X,Y,true) for example (234,-12,true); well it works fine.. all works fine.. until next day.. i run the script ..it click in other surface..it wont click in the link i desire to click.. and i repair it again and run the program. and it works. and next day same error..it click everywhere. IS THE X,Y INTEGER IS LOCATED IN THE LOWEST PROTION OF THE SCAR PROGRAM?
Thats the fault of client windows, you must select the client by draging manually or by specifying the handle in your program. When you take the coord. make sure to take them after you've draged the crosshair in the desired windows. Also make sure that your window is always at the same place. Before each utilisation make sure you've also spicified the client windows with the crosshair. This way you should not have troubles with one windows, however if your program deals with many pages you will have to absolutly learn how to specifi client window by programation. The x,y var are normally declared at the begening of your script this way all your methods will have x and y as usable var. If you don't declar x,y and you use it in a fonction the program will tell you that the var you're trying to use aren't in the defined vars.
i did not understand anything u just said. wats a handle? how do u drag 4 client? wat is a client window? wats programation?
basically your scripts faults are this The user interaction between the script itself and the location of the links. What we mean is that when you go to yahoo and scroll down to your new mail the location of the link (X,Y) will change from probably about (300,150) or somewhere around there to lets say (310,150) Ideally a bot to delete yahoo messages would not require screen locations and just parse the html and delete it from using the required links... or if you insist on using scar, it would automatically detect the location of the link and click it from there
it kinda sounds like instead of coding it w/ x & y based on getting the cooardinents off ure pc screen, instead u position x & y based on the html in the view source code? im i getting this?
Well, since the page sometimes moves around (I think) I personally think it would be better to have autocolor or something like that. the_skip: Do not gravedig