Jump to content

need help ;(


Recommended Posts

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?

Link to comment
Share on other sites

  • Moderators

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.

Link to comment
Share on other sites

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.
Link to comment
Share on other sites

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]

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...