One test further Try this: on mouseUp /* repeat 4 times put "#" after t end repeat */ set the numberFormat to quote "e"e "e put 5+1 end mouseUp puts "0006" which explains why on mouseUp repeat 4 times put "#" after t end repeat set the numberFormat to quote & t "e put 5+1 end mouseUp puts "000006" Greetings, WA