hey all i was wondering if its possible to read a external message box's caption and if it contains certin words do an action like as a very simple example if windows generates an error the program reads the caption and looks for the word "error" if it finds it then does somthing i assume this would need some findwindow apis or somthing on that lines but not sure