Jump to content
Sign in to follow this  
ychen

Right click on a selected text

Recommended Posts

ychen

Dear all,

Can someone give me a hint or example on how to mouseclick("Right") on a selected text in a list in a window?

I am still learning Autoit.

I want to right click on the last item in the right windows.

post-66028-0-64675500-1312435621_thumb.j

Thank you in advance.

Share this post


Link to post
Share on other sites
ychen

Sorry. I think I did not make it clear.

I want to do the following steps.

1. get to the right window in the picture. (I use ControlFocus)

2. select the last item in the list (I use Send("{END}) )

3. I want to right click on the last item in the list.

Can someone give me a hint how to do this? How do I get the position of the selected item in the list and then I can mouseclick on it.

Thank you in advance

Share this post


Link to post
Share on other sites
ychen

Tried. it does not work.

Any other suggestions?

Thanks

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.