hi,
ich hab ein problem mit meinem script:
Spoiler anzeigen
#include <GUIConstants.au3>
GUICreate("Search",220,70)
GUISetState(@sw_show)
$label=GUICtrlCreateLabel("Suchbegriff:",25,15,100)
$input_field=GUICtrlCreateInput("",5,30,100)
$amazon=GUICtrlCreateButton("Amazon.de",115,5,100,20,-1,-1)
$ebay=GUICtrlCreateButton("Ebay.de",115,25,100,20,-1,-1)
$google=GUICtrlCreateButton("Google.de",115,45,100,20,-1,-1)
$input=GUICtrlRead($input_field)
[/autoit] [autoit][/autoit] [autoit]While 1
$msg=GUIGetMsg()
If $msg=$GUI_EVENT_CLOSE Then ExitLoop
Select
Case $msg=$amazon
Run("C:\Programme\Mozilla Firefox\firefox.exe http://www.amazon.de/exec/obidos/ex…field-keywords="&$input&"&mode=blended&tag=firefox-de-21&sourceid=Mozilla-search")
ExitLoop
Case $msg=$google
Run("C:\Programme\Mozilla Firefox\firefox.exe http://www.google.de/search?q="&$input)
EndSelect
WEnd
[/autoit]Die funktion vom script ist wohl offensichtlich....
aber wenn ich jetzt einen begriff eingebe und auf z.b. den google-button klicke, öffnet sich nur die startseite!? warum?
:hm:
ach ja, ich weis dass ich die ebay-suche noch nicht ganz eingebaut hab