Jump to content

How to select the drop down menu in existing application using autoit?


sah
 Share

Recommended Posts

I am beginner in autoit. Please help me in how to select drop down menu , in already existing app.

I am automating below automation tool . Firstly it has to go to performance scenario and ask user which one has to select, like that it has to cover all.

And finally run automatically using autoit.  Please help me in this.

Thanks in advance

 

adk1.png

Link to comment
Share on other sites

  • Developers
4 minutes ago, sah said:

Please reply anyone its very urgent for me , i have to submit this tomorrow .

2 posts in five minutes... and a bump within 15 minutes ...Where is the fire? 
Submit tomorrow? 

Jos

Edited by 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
5 minutes ago, sah said:

please help me

So what do you have tried that isn't working yet? 

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

3 hours ago, Jos said:

So what do you have tried that isn't working yet? 

Jos

ControlCommand("Windows Performance Record","","CLASS:ComboBox;INSTANCE:1","ShowDropDown")
ControlSend("Windows Performance Record","",1018)

 

i tried with this 

Link to comment
Share on other sites

select
     case(@StartMenuDir="General")
    case(@StartMenuDir="Shutdown")
EndSelect

Even tried with this command

 

WinMenuSelectItem("Windows Performance Recorder","","General","Boot","Fast Startup","Shutdown","Reboot","Standby","Hibernate")

I have tried this command also.

 

Link to comment
Share on other sites

  • Developers

This seems to work fine:

#RequireAdmin
Run(@ComSpec & ' /c "C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\WPRUI.exe"','',@SW_HIDE)
WinWait("Windows Performance Recorder","")
; Open Options
ControlClick("Windows Performance Recorder","","[CLASS:Static; INSTANCE:11]")
; Set dropdownbox option to Boot
ControlSend("Windows Performance Recorder","","[CLASS:ComboBox; INSTANCE:1]","Boot")

Jos

Edited by 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

I am lost ....  Automate to me means you do it for them else you let them select the option manually and simply pause the script.

Jos

Edited by 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

I have no idea as I simply do not understand what you want ... 
seems my English isn't clear enough to make that known.

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

So what is wrong with what I said here then?

22 minutes ago, Jos said:

Those options are fixed so you can pre-program that in your own GUI..  right?

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

Look in the Helpfile for "GUI Reference" which explains how to create your own GUI within an AutoIt3 script.
I am not going to code it for you. ;)

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