gcue Posted May 7, 2008 Share Posted May 7, 2008 (edited) i want to ping a range of ips where the user inputs the subnet. then i want to ping IP range 190-240 of whatever subnet the user inputs here's what i have so far: GUICtrlCreateLabel("Start IP:", 45, 12) $a_IP = GUICtrlCreateInput ("10", 95, 10, 30, 20) GUICtrlCreateLabel(".", 130, 12) $b_IP = GUICtrlCreateInput ("60", 140, 10, 30, 20) GUICtrlCreateLabel(".", 175, 12) $c_IP = GUICtrlCreateInput ("", 185, 10, 30, 20) GUICtrlCreateLabel(".", 220, 12) $aIP = GUICtrlRead($a_IP) $bIP = GUICtrlRead($b_IP) $cIP = GUICtrlRead($c_IP) If $aIP = "" OR $bIP = "" OR $cIP = "" Then msgbox(0, "Find IP", 'Please enter a valid class C IP'&@CRLF & _ 'ie: 10.60.10') Return EndIf $subnet = $aIP & "." & $bIP & "." & $cIP Edited May 7, 2008 by gcue Link to comment Share on other sites More sharing options...
spudw2k Posted May 7, 2008 Share Posted May 7, 2008 http://www.autoitscript.com/forum/index.ph...st&p=513827 Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX BuilderMisc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retreive SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose ArrayProjects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalcCool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF 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