rajeshontheweb Posted April 2, 2009 Share Posted April 2, 2009 (edited) I Want to display an error message in edit box and i want to strip off these special characters Normal Error Display if I Use Message Box $ErrMsg contains the following data OK Line 533 (File "F:\CustomScripts\1.13.2.au3"): TraySetToolTip($MsgTitle " Sending please be patient...") TraySetToolTip(^ ERROR Error: Error in expression. Msgbox(4096,"Error",$ErrMsg) is working fine. This is displayed with special characters if i assign this data using GUICtrlSetData(-1,$ErrMsg) how do i strip off the special characters to show in a multiline edit control. or , is it possible this way in a multiline control not to show the newlinefeed / carriagereturn character symbol representation?? Edited April 2, 2009 by rajeshontheweb Started late is much better than having never started it!!!!Failure is another step towards success. I've been messing around with: Adding Entry to 'Hosts'File Information Lister (Logger)Yet Another AutoIT Error Handler Yet Another AutoIT Error Handler & Debugger Control your App's TaskBar Button YCurrency Ticker (Latest Release : 16 Apr 2009)_WinInetInternetCheckConnection UDF Symantec Definitions Lister UDF _GetLocalIPAddresses UDF UDF to get Special Folder Information WMI_NetworkAdapterConfiguration2Array WMI_CDRomDriveCapabilities _ScriptExists - Check if your au3 script is running!! Uninstaller UDF Get Version for your application (at script level or compiled stage) Uninstaller Pro - faster alternative to windows application removal applet Link to comment Share on other sites More sharing options...
GEOSoft Posted April 2, 2009 Share Posted April 2, 2009 TraySetToolTip($MsgTitle " Sending please be patient...") is incorrect TraySetToolTip($MsgTitle & " Sending please be patient...") 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...
rajeshontheweb Posted April 2, 2009 Author Share Posted April 2, 2009 ooh, forgot to mention that, this is from a script which is deliberately throwing the error because i am working on error handling functions.. Started late is much better than having never started it!!!!Failure is another step towards success. I've been messing around with: Adding Entry to 'Hosts'File Information Lister (Logger)Yet Another AutoIT Error Handler Yet Another AutoIT Error Handler & Debugger Control your App's TaskBar Button YCurrency Ticker (Latest Release : 16 Apr 2009)_WinInetInternetCheckConnection UDF Symantec Definitions Lister UDF _GetLocalIPAddresses UDF UDF to get Special Folder Information WMI_NetworkAdapterConfiguration2Array WMI_CDRomDriveCapabilities _ScriptExists - Check if your au3 script is running!! Uninstaller UDF Get Version for your application (at script level or compiled stage) Uninstaller Pro - faster alternative to windows application removal applet 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