Seagul Posted November 22, 2006 Posted November 22, 2006 I've got a group of lines that I need them all back spaced onto the first line, then I want to copy that into a control. Can someone help?
jokke Posted November 22, 2006 Posted November 22, 2006 I would suggest looking at "StringRegExp" UDF:Crypter a file encrypt / decrypt tool with no need to remember a password again. Based on Caesar cipher using entire ASCII Table.Script's: PixelSearch Helper, quick and simple way to create a PixelSeach.Chatserver - simplified, not so complicated multi-socket server.AutoIT - Firewall, simple example on howto create a firewall with AutoIt.
creeping Posted November 22, 2006 Posted November 22, 2006 (edited) would help if you posted a file with some example text in it Edited November 22, 2006 by creeping
theguy0000 Posted November 22, 2006 Posted November 22, 2006 this isn't that hard...i'm bored so i'll write a script for you... $file_path = "C:\test.txt" ; replace this with the file path $contents = FileRead ($file_path) $new = StringReplace ($contents, @CR, "") $new = StringReplace ($new, @LF, "") $handle = FileOpen ($file_path, 2) FileWrite ($handle, $new) FileClose ($handle) untested........ The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN
Seagul Posted November 23, 2006 Author Posted November 23, 2006 (edited) theguy0000 - This works great * $string_path = ControlGetText("+++'s Dark Eden", "", "ThunderRT6TextBox22") $contents = String ($string_path) $new = StringReplace ($contents, @CR, "") $new = StringReplace ($new, @LF, "") ControlSetText("+++'s Dark Eden", "", "ThunderRT6TextBox16", $new ) Just does what I wanted copys everything into single line into a new control. Then after so many secs I have it clear the control because there will be new data each time Edited November 23, 2006 by Seagul
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