[Pythonmac-SIG] Replacing AppleScript by Python

has hengist.podd at virgin.net
Mon Oct 11 00:12:17 CEST 2004


Jack Jansen 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_".

Good spot, thanks. Yes, it should be 'import_'.

has
-- 
http://freespace.virgin.net/hamish.sanderson/


More information about the Pythonmac-SIG mailing list