Add script to record and play keyboard macro under sawfish

Signed-off-by: Bao Haojun <baohaojun@gmail.com>