Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Reading the Values in a Drop Down

$
0
0
Hello,

I need to assign the choices that are available in A Drop Down to variables in My script.

I used the code below to get the choices that are in the drop down, however I dont
see any way to determine where one Choice ends and the Next Begins

The Choices in the Prompts change so there is no way before the script runs to know what
choices ar available to select from

Below is the code Im using, How would I parse them to get each individual selection
Listed below are the first 3 choices from the drop down.

I dont see any special characters to identify where one ends and the next begins



eSMART Team Web Users
GWIM BAI AML Web Users
GWIM Basic Web Role


Dim $oTag = _IETagNameGetCollection($oIE, 'select', 1)
ConsoleWrite($oTag.InnerText & @crlf)

It returns

eSMART Team Web UsersGWIM BAI AML Web UsersGWIM Basic Web

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>