Re: ctrl- 'key' event to NSTask
Re: ctrl- 'key' event to NSTask
- Subject: Re: ctrl- 'key' event to NSTask
- From: Nick Zitzmann <email@hidden>
- Date: Sun, 23 Mar 2003 22:01:31 -0800
On Sunday, March 23, 2003, at 03:03 PM, Till Niese wrote:
How can i send a ctrl-'key' event to a 'terminal-app' a wrapped with
an NSTask.
like the ctrl-X in the pico-app to quit the app.
Control key characters are actually a part of ASCII, so you can send
the character to Pico and it should work. Control-X's ASCII code, in
hexadecimal notation, is 0x18. (Control-A is 0x01, Control-B is 0x02,
and so on...)
Nick Zitzmann
AIM/iChat: dragonsdontsleep
Check out my software page:
http://dreamless.home.attbi.com/
Smile! It confuses people!
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.