New to ObjC/Cocoa - looking to get data from OS
New to ObjC/Cocoa - looking to get data from OS
- Subject: New to ObjC/Cocoa - looking to get data from OS
- From: Steven Harms <email@hidden>
- Date: Sun, 6 Apr 2003 20:13:01 -0700
Hi All,
I am new to ObjC and am finding it a bit of fresh air from my usual
Perl-focused occupation.
One thing that I've not covered in the O'Reilly dog books is notions of
integration between
OS-type activities and the application. The examples, be they "Hello
World" or Currency
Converter, seem to focus exclusively on 'standalone' application that
don't get data from the
OS or affect the OS / Window Manager in any way.
In the interest of brevity my need is this. I would like to have my
application be launched
and then wait. I would like to issue an escape sequence (some
non-reserved keybinding)
that would shift the 'focus' to that application, which would pop up a
textbox for receiving input.
This fits into a larger goal, but I want to keep it brief.
So my questions are:
- Should this be an application or should i look to running this as a
service?
- How can I affect the keyboard shortcuts (can i bind them
arbitrarily?)
- Are there any examples of Aqua-as-interface interpreting events that
I can refer to?
I have included my extended programming goal below if you feel you
need more context.
Thanks for any help in advance!
Steven
:: Verbose Explanation of Goal ::
I came from Linux land where my favorite WM was ion. It was a
full-creen, anti-mouse window manager that had a really great idea in
it: you hit an escape sequence (mappable as you see fit) and you are
given a command line. You type the name of the appliation and can use
TAB to complete the match once you have enough unique characters (a la
bash).
Example: (escape sequence) [type]i c *tab* [autocomplete] iChat *enter*
And viola! In ichat. I would like to add the suffix of "/" so that I
could do the preceeding, then hit 'foom' and then have iChat's chat box
with 'fooman' get the focus.
_______________________________________________
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.