Hi Dan, thanks for the suggestions. Yes, the command hiResizeWindow(hiGetCurrentWindow() list(a:b c:d)) does in fact resize the window. I've played around with a VIVA-XL from ICFB without my script, and the command hiCloseWindow( currentWindow ) works but not with currentWindow = awvGetCurrentWindow(). If I use currentWindow = hiGetCurrentWindow() you proposed, the VIVA-XL window closes. So I believe this is usable in the script. I believe this solves the problem, but in this case the descripton awvGetCurrentWindow() command is a bit misleading. What window does the returned number correspond to? If assume that it is the window inside VIVA-XL (subwindow), then hiCloseWindow(awvGetCurrentWindow()) should close the subwindow. But it doesn't. And awvGetCurrentWindow() and hiGetCurrentWindow() return different values, so clearly the windows they describe are not the same. Aleksandr
↧