Rob Posted January 23, 2004 Share Posted January 23, 2004 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. Link to comment Share on other sites More sharing options...
nightcrawler Posted January 18, 2008 Share Posted January 18, 2008 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. Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted January 18, 2008 Share Posted January 18, 2008 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 #include <IE.au3> $oIE = _IECreate(InputBox('Where?','Where you wanna go bro?')) 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