DVHRLD Posted March 4, 2009 Share Posted March 4, 2009 I got this from Charon, and have copied it to my clipboard. 201.219.208.3:0080 201.219.208.2:80 61.234.224.69:8088 201.219.208.2:0080 When I start my script it processes it so the output is as follows. <proxy>201.219.208.3:0080 </proxy> <proxy>201.219.208.2:80 </proxy> <proxy>61.234.224.69:8088 </proxy> <proxy>201.219.208.2:0080</proxy> This works good but the trailing </proxy> tag is on a second line for the first three. When I paste the following into notepad it shows up kinda like this <proxy>201.219.208.3:0080□</proxy> instead the square symbol is a little more stretched out vertically. I believe this is a LF? right? Sorry I am still learning all this. What would I have to do so that the first lines appear like the last one? Here is my code, and thank you any help you can give me. $proxstring = ClipGet() $proxarray = StringSplit($proxstring, @LF) For $x = 1 To UBound($proxarray) -1 ConsoleWrite('<proxy>' & $proxarray[$x] & '</proxy>'& @CRLF) Next AutoViewer first public AutoIt script Link to comment Share on other sites More sharing options...
Varian Posted March 4, 2009 Share Posted March 4, 2009 ConsoleWrite('<proxy>' & StringStripWS($proxarray[$x], 8) & '</proxy>'& @CRLF) Link to comment Share on other sites More sharing options...
DVHRLD Posted March 4, 2009 Author Share Posted March 4, 2009 Thanks Varian, that worked perfect. AutoViewer first public AutoIt script 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