!7 /* From https://linux.die.net/man/1/wmctrl The first column always contains the window identity as a hexadecimal integer. The second column always contains the desktop number (a -1 is used to identify a sticky window). If the -p option is specified the next column will contain the PID for the window as a decimal integer. If the -G option is specified then four integer columns will follow: x-offset, y-offset, width and height. The next column always contains the client machine name. The remainder of the line contains the window title (possibly with multiple spaces in the title). */ module LinuxWindowList > DynObjectTable { start { if (!isLinux()) ret with setModuleName("Sorry, wrong OS - LINUX Window List"); doEvery(0.0, 10.0, r updateMe); } void update { setData(tlft(print(backtick("wmctrl -lpG")))); } }