Hi Dan,
This is my code.
include <IE.au3>
#include <MsgBoxConstants.au3>
#include <GUIConstantsEx.au3>
#include <MsgBoxConstants.au3>
triage()
Func triage()
GUICreate("offense triage" ,220,88) ; will create a dialog box that when displayed is centered
Local $idRadio1 = GUICtrlCreateRadio("IP", 10, 10, 120, 20)
Local $idRadio2 = GUICtrlCreateRadio("userid", 10, 40, 120, 20)
Local $eAsset = "some link"
GUISetState(@SW_SHOW) ; will display an dialog box with 1 checkbox
Local $idMsg
; Loop until the user exits.
While 1
$idMsg = GUIGetMsg()
Select
Case $idMsg = $GUI_EVENT_CLOSE
ExitLoop
Case $idMsg = $idRadio1 And BitAND(GUICtrlRead($idRadio1), $GUI_CHECKED) = $GUI_CHECKED
Local $sIP = InputBox("Internal IP Triage", "Please enter the IP address", "", "" , -1, -1, 800, 500)
GUISetState(@SW_HIDE)
Case $idMsg = $idRadio2 And BitAND(GUICtrlRead($idRadio2), $GUI_CHECKED) = $GUI_CHECKED
Local $sEIP = InputBox("userid Triage", "Please enter the userid", "", "" , -1, -1, 800, 500) ;giving input for search filter
Local $eAssetsearch = $eAsset & $sEIP
ShellExecute ( "C:\Program Files\Internet Explorer\iexplore.exe", $eAssetsearch )
GUISetState(@SW_HIDE)
EndSelect
WEnd
EndFunc ;==>Example
i ve attached my search result here as well i jus wanted to fetch the state and OS details and write the same in the notepad.
Thanks !