Markus Posted September 11, 2008 Posted September 11, 2008 (edited) $s=ClipGet() Send($s,1) with that text: "hello hello hello" will show me: "hello hello hello" why? Edited September 11, 2008 by Markus "It's easier to disintegrate an atom than a prejudice." (A.Einstein)---------------------------------------------------------------------------My C++ - tools:Tidy tool-->indents your c++ sourceCleanscript --> cleans autoit-code before compiling (co-author: peethebee)My tools:GUIBuilder-->build your window and get the source; german versionMy Games:OnlineGameCenter-->Online Chess and Connect4 with a rtf-chatSnake-->including a level editor to build your own levelsTetris-->the well known game, big funOther things:Tower of Hanoi-->perfect riddler with graphic output
AdmiralAlkex Posted September 11, 2008 Posted September 11, 2008 You probably have @CRLF in the text you use ClipGet() on, and then since Send() sends 1 letter at a time it gets send as one @CR & one @LF thus giving two linefeeds. You could try StringReplace() to change it. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface
Markus Posted September 11, 2008 Author Posted September 11, 2008 That's stupid... Why does autoit interpret a linebreak as @crlf?!?! If you send @crlf every text editor does something different... scite nearly goes dieing, openoffice starts a new page and notepad adds a second line break.... "It's easier to disintegrate an atom than a prejudice." (A.Einstein)---------------------------------------------------------------------------My C++ - tools:Tidy tool-->indents your c++ sourceCleanscript --> cleans autoit-code before compiling (co-author: peethebee)My tools:GUIBuilder-->build your window and get the source; german versionMy Games:OnlineGameCenter-->Online Chess and Connect4 with a rtf-chatSnake-->including a level editor to build your own levelsTetris-->the well known game, big funOther things:Tower of Hanoi-->perfect riddler with graphic output
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