[Pythonmac-SIG] appscript

Bob Ippolito bob at redivi.com
Tue Feb 21 00:37:22 CET 2006


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



More information about the Pythonmac-SIG mailing list