Ch1ldProd1gy Posted April 5, 2007 Posted April 5, 2007 is it possible to make your autoit script read a .txt file from a website? I tried, but I was unsuccessful lol, just checking up on it
Hyflex Posted April 5, 2007 Posted April 5, 2007 (edited) THis may help: http://www.autoitscript.com/autoit3/docs/f...ns/FileRead.htmBut you will want to use an IE function, use the serch for that...EDIT: MHz That would be wiser yes, i was gona say use both functions together... but that woud be harder Edited April 5, 2007 by XxXGoD
Ch1ldProd1gy Posted April 5, 2007 Author Posted April 5, 2007 nice, ty, but, when I downloaded "http://www.tacticsx.com/robots.txt" it squished the info inside,
Hyflex Posted April 5, 2007 Posted April 5, 2007 What: # Robot.txt generated by SiteStudio # User-agent: * Disallow: ???
Ch1ldProd1gy Posted April 5, 2007 Author Posted April 5, 2007 What: # Robot.txt generated by SiteStudio#User-agent: *Disallow: ???just a tester, it keeps bots off the site lolwhen I open it, it has boxes, would autoit be able to know the boxes are {ENTER}'s?
MHz Posted April 5, 2007 Posted April 5, 2007 just a tester, it keeps bots off the site lol when I open it, it has boxes, would autoit be able to know the boxes are {ENTER}'s?The file may only have line endings of LF's or CR's that may explain the boxes, but Windows uses CRLF's so try a stringReplace() on the contents of the read file into a variable. $variable = StringReplace($variable, @LF, @CRLF)
Ch1ldProd1gy Posted April 5, 2007 Author Posted April 5, 2007 The file may only have line endings of LF's or CR's that may explain the boxes, but Windows uses CRLF's so try a stringReplace() on the contents of the read file into a variable. $variable = StringReplace($variable, @LF, @CRLF) Thanks guys this part works muchly appreciated, ty for fast replies,
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