Jump to content

Script for clicking a menu tab


Recommended Posts

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

Link to comment
Share on other sites

  • Developers

Have you opened the helpfile and checked the syntax for those listen lines of code as they both seem to be wrong?

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

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

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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