Jump to content

Button click with command "ControlClick"


Recommended Posts

Hi

The Image that i upload is a ribbon of Outlook. I want to click on the button "Archive" (Marked with red rectangle). I done it using mouse position. But I want to know is it possible with the command "ControlClick". I think its possible. 

The main disadvantage that i found the click using mouse position is, its differ according to the size of the window...

Thanks in advance

Bobbin

post-85465-0-77207500-1396874592_thumb.p

Link to comment
Share on other sites

Fire up the Au3Info.exe program (its in the same directory as autoit). Drag the finder tool on the position where your Archive button is present. If it is able to draw a rectangle (or maybe detect the text written there), then ControlClick can work for you, else I m afraid, you have to stick to the old method

----------------------------------------

:bye: Hey there, was I helpful?

----------------------------------------

My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1

Link to comment
Share on other sites

Hi stormbreaker

I'm afraid, Its not able to draw the rectangle. Rectangle is showing for all the ribbon :( . If i use mouse position, do u think is it a good option ?. How can i get the correct position of the "Archive" button after the user resize the outlook window?

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...