Jump to content

questions:)


Recommended Posts

What did i do wrong :)

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

 AutoIt Version: 3.2.12.1
 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
GUISetState()

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.
        Exit
    EndIf
    
    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) 
    EndIf
    
WEnd
Edited by Ombladon
Link to comment
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!

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...