hasii2011 / pyut

A UML Diagrammer implemented in Python
GNU Affero General Public License v3.0
11 stars 4 forks source link

Handle "open-document" Apple event. #509

Closed hasii2011 closed 1 year ago

hasii2011 commented 1 year ago

Handles "Open As"

Implement

PyApp. MacOpenFile

def MacOpenFile(self, fileName): # real signature unknown; restored from __doc__

hasii2011 commented 1 year ago

https://subscription.packtpub.com/book/python/9781785287732/1/ch01lvl1sec18/handling-appleevents

hasii2011 commented 1 year ago

The above was deprecated. Use the new method:

def MacOpenFiles(self, fileNames: List[str]):

hasii2011 commented 1 year ago

Done on the 🤡 master 🤡 branch