Jump to content
Sign in to follow this  
Jon

V3.0.103 Unstable

Recommended Posts

Updated:

I've added a HttpSetProxy() function that I've had working well with my ISP proxy. There is also the facility to enter a username and password but i don't have the relevant proxy to test. Can someone have a go?

Share this post


Link to post
Share on other sites

HttpSetProxy (0) ; mode 0 With Use current Internet Explorer settings and

Microsoft Isa Server i have following error:

"HTTP 407 Proxy Authentication Required"

N.B. straight from internet explorer it work.

Share this post


Link to post
Share on other sites

HttpSetProxy (0)  ; mode 0  With Use current Internet Explorer settings and

Microsoft Isa Server  i have following error:

"HTTP 407 Proxy Authentication Required"

N.B. straight from  internet explorer it work.

If you use mode 0 it will take the current internet explorer settings but it won't handle any password stuff. You'll have to try mode 2 and enter a username and password (I think - documentation is scarce).

Share this post


Link to post
Share on other sites

If you use mode 0 it will take the current internet explorer settings but it won't handle any password stuff.  You'll have to try mode 2 and enter a username and password (I think - documentation is scarce).

<{POST_SNAPBACK}>

Using mode 2 i obtain same error probably because Microsoft isa Server use NTLM

autentication not standard autentication for proxy.

Usually i use the utility "NTLM Authorization Proxy Server" ver 0.97

http://www.geocities.com/rozmanov/ntlm/

for programs that don't work with ntlm autentication (example flashget)

Share this post


Link to post
Share on other sites

Seeing as so many people wanted it I've had zip feedback on this one - so i'll assume everyone likes the syntax and way I've done it and I'll document it as is (I just didn't want to have to redocument if it wasn't liked).

<{POST_SNAPBACK}>

I've managed to guess a bit at how to use the new commands .. do you want feedback here, Jon, or in the listview thread itself?

Share this post


Link to post
Share on other sites

The ftp stuff doesn't currently work. I've fixed it here but I'll only be uploading it later. :(

Also I have merged HttpGet/FtpGet into InetGet (almost back to UrlDownloadToFile :ph34r: but I wanted the naming to be more consistant for when I add FtpPut. )

I've refined the proxy code too so that it works with CERN proxies over http and ftp.

Share this post


Link to post
Share on other sites

I've updated just AutoIt3.exe and AutoItSC.bin (installer too big to upload at work)

New option: ExpandVarStrings

Opt("ExpandVarStrings", 1)
$var1 = "hello"
$var2 = 1001
MsgBox(0, "", "$var1$ there $var2$")
MsgBox(0, "", "A single $$ and a single @@")

Might might things easier for newbies - and me - when trying to manipulate lots of strings/vars as the questions about joining strings and vars are very common.

Share this post


Link to post
Share on other sites

Man, I think I might just luv ya. How long have I been asking for this?

All we need now is ExpandMacroStrings and we'll have the complete set :-) (unless it's covered by this, as suggested by the use of @@).

Share this post


Link to post
Share on other sites

Man, I think I might just luv ya. How long have I been asking for this?

All we need now is ExpandMacroStrings and we'll have the complete set :-) (unless it's covered by this, as suggested by the use of @@).

Yeah, I've lumped macros and vars together. :ph34r:

For some reason I thought it would be harder than it was... odd.

Share this post


Link to post
Share on other sites

I've updated just AutoIt3.exe and AutoItSC.bin (installer too big to upload at work)

New option: ExpandVarStrings

Opt("ExpandVarStrings", 1)
$var1 = "hello"
$var2 = 1001
MsgBox(0, "", "$var1$ there $var2$")
MsgBox(0, "", "A single $$ and a single @@")

Might might things easier for newbies - and me - when trying to manipulate lots of strings/vars as the questions about joining strings and vars are very common.

<{POST_SNAPBACK}>

Jon, could you upload the doc source for me ? so i can update the definition files... Edited by JdeB

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Jon, it seems LV_Select crashes a .NET SysListView32. I can't fully interact with them, either. I can't seem to retrieve the text at all, always get an empty string. But in this particular app (And the only .NET app I have installed), trying to use LV_Select on a SysListView32 crashes that app. It's Norton Ghost 9.0, if that matters. Unfortunately, I don't have any other .NET apps to test on.

Share this post


Link to post
Share on other sites

Jon, it seems LV_Select crashes a .NET SysListView32.  I can't fully interact with them, either.  I can't seem to retrieve the text at all, always get an empty string.  But in this particular app (And the only .NET app I have installed), trying to use LV_Select on a SysListView32 crashes that app.  It's Norton Ghost 9.0, if that matters.  Unfortunately, I don't have any other .NET apps to test on.

Does it work for you in explorer/regedit and those sorts of apps?

Share this post


Link to post
Share on other sites

Do you think there is any need to have both an Env expand and Var expand option or should I just have a single "ExpandStrings" option that does both?

<{POST_SNAPBACK}>

If you make it one, wouldn't that potentially break existing scripts when recompiled?

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

That would be my concern. It would be more flexible to allow turning on/off individually, but I don't actually think I've used ExpandEnvStrings myself anyways.

Hows about an ExpandStrings option, with different options for each type (or was this what you meant anyways?).

Edited by Chris_1013

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...