atwolf359 Posted February 11, 2009 Posted February 11, 2009 (edited) in using the "_ArrayDisplay" function I can't see the "|" symbol. However when I copy the ListView table it shows up in the copied text. Is there a configuration setting I'm missing. Thanks ;Test code: Can't see '|' symbol $X = 'a | | | | | | | | | | | | | | | | | | | | z' ConsoleWrite($X & @CRLF) $ary2 = StringSplit($X,' ') _ArrayDisplay($ary2) Exit Edited February 11, 2009 by atwolf359 I've been on the net so long, I remember when I could only e-mail myself!
Manjish Posted February 11, 2009 Posted February 11, 2009 ya that's kinda obvious.. See array display, displays info in columns.. n when u copy it.. a seperator character in form of "|" is put in between the different elements of the array.. U can't really do anything about this.. [font="Garamond"]Manjish Naik[/font]Engineer, Global Services - QPSHoneywell Automation India LimitedE-mail - Manjish.Naik@honeywell.com
ProgAndy Posted February 11, 2009 Posted February 11, 2009 (edited) You can do simething. By default, | is the data separator for ListViews. To chenge this in _Arraydisplay, you have to give the last two params: _ArrayDisplay($ary2,"Test",-1,0,Chr(6),Chr(6)) this means: set Separator-Char to Chr(6) and remove Chr(6) in data. Edited February 11, 2009 by ProgAndy *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes
DaRam Posted February 11, 2009 Posted February 11, 2009 The last parameter for _ArrayDisplay() is $sReplace which defaults to "|"Supply something else and it will display.in using the "_ArrayDisplay" functionI can't see the "|" symbol. However when I copythe ListView table it shows up in the copied text.Is there a configuration setting I'm missing.Thanks;Test code: Can't see '|' symbol$X = 'a | | | | | | | | | | | | | | | | | | | | z'ConsoleWrite($X & @CRLF)$ary2 = StringSplit($X,' ')_ArrayDisplay($ary2)Exit
Manjish Posted February 11, 2009 Posted February 11, 2009 oh.. sorry.. wasn't aware of it.. thanks for the info.. n i apologize that i provided wrong info with confidence.. [font="Garamond"]Manjish Naik[/font]Engineer, Global Services - QPSHoneywell Automation India LimitedE-mail - Manjish.Naik@honeywell.com
atwolf359 Posted February 11, 2009 Author Posted February 11, 2009 Thanks, I read the doc. but really didn't understand it. my bad. I've been on the net so long, I remember when I could only e-mail myself!
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