Sign in to follow this  
Followers 0
DeveshJaitley

How to Access Toolbar Buttons?

3 posts in this topic

Hi,

Sorry, If this has been discussed before, I was not able to find solution to my problem on this forum.

I want to access two buttons on toolbar of CorVu Application. But I am not able to access controls as there is No Control ID ! (with Window Info)

Here is Main ToolBar:

Posted Image

Button One on Toolbar Insatance#1:

Posted Image

Button Two on Toolbar Insatance#2:

Posted Image

I do not want to access these by "MouseMove" and "MouseClick" as this script will be run on different machines with different resolutions.

Can anyone please help me to access these buttons on Toolbar?

Thanks in Advance. :P

Share this post


Link to post
Share on other sites



Alrite, I found the Solution myself :P

For Button #1 :

ControlClick( "CorVu Graphical Analysis","ToolBar","[CLASS:Corvu Window;INSTANCE:1]","left",1,59,11)

For Button#2:

ControlClick( "CorVu Graphical Analysis","ToolBar","[CLASS:Corvu Window;INSTANCE:2]","left",1,15,14)

Share this post


Link to post
Share on other sites

Alrite, I found the Solution myself :)

You go, girl! ;)

All seriousness aside, thanks for posting the resolution you found.

:P


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

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