Gianni Posted September 6, 2015 Share Posted September 6, 2015 _IELinkGetCollection() could also be useful sometimes Chimp small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt.... Link to comment Share on other sites More sharing options...
Surya Posted September 6, 2015 Share Posted September 6, 2015 botthose i have a doubt you said that some http are not pingable could you show with an example and demonstrate please. No matter whatever the challenge maybe control on the outcome its on you its always have been. MY UDF: Transpond UDF (Sent vriables to Programs) , Utter UDF (Speech Recognition) Link to comment Share on other sites More sharing options...
iamtheky Posted September 6, 2015 Share Posted September 6, 2015 (edited) doubt away, its what i am here for.neowin.net is an example of a server that hosts a page, but blocks icmp requests or they are blocked along the way. #include <Inet.au3> msgbox(0, '' , _IsAvailablePingOnly("neowin.net")) msgbox(0, '' , _IsAvailableWithSrcCheck("neowin.net")) Func _IsAvailablePingOnly($sURL) $sOut = "False" If ping($sURL) > 1 Then $sOut = "True" return $sOut EndFunc Func _IsAvailableWithSrcCheck($sURL) $sOut = "False" If ping($sURL) = 0 Then $sSource = _inetgetsource($sURL) If @extended > 0 Then $sOut = "True" Else $sOut = "True" EndIf return $sOut EndFunc Edited September 6, 2015 by boththose accuracy kylomas 1 ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) 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