Administrators Jon Posted September 5, 2004 Author Administrators Share Posted September 5, 2004 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? Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
edy Posted September 5, 2004 Share Posted September 5, 2004 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. Link to comment Share on other sites More sharing options...
bshoenhair Posted September 6, 2004 Share Posted September 6, 2004 Jon, When will you add the OnAutoItStart() and OnAutoItExit() to the help file ? Link to comment Share on other sites More sharing options...
Administrators Jon Posted September 6, 2004 Author Administrators Share Posted September 6, 2004 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). Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
edy Posted September 6, 2004 Share Posted September 6, 2004 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) Link to comment Share on other sites More sharing options...
trids Posted September 6, 2004 Share Posted September 6, 2004 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? Link to comment Share on other sites More sharing options...
Administrators Jon Posted September 7, 2004 Author Administrators Share Posted September 7, 2004 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 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. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Administrators Jon Posted September 8, 2004 Author Administrators Share Posted September 8, 2004 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. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Chris_1013 Posted September 8, 2004 Share Posted September 8, 2004 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 @@). Link to comment Share on other sites More sharing options...
Administrators Jon Posted September 8, 2004 Author Administrators Share Posted September 8, 2004 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. For some reason I thought it would be harder than it was... odd. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Developers Jos Posted September 8, 2004 Developers Share Posted September 8, 2004 (edited) 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 September 8, 2004 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. Link to comment Share on other sites More sharing options...
this-is-me Posted September 8, 2004 Share Posted September 8, 2004 @jon, where are the docs on onautoitexit and such? Who else would I be? Link to comment Share on other sites More sharing options...
Josbe Posted September 8, 2004 Share Posted September 8, 2004 @jon, where are the docs on onautoitexit and such? <{POST_SNAPBACK}>Hey, it's in Todo list AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Link to comment Share on other sites More sharing options...
Valik Posted September 8, 2004 Share Posted September 8, 2004 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. Link to comment Share on other sites More sharing options...
Administrators Jon Posted September 9, 2004 Author Administrators Share Posted September 9, 2004 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? Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Administrators Jon Posted September 9, 2004 Author Administrators Share Posted September 9, 2004 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? Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Administrators Jon Posted September 9, 2004 Author Administrators Share Posted September 9, 2004 @jon, where are the docs on onautoitexit and such? I can only do 24.3 things at once you know Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Developers Jos Posted September 9, 2004 Developers Share Posted September 9, 2004 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. Link to comment Share on other sites More sharing options...
Chris_1013 Posted September 9, 2004 Share Posted September 9, 2004 (edited) 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 September 9, 2004 by Chris_1013 Link to comment Share on other sites More sharing options...
Administrators Jon Posted September 9, 2004 Author Administrators Share Posted September 9, 2004 If you make it one, wouldn't that potentially break existing scripts when recompiled? Oh yeah I see, if you had EnvStrings on and some strings had $ in them. Good point. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ 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