just an attempt for your scenario -
Try writing a CGI and trigger iwpt_compile there..
self.close on the window.
BTW _ What exactly are you trying to do? Can you please share your business req?
thank you very much...On a callout, I want to read the dcrs and store the required information in a xml file.Thanks again!!!