On 30/03/2011 12:13, Jeremy Nicoll - ml netsurf wrote:
[WindOpen module to move NetSurf windows]
In the past I've run Obey files which issued a different WO_... command, to produce a list of the appname/title/position of all currently displayed windows, and wrote it to a file on the RAM disk. The obey file then contained a WaitUntil (by Vince Hudd, IIRC) command to wait for the list file to get written to, then ran another program which read the file. It pattern-matched the appname/title parts of the currently displayed windows and for those that matched certain criteria issued WO_MoveWind commands for them quoting the precise appname/title combinations of those windows.
Incidentally WindOpen supports the '*' wildcard so you don't have to specify the exact title of the window. However, if it's not unique only one of the matching windows will be affected. Cheers -- David J. Ruck email: dr...@druck.org.uk phone: +44(0)7974 108301