• 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
Re: finding menu titles from another running app...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: finding menu titles from another running app...


  • Subject: Re: finding menu titles from another running app...
  • From: Philip George <email@hidden>
  • Date: Mon, 05 May 2003 20:55:11 -0500

Aha. Ok.... This is what I'm talking about, but let me add one more
constraint:

I need a solution that will work in 10.0 and up.

I've been working on this app for almost three years now, and although I'm
constantly adding features and optimizing others, I've managed to avoid any
newer API's, so it runs on **ALL** versions of OS X, all the way down to
10.0. I'd like to keep it that way. It's a nice selling point.

So, can anyone think of a way to grab another **running** app's menu titles
("File", "Edit", "Window", "Help", etc...) whether that app is Carbon or
Cocoa, that doesn't read NIB files, and that will work in ALL versions of OS
X?

Thanks.

- Philip



On 5/5/03 12:05 PM, "Eric Schlegel" <email@hidden> wrote:

> That won't work for the many Carbon apps that don't use nib files.
>
> The best way to do this is using the Accessibility API that was
> introduced in 10.2.
>
> -eric
>
>
>
> On Monday, May 5, 2003, at 09:21 AM, Andreas Schempp wrote:
>
>> you can try to get the path to the application you want, and then load
>> it's main nib file for you...
>>
>> not a nice way, and I don't know if this works for carbon apps, but I
>> think it should
>>
>>
>> Am Montag, 05.05.03 um 05:37 Uhr schrieb Philip George:
>>
>>> If an app has the following menus (for example)...
>>>
>>> File Edit View Window Help
>>>
>>> ...how can my app find out that information. Nothing else; just the
>>> titles.
>>>
>>> I'll need to know how to do it for Cocoa and Carbon apps, bundled and
>>> forked.
>>>
>>> Thanks.
>>>
>>> - Philip
>>> _______________________________________________
>>> 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.
>> _______________________________________________
>> 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.
_______________________________________________
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.

References: 
 >Re: finding menu titles from another running app... (From: Eric Schlegel <email@hidden>)

  • Prev by Date: Re: MacOSX 10.1/10.2 MarketShare split
  • Next by Date: The emails of Oscar Morales: a bug somewhere? [UNSOLVED (but probably off topic)]
  • Previous by thread: Re: finding menu titles from another running app...
  • Next by thread: PopUpButtonCell display properly in NSTableView
  • Index(es):
    • Date
    • Thread