[Pythonmac-SIG] Replacing AppleScript by Python

Jack Jansen Jack.Jansen at cwi.nl
Mon Oct 11 00:01:27 CEST 2004


On 8 Oct 2004, at 21:49, has wrote:

> mediaItem = app('iView 
> MediaPro.app').catalogs[1].import(FSSpec('/path/to/MediaFile'))

"import" is a reserved word. If appscript uses the same reserved word 
clash algorithm as the old gensuitemodule stuff then it'll be turned 
into "import_".
--
Jack Jansen, <Jack.Jansen at cwi.nl>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma 
Goldman



More information about the Pythonmac-SIG mailing list