• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
New to ObjC/Cocoa - looking to get data from OS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Follow-Ups:
    • Re: New to ObjC/Cocoa - looking to get data from OS
      • From: Nathan Day <email@hidden>
  • Prev by Date: Re: Transferring large files using DO
  • Next by Date: Memory management and NSUserDefaults?
  • Previous by thread: Re: Transferring large files using DO
  • Next by thread: Re: New to ObjC/Cocoa - looking to get data from OS
  • Index(es):
    • Date
    • Thread