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 

About hotstring endchars

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



Joined: 06 Dec 2007
Posts: 181

PostPosted: Thu Jun 05, 2008 2:31 am    Post subject: About hotstring endchars Reply with quote

Hi,
I've put in my script the following:
Code:
#Hotstring EndChars ()[]{}:;'"/\,.?!`n `t

But still {enter} isn't recognized as an endchar. This means that, then I type a non-asterisk string then hit Enter, the string remains unaltered in the line above.
I though that `n means "line break" (is that correct?) So, why isn't that working?
Tks
_________________
AHK is perfect.
Back to top
View user's profile Send private message
Guest






PostPosted: Thu Jun 05, 2008 3:03 am    Post subject: Reply with quote

I don't think you don't need it in your code(?)
Those are already end-chars

Eg,
Code:

Cows::Joe


Will change Cows to Joe if you press enter, etc. (All the ones you listed)
Back to top
Krogdor



Joined: 18 Apr 2008
Posts: 1025
Location: The Interwebs

PostPosted: Thu Jun 05, 2008 3:06 am    Post subject: Reply with quote

As the guest said, Enter is a pre-defined hotkey end character.

However, using exactly what you have posted, it works fine for me to hit enter and it activate the hotstring.
Back to top
View user's profile Send private message AIM Address
Da Rossa



Joined: 06 Dec 2007
Posts: 181

PostPosted: Sat Jun 14, 2008 9:06 pm    Post subject: Reply with quote

Hi, sorry for late response, I have an updated description of the problem:
I have two problems that I wasn't experiencing until short ago:
1- the {Enter} key is not being recognized as an endchar. The {NumpadEnter} is ok.
2- hotstrings typed at the beginning of a line in a text field, like a notepad, Word or msn messenger window are not being converted/expanded. I must hit a SPACE before so it can work. Why?

Tks!
_________________
AHK is perfect.
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