Sarah2016 Posted November 29, 2016 Share Posted November 29, 2016 Hi, I need urgent help, please... I have to complete a project by tomorrow... I used a ready script from the web. It access websites. I got an error because: If $obj.Status <> $HTTP_STATUS_OK Then is not identified by autoit. What I understood is that header file is missing (i.e. I have to do #include for something).. Any Help? Link to comment Share on other sites More sharing options...
JohnOne Posted November 29, 2016 Share Posted November 29, 2016 $HTTP_STATUS_OK = 200 JustSomeone 1 AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Sarah2016 Posted November 29, 2016 Author Share Posted November 29, 2016 Thanks a lot !! SOLVED .. Another problem.. if there is no internet connection: I got error on: $obj.Send($data and the program exit .. how to deal with it? sorry i am beginner Link to comment Share on other sites More sharing options...
InunoTaishou Posted November 29, 2016 Share Posted November 29, 2016 _WinAPI_IsInternetConnected() Will return true if there is an internet connection. You could test the connection before you do the http request. 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