AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

unidentified char-help needed for removal

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
biotech



Joined: 24 Feb 2006
Posts: 145

PostPosted: Sun Jul 22, 2007 8:03 pm    Post subject: unidentified char-help needed for removal Reply with quote

here is the screenshot of the text file that i am generating...one wierd char is appearing and it is messing up the import in excel as CSV file
i need help for removal...(i tried something like this variable=%variable%, but it doesnt work)

Back to top
View user's profile Send private message
ManaUser



Joined: 24 May 2007
Posts: 901

PostPosted: Sun Jul 22, 2007 9:18 pm    Post subject: Reply with quote

Make a script contianing this:
Code:
msgbox % asc("x")

But copy and paste the mystery character instead of the x. Run it and it will tell you what charcter it is (as a number). Once you know that it will be easier to get rid of.
Back to top
View user's profile Send private message
biotech



Joined: 24 Feb 2006
Posts: 145

PostPosted: Sun Jul 22, 2007 10:32 pm    Post subject: Reply with quote

thanks for your help but when i paste the character into the script i get a like i pressed return...it only appears in notepad. pspad doesnt

did anyone had similiar problem??
Back to top
View user's profile Send private message
SKAN



Joined: 26 Dec 2005
Posts: 5880

PostPosted: Sun Jul 22, 2007 10:52 pm    Post subject: Reply with quote

biotech wrote:
when i paste the character into the script i get a like i pressed return...


Then it should be a solitary carriage-return, a Chr(13) or `r
When creating the CSV make sure you are not using `r and use only `n

Smile
Back to top
View user's profile Send private message
ManaUser



Joined: 24 May 2007
Posts: 901

PostPosted: Mon Jul 23, 2007 1:31 am    Post subject: Reply with quote

Or if already have it like that from some other source, you could probably get rid of it like this:

StringReplace Variable, Variable, `r , , All
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group