patlim4152 Posted February 24, 2006 Share Posted February 24, 2006 Hello, I was looking at the famous IE.au3 file and came across the _IEClickImg function. There is this line "$result = $img.click" which simulates the mouse click. $img being of type returned by "$doc.images". I was wondering whether anyone knows of where to find the documentation for $doc.images? I am trying to see if it is possible to simulate a mouse-click something like $img.click(24,56) where "24,56" is the pixel I click within the picture. Thanks Link to comment Share on other sites More sharing options...
Valuater Posted February 24, 2006 Share Posted February 24, 2006 (edited) no... you cannot combine those two as yet you can use pixelsearch and click on a specific color... however, pixelsearch uses mouse coordinates or use IE.au3 to click an "image" not a pixel the images are only on that web-page there is no "library" of images see the IE.au3 Builder in my signature 8) Edited February 24, 2006 by Valuater Link to comment Share on other sites More sharing options...
patlim4152 Posted February 24, 2006 Author Share Posted February 24, 2006 no... you cannot combine those two as yetyou can use pixelsearch and click on a specific color... however, pixelsearch uses mouse coordinatesoruse IE.au3 to click an "image" not a pixelthe images are only on that web-page there is no "library" of imagessee the IE.au3 Builder in my signature8)That's the tough part which I'm trying to figure out, what I need is this - match the picture on the website with a library of pictures which I have, then depending on the result of that, click a particular spot on the picture on the webpage. I thought about it for days before figuring out what I thought was the hard part, how to match images, now to code it in. Link to comment Share on other sites More sharing options...
patlim4152 Posted February 24, 2006 Author Share Posted February 24, 2006 Hmm... nevermind, I can just extract the data from the pictures I have in my library, the problem then would be extracting the pixelcolor info from the picture on the web, and also clicking a particular spot on the picture instead of just "$img.click". Link to comment Share on other sites More sharing options...
Valuater Posted February 24, 2006 Share Posted February 24, 2006 click a particular spot on the pictureonly possible with pixelsearch8) Link to comment Share on other sites More sharing options...
Valuater Posted February 24, 2006 Share Posted February 24, 2006 there is a "PERFECT" example/demo of pixelsearch in "Welcome to AutoIt 1-2-3" take a look at it 8) Link to comment Share on other sites More sharing options...
patlim4152 Posted February 24, 2006 Author Share Posted February 24, 2006 there is a "PERFECT" example/demo of pixelsearch in"Welcome to AutoIt 1-2-3"take a look at it8)Haha, thanks... If that's the case, is there anyway I can "hack" the incoming HTML code to add in stuff? Like say I look for a particular part of the code and add in my own, so that I can create a signature of pixel color combination for pixel search to work? (Hope you understand what I mean, lol) Link to comment Share on other sites More sharing options...
Valuater Posted February 24, 2006 Share Posted February 24, 2006 good luck 8) 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