Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Apl > Re: Unicode - S...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 8 Topic 1014 of 1019
Post > Topic >>

Re: Unicode - Sendkeys

by phil chastney <phil.hates.spam@[EMAIL PROTECTED] > May 11, 2008 at 07:57 PM

AAsk wrote:
> If I am sending the escape character to a window programatically, I'd
> send {ESC}. If I am reading the characters that I am sending to a
> window from a file, what value do I write for {ESC}?
> 
> e.g.  what code do I write to the file:
> to close the APLW editor i.e for {ESC}                   (single key)
> to close the APL+Win editor i.e .for Ctrl + E          (combined key)
> to close the APLX editor i.e for Ctrl + S + W          (multiple
> combined key(s))
> 
> Programatically, these would be
> 
> {ESC}
> ^S^W (or is it ^SW?)
> ^E
> 
> What are the values of these keys?

keys? or characters?

the Unicode value for ASCII Escape is 0x001B

what is/should be stored on file will depend on how the file's been
encoded

UTF-8 will store the character as the 8-bit quantity 0x1B
UTF-16 will store the two 8-bit quantities 0x00, 0x1B (but not 
necessarily in that order -- it depends on your Endian properties)

ctrl-E is/was ENQ, and has the Unicode value 0x0005

ctrl-S is/was DC3 (typically, stop scrolling) and has the Unicode value 
0x0013

ctrl-W (if that _is_ what you're using) is/was ETB (was that End Text 
Block?), and has the Unicode value 0x0017

HTH   . . .   /phil




 8 Posts in Topic:
Unicode - Sendkeys
AAsk <AA2e72E@[EMAIL P  2008-05-11 09:42:11 
Re: Unicode - Sendkeys
phil chastney <phil.ha  2008-05-11 19:57:02 
Re: Unicode - Sendkeys
AAsk <AA2e72E@[EMAIL P  2008-05-11 14:06:40 
Re: Unicode - Sendkeys
Gosi <gosinn@[EMAIL PR  2008-05-11 14:20:53 
Re: Unicode - Sendkeys
AAsk <AA2e72E@[EMAIL P  2008-05-11 14:54:29 
Re: Unicode - Sendkeys
Gosi <gosinn@[EMAIL PR  2008-05-11 16:04:45 
Re: Unicode - Sendkeys
Ric <r.g.sherlock@[EMA  2008-05-11 17:36:28 
Re: Unicode - Sendkeys
"jk" <aqxqy@  2008-05-12 10:38:32 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu May 15 22:14:29 CDT 2008.