record modified mouse clicks in kbd-macro