3 questions
-
1. Does anyone know how to create a system level key-equivalent (like
command-shift-Q for logging out)
2. Is it possible for an application to be running without displaying an
icon in the dock?
3. Is there a way to programmatically display a combo box list?
Thanks
josh -
before anyone mentions it...i found the answer to number 2 in this lists
archives
adding a new element to info.plist
<key>NSUIElement</key>
<string>1</string>
On Sunday, September 30, 2001, at 10:37 PM, Joshua Clements wrote:> 1. Does anyone know how to create a system level key-equivalent (like
> command-shift-Q for logging out)
>
> 2. Is it possible for an application to be running without displaying
> an icon in the dock?
>
> 3. Is there a way to programmatically display a combo box list?
>
> Thanks
>
> josh
>
> _______________________________________________
> MacOSX-dev mailing list
> <MacOSX-dev...>
> http://www.omnigroup.com/mailman/listinfo/macosx-dev
> -
On Monday, October 1, 2001, at 03:37 AM, Joshua Clements wrote:> 1. Does anyone know how to create a system level key-equivalent (like
> command-shift-Q for logging out)
Will services do what you want?> 2. Is it possible for an application to be running without displaying
> an icon in the dock?
See my other e-mail.> 3. Is there a way to programmatically display a combo box list?
Does -selectItemAtIndex:(int)index work?
http://developer.apple.com/techpubs/macosx/Cocoa/Reference/ApplicationKit/
ObjC_classic/Classes/NSComboBox.html#//apple_ref/occ/instm/NSComboBox/selectItemAtIndex:
I haven't had a chance to try it, but it looks promising.
-- Finlay -
On Monday, October 1, 2001, at 04:37 , Joshua Clements wrote:> 1. Does anyone know how to create a system level key-equivalent (like
> command-shift-Q for logging out)
Carbon hotkeys will do it (and it's actually the only known way to do it).
andy
--
Discussion forthcoming. -
What is carbon hotkeys?
On Monday, October 1, 2001, at 03:15 AM, Andreas Monitzer wrote:> On Monday, October 1, 2001, at 04:37 , Joshua Clements wrote:
>
>> 1. Does anyone know how to create a system level key-equivalent (like
>> command-shift-Q for logging out)
>
> Carbon hotkeys will do it (and it's actually the only known way to do
> it).
>
> andy
> --
> Discussion forthcoming.
> _______________________________________________
> MacOSX-dev mailing list
> <MacOSX-dev...>
> http://www.omnigroup.com/mailman/listinfo/macosx-dev
> -
On Tuesday, October 2, 2001, at 01:34 AM, Joshua Clements wrote:> What is carbon hotkeys?
an API in carbon for implementing system-wide key event things... it's
how Snapz Pro X manages to be invoked by cmd-shift-3.
-- Finlay -
Is there any documentation for this? can you point
towards it? I can't locate it on apples website or
the developer documentation. can you at least point
me to a header file.
thanks
josh
--- Finlay Dobbie <finlay.dobbie...>
wrote:>
> On Tuesday, October 2, 2001, at 01:34 AM, Joshua
> Clements wrote:
>
>> What is carbon hotkeys?
>
> an API in carbon for implementing system-wide key
> event things... it's
> how Snapz Pro X manages to be invoked by
> cmd-shift-3.
>
> -- Finlay
>
>
>
__________________________________________________
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com -
On Tuesday, October 2, 2001, at 03:17 PM, Joshua Clements wrote:> Is there any documentation for this? can you point
> towards it? I can't locate it on apples website or
> the developer documentation. can you at least point
> me to a header file.
Looks like it's in CarbonEvents.h -- the only problem with this is that
you can't use Carbon Events from a Cocoa application.
-- Finlay -
On Monday, October 1, 2001, at 03:55 AM, Joshua Clements wrote:> before anyone mentions it...i found the answer to number 2 in this
> lists archives
>
>
> adding a new element to info.plist
>
> <key>NSUIElement</key>
> <string>1</string>
Not the recommended way of doing it. See System Overview:
http://developer.apple.com/techpubs/macosx/Essentials/SystemOverview/Softwa
reConfig/
Software_Configuration.html
LSBackgroundOnly: If set to "true", makes your application
background-only. This is necessary only for processes that use
higher-level frameworks that connect to the window server but are not
intended to be visible to users.
-- Finlay


