You can pass the return value of hiGetCurrentWindow() directly to hiResizeWindow. hiGetCurrentWindow() returns a window Id, and that's what the resize window is expecting. The window() function is used to convert window _numbers_ to window Ids, and so is not needed here.Originally posted in cdnusers.org by adbeckett
Perhaps it's because you have windowsid on the first line, and windowid (no s) on the second?
In other words, doing:
windowid = hiGetCurrentWindow()
hiResizeWindow(windowid list(0:0 1400:1050))
should do the job.