Jump to content
Sign in to follow this  


Recommended Posts


What did i do wrong :)

#cs ----------------------------------------------------------------------------

 AutoIt Version:
 Author:         myName

 Script Function:
    Template AutoIt script.

#ce ----------------------------------------------------------------------------

; Script Start - Add your code below here
#include <GUIConstants.au3>
GUICreate("yahoo sts",400,300)
$B_oIE1 = ObjCreate("Shell.Explorer.2")
$Breaktime = GUICtrlCreateObj($B_oIE1, 3, 3, 30, 30)
$address = "http://opi.yahoo.com/online?u="
$post = InputBox("input ip adress","Enter ID")
$lol = $address & $post

While 1; start loop, so the script continues and does not exit.
    $msg = GUIGetMsg(); listen for a message.
    If $msg = $GUI_EVENT_CLOSE  Then; if exit is pressed, then exit the script.
    If $msg = $BrkStart And IsObj($B_oIE1) Then; if this button is pushed, we navigate the object to the game site.
        $B_oIE1.navigate ("http://opi.yahoo.com/online?u=" & $post) 
Edited by Ombladon

Share this post

Link to post
Share on other sites

What did i do wrong :)

1.) you named your posting's subject "questions:)" -> read the faq (sticky posting in this forum) pls.

2.) Basically, I can see some code, but no question. (what did I do wrong isn't very informative...)

Regards, Rudi.

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Share this post

Link to post
Share on other sites

Like Rudi said, read the posting sticky

$B_oIE1.navigate ("http://opi.yahoo.com/online?u=" & GUICtrlRead($post)) is one

two.. there is no $BrkStart to get a message from



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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.