ajay0094

Script for clicking a menu tab

6 posts in this topic

#1 ·  Posted

Hi Team,

Please help me for clicking the attached highlighted link under the menu. I've written this code, please check :

Send("DMSMOCK1","WindowsForms10.Window.8.app.0.378734a")
ControlClick("menuStrip1","","WindowsForms10.Window.8.app.0.378734a1")

DMS.PNG

Share this post


Link to post
Share on other sites



#3 ·  Posted

Yes, I tried but didn't get too much information, If you can then please.

 

Share this post


Link to post
Share on other sites

#4 ·  Posted

Well maybe not in detail yet?

Your line:  ControlClick("menuStrip1","","WindowsForms10.Window.8.app.0.378734a1")
Helpfile:    ControlClick ( "title", "text", controlID [, button = "left" [, clicks = 1 [, x [, y]]]] )

So :

  • WindowTitle=menuStrip1  
  • Text=""
  • ControlID=WindowsForms10.Window.8.app.0.378734a1

Observations/questions:

  • Picture shows a different title 
  • how did you determine the ControlID? is this what au3info shows?

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#5 ·  Posted

yes, attached is the screen shot. But how can i click on third link i.e. DMS integration. Menu strip is for all the menu, not for single tab.

window title.PNG

1 person likes this

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