Sign in to follow this  
Followers 0
rojo

Inetget just stopped working.

7 posts in this topic

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

Share this post


Link to post
Share on other sites



post some code maybe your doing it wrong :P


code

Share this post


Link to post
Share on other sites

post some code maybe your doing it wrong :P

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;

CODE

InetGet("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 background

InetGet("http://www.nowhere.com/somelargefile.exe", "test.exe", 1, 1)

While @InetGetActive

TrayTip("Downloading", "Bytes = " & @InetGetBytesRead, 10, 16)

Sleep(250)

Wend

MsgBox(0, "Bytes read", @InetGetBytesRead)

I have attached a screen grab jpeg picture - note InetGet not highlighted but "while...wend" are.

Thanks

Posted Image

Share this post


Link to post
Share on other sites

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;

CODE

InetGet("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 background

InetGet("http://www.nowhere.com/somelargefile.exe", "test.exe", 1, 1)

While @InetGetActive

TrayTip("Downloading", "Bytes = " & @InetGetBytesRead, 10, 16)

Sleep(250)

Wend

MsgBox(0, "Bytes read", @InetGetBytesRead)

I have attached a screen grab jpeg picture - note InetGet not highlighted but "while...wend" are.

Thanks

Posted Image

That is so strange, and this happened after you updated? Try _inetgetsouce() does the highlight? i think _inetget() exists to....


code

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Just download the full Scite update. That ought to fix highlighting issues.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0