Sign in to follow this  
Followers 0
Rob

Text Box

3 posts in this topic

I'm playing around with AutoIt and need some help. For nothing more than knowledge and experience, I'm wanting to make a script that will prompt the user with a message asking them to type in a website, the script clicks on internet explorer, goes to the address bar, types in the website, and presses enter. I have all of the easy stuff done, and all I lack is getting the script to prompt with a text allowing the user to fill it in the website. I was playing around with the MsgBox function but all it would do is prompt with text and not allow me to enter anything into it.

To go over it again, I'm wanting a text box to pop up and ask the user to fill it in, the text will be saved to something like $address, which will be used to type into the address bar. Like I said, I'm not expecting any real use to come out of this other than my own knowledge. I have to start somewhere.

Share this post


Link to post
Share on other sites



There is a command called Inputbox. Have a variable setup like $address = InputBox("Title of InputBox","Text within input box",timeout if you want it.)

This will popup a box that you can edit.

Share this post


Link to post
Share on other sites

I'm playing around with AutoIt and need some help. For nothing more than knowledge and experience, I'm wanting to make a script that will prompt the user with a message asking them to type in a website, the script clicks on internet explorer, goes to the address bar, types in the website, and presses enter. I have all of the easy stuff done, and all I lack is getting the script to prompt with a text allowing the user to fill it in the website. I was playing around with the MsgBox function but all it would do is prompt with text and not allow me to enter anything into it.

To go over it again, I'm wanting a text box to pop up and ask the user to fill it in, the text will be saved to something like $address, which will be used to type into the address bar. Like I said, I'm not expecting any real use to come out of this other than my own knowledge. I have to start somewhere.

Your way sounds like you used lots of sends and lots of clicks , try this :D

#include <IE.au3>

$oIE = _IECreate(InputBox('Where?','Where you wanna go bro?'))

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  
Followers 0