BrettF 28 Posted January 18, 2007 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/" Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Share this post Link to post Share on other sites
SmOke_N 210 Posted January 18, 2007 (edited) 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 January 18, 2007 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. Share this post Link to post Share on other sites
BrettF 28 Posted January 19, 2007 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. Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Share this post Link to post Share on other sites
BrettF 28 Posted January 21, 2007 The problem is likely in the part of the script you omitted.Lar.Yer. It turned out i had doubbled up Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Share this post Link to post Share on other sites