Moin,
ich bin grad bei n Script zu schreiben das, wenn n Button gedrückt wird, der n Link öffnet. Ich habs schon soweit, das er es mit meinem Standart Browser öffnet, dem Internet Explorer. Nun möchte ich aber das es mit Firefox geöffnet wird, ohne das ich FireFox als Standartbrowser eingestellt habe.
Hier mein code:
Weiß jemand wie ich das mache?:confused:
MfG
Kilroy.
ich bin grad bei n Script zu schreiben das, wenn n Button gedrückt wird, der n Link öffnet. Ich habs schon soweit, das er es mit meinem Standart Browser öffnet, dem Internet Explorer. Nun möchte ich aber das es mit Firefox geöffnet wird, ohne das ich FireFox als Standartbrowser eingestellt habe.
Hier mein code:
Code:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <ProgressConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 559, 445, 479, 133)
GUISetBkColor(0x000000)
$Button1 = GUICtrlCreateButton("Google.de", 160, 72, 97, 57)
GUICtrlSetBkColor(-1, 0xFFFF00)
GUISetState(@SW_HIDE)
#EndRegion ### END Koda GUI section ###
$Form0 = GUICreate("Form2", 433, 63, 503, 345, BitOR($WS_SYSMENU,$WS_POPUP))
GUISetBkColor(0x000000)
$Progress1 = GUICtrlCreateProgress(8, 8, 417, 49)
GUICtrlSetColor(-1, 0x00FF00)
GUISetState(@SW_SHOW)
For $i = 0 To 100
GUICtrlSetData($Progress1, $i)
Sleep(40)
Next
GUIDelete($Form0)
GUISetState(@SW_SHOW, $Form1)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
ShellExecute("http://google.de/")
EndSwitch
WEnd
MfG
Kilroy.