Jump to content

WHY?


BrettF
 Share

Recommended Posts

Why wont this work?? I cant see why?

Case $Msg = $Button5 ; search
            $term = GUICtrlRead($Input2)
            $oIE.Navigate ($use & $term)
            _IELoadWait($oIE)
            $URL = String($oIE.LocationURL)
            GUICtrlSetData($Input1, $URL)
            $name = $oIE.LocationName
        Case $Msg = $radio1
            $use = "http://www.google.com.au/search?hl=en&q="
        Case $Msg = $radio2
            $use =  "http://search.yahoo.com/search?p="
        Case $Msg = $radio3
            $use =  "http://search.ninemsn.com.au/results.aspx?q="
        Case $Msg = $radio4
            $use =  "http://www.ask.com/web?q="
        Case $Msg = $radio5
            $use =  "http://www.dogpile.com/info.dogpl/search/web/"
Link to comment
Share on other sites

  • Moderators

Why wont this work?? I cant see why?

Case $Msg = $Button5 ; search
            $term = GUICtrlRead($Input2)
            $oIE.Navigate ($use & $term)
            _IELoadWait($oIE)
            $URL = String($oIE.LocationURL)
            GUICtrlSetData($Input1, $URL)
            $name = $oIE.LocationName
        Case $Msg = $radio1
            $use = "http://www.google.com.au/search?hl=en&q="
        Case $Msg = $radio2
            $use =  "http://search.yahoo.com/search?p="
        Case $Msg = $radio3
            $use =  "http://search.ninemsn.com.au/results.aspx?q="
        Case $Msg = $radio4
            $use =  "http://www.ask.com/web?q="
        Case $Msg = $radio5
            $use =  "http://www.dogpile.com/info.dogpl/search/web/"
Anything specific we're are supposed to look at? Your topic is as enlightening as the actual question as is the code you provided us to help you debug. Edited by SmOke_N

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

Sorry, when the radio button is selected, the value of $use changes, or so it should. Then when $button5 is pushed, $input2 is read the IE object navigates to $use & $term (Input 2's value). It dosn't seem to do that.

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