How to handle each display/shell dialog box (not knowed) and choose default answer
I have such problem: I want to handle every dialog box which was executed on display and automatically choose default action on it. Is it possible? The problem is connected with swt browser component which I want to use hidden - not doing show on display - demon application will do some operations on this browser.
I want to send various command (and get some info like current html code) to this browser but the problem is that this browser can execute dialog box (java script) and stop... It is very important for me to use browser like that.
Thanks for answers and sory for my poor english