Jump to content

Recommended Posts

Posted

Have tried below command, Iam unable to set the value. please help.

ControlCommand("Energy Profile - Windows Internet Explorer","","[id:PQBBASICTYPE1]","SelectString", "Health Club")

Title of the window= Energy Profile - Windows Internet Explorer

ID of the object = PQBBASICTYPE1

One of the values in the drop down = Health Club

Please see attached file for the attributes of the combo box.

Posted

Something like this... you should be able to figure it out after you get the necessary information for the form.

#include <IE.au3>

$oIE = _IEAttach("Energy Profile - Windows Internet Explorer", "WindowTitle")
$sFormName = "Insert Form Name Here"
$oForm = _IEFormGetObjByName($oIE, $sFormname)
$oSelect = _IEFormGetObjByName($oIE, "PQBBASICTYPE1")
_IEFormElementOptionSelect($oSelect, 1, ?) ; See the help file to fill in the ?
  Reveal hidden contents

 

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