Jump to content

Recommended Posts

Posted

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

Posted
7 minutes ago, sah said:

adk dropdown select.png

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

  • Developers
Posted (edited)
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.
  :)

Posted
11 minutes ago, Jos said:

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

Jos

In my working place ,please help me...

Posted
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 

Posted

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.

 

  • Developers
Posted (edited)

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

Posted

It will select the drop down menu and ask user for for which input they want ?

Because there are 7 options right?

  • Developers
Posted (edited)

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

  • Developers
Posted

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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...