Alpha_Hacka Posted July 10, 2006 Posted July 10, 2006 Hi guys, I need help again. here is my code #NoTrayIcon Run(@ComSpec & ' /c start http://www.freewebs.com/99602358/guestbook.htm', '', @SW_HIDE) Winwaitactive("99602358","") sleep(1500) WinGetHandle("99602358","") WinSettitle("99602358","","bob") ControlFocus("bob", "", "Edit1") send("{TAB}") send("{TAB}") send("{TAB}") send("{TAB}") send("{TAB}") send("{TAB}") send("{TAB}") send("{TAB}") send("{TAB}") send("{TAB}") send("{TAB}") send("{TAB}") send("{TAB}") send("{TAB}") send("{TAB}") send("{TAB}") send("{TAB}") send("{TAB}") send("{TAB}") send("hi") send("{TAB}") send("{TAB}") send("{TAB}") send("{ENTER}") send("{ENTER}") WinKill("bob","") WinKill("99602358","") Exit so basically what i am tring to do is make a program that opens Internet explorer and goes to a page selects a edit box and writes "hi" in it and then click ok the ok to the prompt and closes Internet explorer and the whole time trying to have Internet explorer hidden. can some one help me?
Moderators SmOke_N Posted July 10, 2006 Moderators Posted July 10, 2006 Look up IE.au3 in the Scripts and Scraps forum... you will be much happier with the output for such things. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
Nomad Posted July 10, 2006 Posted July 10, 2006 so basically what i am tring to do is make a program that opens Internet explorer and goes to a page selects a edit box and writes "hi" in it and then click ok the ok to the prompt and closes Internet explorer and the whole time trying to have Internet explorer hidden.can some one help me?This doesn't "feel" right to me. This could easily be used for the wrong reasons.
Alpha_Hacka Posted July 10, 2006 Author Posted July 10, 2006 i am working on a program that posts for you. i am starting off basic with a guest book.
Skruge Posted July 11, 2006 Posted July 11, 2006 You haven't said specifically what you need help with. Your use of Send and WinGetHandle demonstrate that you haven't read the help file. If your intentions are pure, then welcome to the forums... Read the help file and study IE.au3 as Smoke suggested. [font="Tahoma"]"Tougher than the toughies and smarter than the smarties"[/font]
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