Jump to content
ajay0094

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

Share this post


Link to post
Share on other sites

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 Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

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 Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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

×
×
  • Create New...