Sign in to follow this  
Followers 0
Ombladon

questions:)

3 posts in this topic

#1 ·  Posted (edited)

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

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

8)


NEWHeader1.png

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  
Followers 0