On Feb 20, 2006, at 2:35 PM, Keith Ray wrote:

> I'm trying to use python/appscript to send apply-events to a cocoa  
> application, but it seems to be choking on parsing the aete...  
> possibly because the aeta has been replaced by 'sdef' for holding  
> scripting terminology.

If all you want to do is open a file then you're far better off using  
NSWorkspace.sharedWorkspace().openFile_withApplication_ 
(self.filename, self.applicationpath).

-bob

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to