[TxMt] repeat scratch macro