Currently I use xprop to get the page numbers of a window:
[code]AddToFunc FuncGetWinPage
- I PipeRead "echo SetEnv w.pagex
xprop -id $$0 |awk -F'[, ]+' '{if ($$$0~/^_WIN_AREA/) print $$$(NF-1)}'
" - I PipeRead "echo SetEnv w.pagey
xprop -id $$0 |awk -F'[, ]+' '{if ($$$0~/^_WIN_AREA/) print $$$NF}'
"[/code]
I’d like to know: how to get the page numbers of a window in fvwm way?
I mean use only fvwm internal commands (expr , awk , sed would be allowed).
Can someone help me ? Thanks.