katwes Posted December 13, 2011 Share Posted December 13, 2011 Hello, I just begin with autoit. I'd like to open url which are link to images. But the _IEImgGetCollection() don't give me all the images, so I use mousemove and mouseclick and send to open these links I'd like to know if it's possible to get informations about the selected image (position, title) to reposition the cursor I also need to get items of right clic menu. All items are not always available. Is it possible ? Can I use winwait and controlclic in this case ? Thank you for your answers. Link to comment Share on other sites More sharing options...
Blue_Drache Posted December 13, 2011 Share Posted December 13, 2011 Are the images you're trying to capture in a different frame than the one you scraped to begin with? Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache Link to comment Share on other sites More sharing options...
katwes Posted December 13, 2011 Author Share Posted December 13, 2011 I suppose but i can't see it in sources. Link to comment Share on other sites More sharing options...
Blue_Drache Posted December 13, 2011 Share Posted December 13, 2011 Post some code? Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache Link to comment Share on other sites More sharing options...
katwes Posted December 13, 2011 Author Share Posted December 13, 2011 $posX0=250 $posY0=250 for $k=1 to 10 for $i=0 to 4 for $j=0 to 5 $posX=$posX0+$j*250 $posY=$posY0+$i*240 sleep(1000) MouseClick("right",$posX,$posY) sleep(1000) Send("{DOWN 2}") sleep(2000) Send("{ENTER}") next next MouseWheel("down",8) sleep(2000) next the mouse position isn't exact and after some loop the focus is no more on an image. So I would know the position of the selected image to reposition the mouse. and I would know if in the right clic menu I have "open in a new tab" or something else. 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