rojo Posted October 20, 2008 Share Posted October 20, 2008 Hi All, I don't see anyone else posting this so wonder if it is just me, or my set up. I have been using autoit for over a year to automate tasks for over a year - with great success. Great software - easy to use. Now I installed the latest update and InetGet just stopped working. I have used this extensively and it is important to my scripts. It shows up in auto complete - but doesn't highlight like other keywords. Has no one else found this? Even the eample scripts don't run. My system; Windows Vista Home Premium (32bit), Turion 64 AutoIt v3.2.12.1 SciTe Version 1.76 Help please. rojo Link to comment Share on other sites More sharing options...
DexterMorgan Posted October 20, 2008 Share Posted October 20, 2008 post some code maybe your doing it wrong code Link to comment Share on other sites More sharing options...
rojo Posted October 20, 2008 Author Share Posted October 20, 2008 post some code maybe your doing it wrong Thanks for a quick reply.I don't think I am doing this wrong, I have had great success with this software. Here is some code: Straight from example scripts;CODEInetGet("http://www.mozilla.org", "C:\foo.html")InetGet("http://www.autoitscript.com", "C:\mydownload.htm", 1)InetGet("ftp://ftp.mozilla.org/pub/mozilla.org/README", "README.txt", 1); Advanced example - downloading in the backgroundInetGet("http://www.nowhere.com/somelargefile.exe", "test.exe", 1, 1)While @InetGetActive TrayTip("Downloading", "Bytes = " & @InetGetBytesRead, 10, 16) Sleep(250)WendMsgBox(0, "Bytes read", @InetGetBytesRead)I have attached a screen grab jpeg picture - note InetGet not highlighted but "while...wend" are.Thanks Link to comment Share on other sites More sharing options...
DexterMorgan Posted October 21, 2008 Share Posted October 21, 2008 Thanks for a quick reply.I don't think I am doing this wrong, I have had great success with this software. Here is some code: Straight from example scripts;CODEInetGet("http://www.mozilla.org", "C:\foo.html")InetGet("http://www.autoitscript.com", "C:\mydownload.htm", 1)InetGet("ftp://ftp.mozilla.org/pub/mozilla.org/README", "README.txt", 1); Advanced example - downloading in the backgroundInetGet("http://www.nowhere.com/somelargefile.exe", "test.exe", 1, 1)While @InetGetActive TrayTip("Downloading", "Bytes = " & @InetGetBytesRead, 10, 16) Sleep(250)WendMsgBox(0, "Bytes read", @InetGetBytesRead)I have attached a screen grab jpeg picture - note InetGet not highlighted but "while...wend" are.ThanksThat is so strange, and this happened after you updated? Try _inetgetsouce() does the highlight? i think _inetget() exists to.... code Link to comment Share on other sites More sharing options...
therks Posted October 21, 2008 Share Posted October 21, 2008 Just so you know, syntax highlighting has nothing to do with how AutoIt works. Scite is not attached to AutoIt and directly has nothing to do with AutoIt.So, a simple test.What do you see when you do this?MsgBox(0, '', InetGet("http://www.mozilla.org", "C:\foo.html"))If you get 1 then InetGet is working fine, and if not then you have a real problem. Perhaps something is blocking AutoIt from accessing the internet. Check router, firewall settings, etc. My AutoIt Stuff | My Github Link to comment Share on other sites More sharing options...
rojo Posted October 21, 2008 Author Share Posted October 21, 2008 Just so you know, syntax highlighting has nothing to do with how AutoIt works. Scite is not attached to AutoIt and directly has nothing to do with AutoIt. So, a simple test. What do you see when you do this? MsgBox(0, '', InetGet("http://www.mozilla.org", "C:\foo.html")) If you get 1 then InetGet is working fine, and if not then you have a real problem. Perhaps something is blocking AutoIt from accessing the internet. Check router, firewall settings, etc. I did this and got "1." Further checks suggest that it was being blocked by the firewall - for some reason the new install was regarded as a new program and I hadn't allowed it access. Duh! However, I don't know why it isn't highlighting in SCITE - I recognise that this is just a clever text editor, but the co-incidence of these threw me off the scent. Thanks. Feel a little silly now!! Tony Link to comment Share on other sites More sharing options...
Richard Robertson Posted October 21, 2008 Share Posted October 21, 2008 Just download the full Scite update. That ought to fix highlighting issues. 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