I'd like to run some applications in fullscreen. Even though they don't have an explicit such option, it is possible with the metacity Alt-F11 command.
So, I thought I could create such an input like this:
full.txt:
KeyStrPress Alt_L
KeyStrPress F11
KeyStrRelease F11
KeyStrRelease Alt_L
and then:
xmacroplay "$DISPLAY" < full.txt
(in my case, the same as xmacroplay :0.0 < full.txt)
But, it works in the terminal where it is run. How do I send it to the stdin of some other process?
Edit: I found a better way to do this: wmctrl -r urxvt -b toggle,fullscreen (for urxvt). Check out my answer to this question for (a bit) more on that.