Re: [Pythonmac-SIG] How to fathom appscript

2006-12-18 Thread Nicholas Riley
On Mon, Dec 18, 2006 at 11:11:27PM +, Hamish Allan wrote: > itunes = app('iTunes') > x = itunes.sources.first.playlists[its.name.contains('MyName')] > > This code fetches any playlists containing the string 'MyName'. But I > want an exact match. Using 'equals' rather than 'contains' doesn't >

[Pythonmac-SIG] How to fathom appscript

2006-12-18 Thread Hamish Allan
Hi, I'm new to appscript (and relatively new to python) and I'm having trouble fathoming out how to determine what can be done with each type of object. For example, itunes = app('iTunes') x = itunes.sources.first.playlists[its.name.contains('MyName')] This code fetches any playlists containing

Re: [Pythonmac-SIG] About Obj-C 2.0 language bridge

2006-12-18 Thread Jacob Rus
Nehemiah Dacres wrote: > I just wanted to bring the attention to the community that there will > be a python/Objective C language bridge implemented come the > release of Leopard, Mac OS 10.5 > > These are a few questions I wanted to ask the MacPython Dev team > I was wondering how are we going to