Re: [Pythonmac-SIG] python program in menu bar

2007-10-05 Thread Dan Christensen
scott herzinger <[EMAIL PROTECTED]> writes: > This document > > http://developer.apple.com/documentation/DeviceDrivers/Conceptual/HID/intro/chapter_1_section_1.html#/ > > /apple_ref/doc/uid/TP4970-CH202-DontLinkElementID_10 > > is a guide to working with HID devices. It provides some sample

Re: [Pythonmac-SIG] python program in menu bar

2007-10-05 Thread scott herzinger
This document http://developer.apple.com/documentation/DeviceDrivers/Conceptual/HID/intro/chapter_1_section_1.html#/ /apple_ref/doc/uid/TP4970-CH202-DontLinkElementID_10 is a guide to working with HID devices. It provides some sample code for accessing and controlling HID devices. An OOC

Re: [Pythonmac-SIG] python program in menu bar

2007-10-04 Thread Dan Christensen
scott herzinger <[EMAIL PROTECTED]> writes: > I assume, but don't know for certain, that MacBook keyboards are USB > HID devices. In that case, this document: > > http://www.usb.org/developers/devclass_docs/Hut1_11.pdf > > discusses extended HID usages, including those which can be used in > t

Re: [Pythonmac-SIG] python program in menu bar

2007-10-02 Thread scott herzinger
I assume, but don't know for certain, that MacBook keyboards are USB HID devices. In that case, this document: http://www.usb.org/developers/devclass_docs/Hut1_11.pdf discusses extended HID usages, including those which can be used in toggling on/off controls, of which LEDs are one instance.

Re: [Pythonmac-SIG] python program in menu bar

2007-10-01 Thread Dethe Elza
Hi Dan, On 10/1/07, Dan Christensen <[EMAIL PROTECTED]> wrote: > Another question: is there a way I can make an LED on my MacBook Pro > flash? My program is a mail notifier, and I'd like to know when I have > new mail without unblanking my screen, something I'm used to with xbuffy > under linux.

Re: [Pythonmac-SIG] python program in menu bar

2007-10-01 Thread Dan Christensen
Another question: is there a way I can make an LED on my MacBook Pro flash? My program is a mail notifier, and I'd like to know when I have new mail without unblanking my screen, something I'm used to with xbuffy under linux. The LEDs I'm thinking of are the caplocks light, the light to the left

Re: [Pythonmac-SIG] python program in menu bar

2007-09-29 Thread Dethe Elza
Dan wrote: > Thanks so much for that. It was quite easy to adapt it to my needs, > even though I don't understand the Cocoa side of the code. A few > questions: Glad it helped. I recommend getting familiar with the Cocoa libraries, they are quite rich, and PyObjC makes it very easy to experime

Re: [Pythonmac-SIG] python program in menu bar

2007-09-29 Thread Dan Christensen
"Dethe Elza" <[EMAIL PROTECTED]> writes: > On 9/26/07, Dan Christensen <[EMAIL PROTECTED]> wrote: >> Can anyone point to a simple example of a python program that runs in >> the menu bar? I'd like a program that just displays a few characters of >> text in the menu bar, and updates the display on

Re: [Pythonmac-SIG] python program in menu bar

2007-09-26 Thread Dethe Elza
Hi Dan, On 9/26/07, Dan Christensen <[EMAIL PROTECTED]> wrote: > Can anyone point to a simple example of a python program that runs in > the menu bar? I'd like a program that just displays a few characters of > text in the menu bar, and updates the display once a minute or so. The first thing to