jellyfish Posted September 23, 2006 Share Posted September 23, 2006 I am very new to scripting and trying to learn. I just cant seem to grasp it. My problem is simple. I have created a GUI to search for torrents from a specific site. All I want this to do is open a new IE window with the results from the query box on the GUI. I just cant figure it out. Help Please #include <GUIConstants.au3> #include <IE.au3> $Form1 = GUICreate("Torrent Finder (Torrentspy.com)", 345, 129, 335, 178) GUISetBkColor(0x0000FF) $Torrent = GUICtrlCreateInput("", 9, 32, 319, 21) GUICtrlSetState(-1, $GUI_ACCEPTFILES) $Label1 = GUICtrlCreateLabel("Enter Search Here", 8, 8, 92, 17) GUICtrlSetBkColor(-1, 0x0000FF) $Button1 = GUICtrlCreateButton("Search", 120, 72, 91, 25, 0) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 EndSwitch WEnd Link to comment Share on other sites More sharing options...
theguy0000 Posted September 23, 2006 Share Posted September 23, 2006 #include <GUIConstants.au3> #include <IE.au3> $Form1 = GUICreate("Torrent Finder (Torrentspy.com)", 345, 129, 335, 178) GUISetBkColor(0x0000FF) $Torrent = GUICtrlCreateInput("", 9, 32, 319, 21) GUICtrlSetState(-1, $GUI_ACCEPTFILES) $Label1 = GUICtrlCreateLabel("Enter Search Here", 8, 8, 92, 17) GUICtrlSetBkColor(-1, 0x0000FF) $Button1 = GUICtrlCreateButton("Search", 120, 72, 91, 25, 0) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 _IECreate ("http://torrentspy.com/search?query="&GUICtrlRead($Torrent)&"&submit.x=29&submit.y=8") EndSwitch WEnd The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
jellyfish Posted September 23, 2006 Author Share Posted September 23, 2006 Thanks a million Link to comment Share on other sites More sharing options...
AzKay Posted September 23, 2006 Share Posted September 23, 2006 A noob is not a newb. You are a newb, not a noob # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
AceLoc Posted September 23, 2006 Share Posted September 23, 2006 A noob is not a newb. You are a newb, not a noob liaaaaar [quote name='AceLoc']I gots new sunglasses there cool.[/quote] Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now