Theocacao
Leopard
Design Element
Comment on "Aqua from Scripting Languages"
by Dave — Nov 25
You can do this with PyObjC as well, and by using the ObjC methods via Python, off the top of my head, without actually writing a quickie app, you would import objc, appkit, foudation. Then just use the exposed classes. dlg = NSAlert_alloc_init_()
and apply the options you want, then call dlg.runmodal_()

I have used this in several PyObjC apps, as well as in some of my personal scripts that are command line python scripts or applets.
Back to "Aqua from Scripting Languages"
Design Element

Copyright © Scott Stevenson 2004-2015