Sign in to follow this  
Followers 0
katwes

Get properties of current object

5 posts in this topic

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.

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

I suppose but i can't see it in sources.

Share this post


Link to post
Share on other sites

Post some code?


Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0