sah Posted December 28, 2017 Posted December 28, 2017 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
sah Posted December 28, 2017 Author Posted December 28, 2017 7 minutes ago, sah said: Please reply anyone its very urgent for me , i have to submit this tomorrow .
Developers Jos Posted December 28, 2017 Developers Posted December 28, 2017 (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 December 28, 2017 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.
Earthshine Posted December 28, 2017 Posted December 28, 2017 Maybe for AuotoIt class My resources are limited. You must ask the right questions
sah Posted December 28, 2017 Author Posted December 28, 2017 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...
Developers Jos Posted December 28, 2017 Developers Posted December 28, 2017 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.
sah Posted December 28, 2017 Author Posted December 28, 2017 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
sah Posted December 28, 2017 Author Posted December 28, 2017 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 Jos Posted December 28, 2017 Developers Posted December 28, 2017 (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 December 28, 2017 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.
sah Posted December 28, 2017 Author Posted December 28, 2017 It will select the drop down menu and ask user for for which input they want ? Because there are 7 options right?
Developers Jos Posted December 28, 2017 Developers Posted December 28, 2017 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.
sah Posted December 28, 2017 Author Posted December 28, 2017 No.. I have to automate in that same application. Is that Possible?
Developers Jos Posted December 28, 2017 Developers Posted December 28, 2017 (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 December 28, 2017 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.
sah Posted December 28, 2017 Author Posted December 28, 2017 Oh then its not possible with Autoit... Right?
Developers Jos Posted December 28, 2017 Developers Posted December 28, 2017 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.
sah Posted December 28, 2017 Author Posted December 28, 2017 I just want that application to run automatically. That's it. With asking which option user need.
Developers Jos Posted December 28, 2017 Developers Posted December 28, 2017 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.
Developers Jos Posted December 28, 2017 Developers Posted December 28, 2017 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 Earthshine 1 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now