Code :
- StartCode := "%B"
- :*:%B::
- Input, MyVar, T2, ?
- IfInString, ErrorLevel, EndKey:
- {
- MyVar := RegExReplace(MyVar, "\s{2,}", " " )
- formated := RegExReplace(MyVar, "([0-9]{16})\^([-\s\w]+)\^([0-9]{2})([0-9]{2}).+", "$1 - $2- Exp:$4-$3" )
- send %formated%
- return
- }
- if ErrorLevel = Timeout
- {
- send %StartCode%%MyVar%
- }
- return
|