I have read your post some times to get the grip of the problem....
Is it this line that won't work?
Code: Select all
<action>cat [ echo $COMMANDSTRING ] | scrot </action>
Code: Select all
call() {
cat "$COMMANDSTRING" | scrot
}
[...]
<action>call </action>
Sigmund