Re: [Pyobjc-dev] Re: FYI: Open Source Scripting Layer For Cocoa
Brought to you by:
ronaldoussoren
From: Jack J. <Jac...@cw...> - 2003-06-13 12:01:14
|
Okay, a wholly different idea from the currency one: take the SimpleComboBox example from /Developer/Examples/Appkit. This demonstrates a combo-box, but what we use is the fact that the application pretends to be a CD collection note taking tool. We could add a button "Ask iTunes", which would fire up Python code that uses Python's OSA stuff to ask iTunes for the currently playing artist and album. Cons: I'm not sure the Python OSA stuff will work in a Cocoa app, won't work easily under 2.2 (no gensuitemodule, probably bugs in Carbon.AE too), the gensuitemodule song-and-dance may be a bit involved. Pro: shows off OSA stuff too. Comments? -- Jack Jansen, <Jac...@cw...>, http://www.cwi.nl/~jack If I can't dance I don't want to be part of your revolution -- Emma Goldman |