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 

A_EndChar Not working

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



Joined: 11 May 2007
Posts: 25

PostPosted: Sat Dec 22, 2007 12:49 pm    Post subject: A_EndChar Not working Reply with quote

Was trying to do a script using hotstrings and I noticed it wasn't sending the end character in the send command, upon doing a simple script
Code:
::btw::
Msgbox,%A_EndChar%


The variable is always blank.
Back to top
View user's profile Send private message
tonne



Joined: 06 Jun 2006
Posts: 1159
Location: Denmark

PostPosted: Sat Dec 22, 2007 2:17 pm    Post subject: Reply with quote

Try this:
Code:
::btw::
  Msgbox,|%A_EndChar%|
  Return

_________________
there's a dog barking close within the range of my ear
sounds like he wants to escape the chain
he would probably bite me to death if he could
but the chain lets me spit in his face

- Kashmir
Back to top
View user's profile Send private message
psjw12



Joined: 11 May 2007
Posts: 25

PostPosted: Sat Dec 22, 2007 2:26 pm    Post subject: Reply with quote

Nope, that don't work, the contents of the variable is empty.

Need an admin to look at this.
Back to top
View user's profile Send private message
svi



Joined: 09 Oct 2006
Posts: 124
Location: Finland

PostPosted: Wed Dec 26, 2007 11:10 pm    Post subject: Re: A_EndChar Not working Reply with quote

psjw12 wrote:
The variable is always blank.

It seems to be blank if you press Enter or Space Laughing

If I press eg. comma (,), full stop (.) or hyphen-minus (-) they're shown by the MsgBox.
_________________
Pekka Vartto
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