GEOSoft Posted December 22, 2003 Share Posted December 22, 2003 The original string that I used for the actual text was along the lines of "Line 1" &@LF &"Next Line" &@LF &"Ad Infinitum" It seemed to work fine in anything that I tried it in until someone mentioned a problem with it in Windows Notepad (which I don't use). Sure enough there was no LF being sent instead thay were replaced by solid block characters and it was just one continuous string. I replaced all of the @LF with chr(10) and that did not help. I tried chr(13) and had the same result. Since the ClipPut string is the same as the string used for a large message box I will probably use StringReplace to replace the @LF when it is being placed on the clipboard but what should the replacement string be? George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
GEOSoft Posted December 22, 2003 Author Share Posted December 22, 2003 I could have sworn I tried that one too, but I guess not because it works. Thanks Larry. Any idea why it only affected Windows Notepad and nothing else? George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
CyberSlug Posted December 22, 2003 Share Posted December 22, 2003 I could have sworn I tried that one too, but I guess not because it works. Thanks Larry. Any idea why it only affected Windows Notepad and nothing else?Windows notepad expects both @CR (carriage return) and @LF (line feed) to signal line breaks, since this is the DOS/Windows standard*.Try to read a UNIX text file (@LF-only standard) or a Macintosh text file (@CR-only standard) with Notepad, and you'll you get text all run together. Almost every other program in existance is smart enough to compensate for the lack of @CR (or @LF) in order to display a file correctly.*If you've ever used a typewriter, you will understand why Windows uses this two-character standard--even it if does slightly increase file size. Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! 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