Re: Get the current displayed NSAlert

2012-12-04 Thread Brad O'Hearne
In general -- any alert that requires user attention (especially ones with multiple button alternatives) can be left on the screen indefinitely by a user. If you are monitoring environmental conditions (such as network, server, or Internet reachability) that arise, it is always possible that

Re: Get the current displayed NSAlert

2012-12-04 Thread Kyle Sluder
On Dec 4, 2012, at 7:49 AM, Brad O'Hearne br...@bighillsoftware.com wrote: In general -- any alert that requires user attention (especially ones with multiple button alternatives) can be left on the screen indefinitely by a user. If you are monitoring environmental conditions (such as

Get the current displayed NSAlert

2012-12-03 Thread Brad O'Hearne
Hello all, Is there a way to get a reference to the currently displayed modal NSAlert, or to be able to globally determine if a modal alert is presently showing in a Cocoa app, though you have no knowledge of where in the app it originated from? Thanks, Brad Brad O'Hearne Founder/Lead

Re: Get the current displayed NSAlert

2012-12-03 Thread Kyle Sluder
On Mon, Dec 3, 2012, at 05:13 PM, Brad O'Hearne wrote: Hello all, Is there a way to get a reference to the currently displayed modal NSAlert, or to be able to globally determine if a modal alert is presently showing in a Cocoa app, though you have no knowledge of where in the app it

Re: Get the current displayed NSAlert

2012-12-03 Thread Brad O'Hearne
Kyle, Thanks (I think). I asked the question as simply as I could without convoluting it with quite a bit of complexity, which would probably lead more to theoretical discussion rather than the specific issue. But since you want a more involved description of the problem, I've developed a

Re: Get the current displayed NSAlert

2012-12-03 Thread Kyle Sluder
I think you're thinking about the problem too generally. The workflow manager is probably going to need to understand that the plugins it's running can have encounter exceptional conditions. Therefore, there should be a mechanism by which your processing plugins can inform the workflow manager of

Re: Get the current displayed NSAlert

2012-12-03 Thread Peter
Do you mean something like [[self window] attachedSheet] Am 04.12.2012 um 02:13 schrieb Brad O'Hearne: Hello all, Is there a way to get a reference to the currently displayed modal NSAlert, or to be able to globally determine if a modal alert is presently showing in a Cocoa app,

Re: Get the current displayed NSAlert

2012-12-03 Thread jonat...@mugginsoft.com
On 4 Dec 2012, at 06:26, Kyle Sluder k...@ksluder.com wrote: I think you're thinking about the problem too generally. The workflow manager is probably going to need to understand that the plugins it's running can have encounter exceptional conditions. Therefore, there should be a mechanism