XenonTech Posted August 4, 2014 Share Posted August 4, 2014 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? Link to comment Share on other sites More sharing options...
computergroove Posted August 4, 2014 Share Posted August 4, 2014 Maybe _IEFormElementOptionSelect -> http://www.autoitscript.com/autoit3/docs/libfunctions/_IEFormElementOptionSelect.htm Get Scite to add a popup when you use a 3rd party UDF -> http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/user-calltip-manager.html Link to comment Share on other sites More sharing options...
XenonTech Posted August 4, 2014 Author Share Posted August 4, 2014 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> Link to comment Share on other sites More sharing options...
MikahS Posted August 4, 2014 Share Posted August 4, 2014 (edited) Something like this? _IEFormElementOptionSelect("messageselectbox", 1, 1, "byIndex") Edited August 4, 2014 by MikahS Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy 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 Link to comment Share on other sites More sharing options...
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