CompuServe Thread

WShell2.0

3 messages in this thread
#22034From: RENE LEBLANCMar 25, 1992 10:17 PM
Using WShell2.0, is there a way to reference an existing WShell window, not necessarily the one that is active, and request to make the other window active or request to change it's size and/or location?
#22043From: Bill HawesMar 26, 1992 9:28 AM
Rene, No, WShell doesn't have any utilities that modify the size or position of other shell windows. If you need to provide this sort of control, your best approach would be to put a recognizable string in the window titlebar, and then search for windows having the special string. The usual Intuition calls could then be used to reposition the window. Probably something as simple as "WShell %n" in the titlebar variable would work fine … -Bill
#22060From: RENE LEBLANCMar 26, 1992 9:13 PM
Thank you for the answer .. even though I'd rather have a DIFFERENT answer. But your answer is doable. It is too bad AmigaDOS (or WShell) don't provide some standard calls to access various windows and provide an easy way to manage them from a shell script or ARexx program.