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 

Removing Exclamation marks (!) from scripts

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



Joined: 16 Mar 2008
Posts: 25
Location: Brooklyn

PostPosted: Mon May 05, 2008 4:01 pm    Post subject: Removing Exclamation marks (!) from scripts Reply with quote

I know that I can remove enter keys and spaces from scripts using the following code.
Quote:
StringReplace, clipboard, clipboard, `r`n, , All

How can I edit this code to remove exclamation marks as well? Also, is there an index available so that I know which key equates to which code?
_________________
Back to top
View user's profile Send private message
Oberon



Joined: 18 Feb 2008
Posts: 458

PostPosted: Mon May 05, 2008 6:33 pm    Post subject: Reply with quote

You can use ! literally since it is not an escape sequence, i.e. StringReplace, clipboard, clipboard, !, , 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