jcma Posted April 6, 2008 Posted April 6, 2008 Hello, How can I get these characters and write them into a text file? ╚╛╜╝╟┴┬├┘└╦╣╤╦ Whenever I get this character ++++¦--+++-¦-- Regards
Aassdd Posted April 6, 2008 Posted April 6, 2008 Chr(alt code) Example for © (Alt + 0169): Msg(0, "", Chr(0169))
Developers Jos Posted April 6, 2008 Developers Posted April 6, 2008 Hello, How can I get these characters and write them into a text file? ╚╛╜╝╟┴┬├┘└╦╣╤╦Whenever I get this character ++++¦--+++-¦--RegardsWhat exactly are you trying to do ?It all depends on what fontset you are using for these characters to show since they are not in the standard ascii table AFAIK. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
jcma Posted April 6, 2008 Author Posted April 6, 2008 What exactly are you trying to do ? It all depends on what fontset you are using for these characters to show since they are not in the standard ascii table AFAIK. Hello again, What I want is to format text in a variable adding edges to be used in other processes. I tried this, but what I view is not the character I want: MsgBox(0, "", ChrW(9500))
Developers Jos Posted April 6, 2008 Developers Posted April 6, 2008 I tried this, but what I view is not the character I want:MsgBox(0, "", ChrW(9500))This line works fine for me.What is the environment you work in ?What version of AutoIt3 are you using ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
jcma Posted April 6, 2008 Author Posted April 6, 2008 This line works fine for me.What is the environment you work in ?What version of AutoIt3 are you using ?I use WXP SP2 (Spanish) and Autoit 3.2.10.0, I also tested with the latest Beta version available with the same results...
Aassdd Posted April 6, 2008 Posted April 6, 2008 I get the same with jcma and I'm using the latest versions.
Developers Jos Posted April 6, 2008 Developers Posted April 6, 2008 - same setup here, only running the US version of WindowsXP. Are you running from SciTE? If so can you show the OutputPane information ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Aassdd Posted April 6, 2008 Posted April 6, 2008 Jos, I got US too, did you change your windows default font? >"D:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "D:\Documents and Settings\Administrator\Desktop\New AutoIt v3 Script.au3" /autoit3dir "D:\Program Files\AutoIt3" /UserParams +>17:27:29 Starting AutoIt3Wrapper v.1.10.1.7 Environment(Language:0409 Keyboard:00000409 OS:WIN_XP/Service Pack 2 CPU:X86) >Running AU3Check (1.54.10.0) from:D:\Program Files\AutoIt3 +>17:27:29 AU3Check ended.rc:0 >Running:(3.2.10.0):D:\Program Files\AutoIt3\autoit3.exe "D:\Documents and Settings\Administrator\Desktop\New AutoIt v3 Script.au3" +>17:27:33 AutoIT3.exe ended.rc:0 >Exit code: 0 Time: 5.139
Developers Jos Posted April 6, 2008 Developers Posted April 6, 2008 Jos, I got US too, did you change your windows default font?Try this to create the file. This shows the correct character for me in NotePad and SciTE.$fh = FileOpen("Test.txt",2+128)FileWrite($fh,ChrW(9500) & @CRLF) FileClose($fh)ShellExecute("test.txt")Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
jcma Posted April 6, 2008 Author Posted April 6, 2008 Try this to create the file. This shows the correct character for me in NotePad and SciTE.JosThanks Jos! Opening the file with 2 + 128, it works smoothly. Thank you all for your interest shown. Regards,
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