I can’t seem to figure out how to get at the values of built in fvwm variables like “$[version.num]”, if anybody has an idea on this I’d be mighty grateful…
tia
[EDIT]
You could set them by using something like:
self.send("SetEnv page_x $[page.nx]")
and then retrieve them with:
print os.environ["page_x"]
as thomas_adam suggested and indeed this sort of works BUT according to deltib (irc.freenode.net, #python) this doesn’t work because we are modifying stuff inside Fvwm’s process which is separate from Python’s. And indeed, when we first run the script we don’t get to see our just set variables but when we re-run it we do…
[/EDIT]