You can set a parent window on OSX but I don't know if it is used a lot and haven't tested it on older versions of OSX.Keya wrote:The following is a mashup mostly based on code in this thread but also some by wilbert to add Mac OSX support, although the Mac part doesn't support the ability to specify a parent window (it seems the NSAlert object doesnt have that capability?)
Code: Select all
CocoaMessage(0, CocoaMessage(0, Alert, "window"), "setParentWindow:", WindowID(#ParentWindow))