Jump to content
Sign in to follow this  
XenonTech

Dropdown menu internet explorer

Recommended Posts

XenonTech

Hi I'm using the IE bot stuff to automate tasks on my website such as a bot that sends users a message when they cuss in chatroom.

Everything works but when I go to send a message it requires I select a dropdown menu to click "Private message".

How do I select options in a dropdown menu automatically in IE?

Share this post


Link to post
Share on other sites
XenonTech

I am not understanding how it works. This is my HTML, how would I make it select private?

<select name="messageselectbox" id="messageselect" tabindex="1" class="form-select">
    <option value="0">select option</option>
    <option value="1">private</option>
    <option value="2">public</option>
</select>

Share this post


Link to post
Share on other sites
MikahS

Something like this?

_IEFormElementOptionSelect("messageselectbox", 1, 1, "byIndex")
Edited by MikahS

Snips & Scripts


My Snips: graphCPUTemp ~ getENVvars
My Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4

Feel free to use any of my code for your own use.                                                                                                                                                           Forum FAQ

 

Share this post


Link to post
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
Sign in to follow this  

×