| 1 |
ninoborges |
2 |
SummationLoop:
|
| 2 |
|
|
WinWaitActive, Summation
|
| 3 |
|
|
Send,{F9}
|
| 4 |
|
|
WinWaitActive, Zoom:
|
| 5 |
|
|
Send,^c
|
| 6 |
|
|
Send,{TAB 2}
|
| 7 |
|
|
Send,{ENTER}
|
| 8 |
|
|
SetEnv,origBates,%CLIPBOARD%
|
| 9 |
|
|
StringLen,length,origBates
|
| 10 |
|
|
;MsgBox,0,%CLIPBOARD%,The length is %length%
|
| 11 |
|
|
IfLessOrEqual,length,7,Goto,ChangeLoop
|
| 12 |
|
|
Send,{F8}
|
| 13 |
|
|
Goto,SummationLoop
|
| 14 |
|
|
ChangeLoop:
|
| 15 |
|
|
;StringReplace,newBates,origBates,CSX,CSX0
|
| 16 |
|
|
StringReplace,newBates,origBates,JW,JW0
|
| 17 |
|
|
Send,{F2}
|
| 18 |
|
|
SetEnv,clipboard,%newBates%
|
| 19 |
|
|
Send,{F9}
|
| 20 |
|
|
WinWaitActive, Zoom:
|
| 21 |
|
|
Send,^v
|
| 22 |
|
|
Send,{TAB}
|
| 23 |
|
|
Send,{ENTER}
|
| 24 |
|
|
Send,{TAB}
|
| 25 |
|
|
Send,{F9}
|
| 26 |
|
|
WinWaitActive, Zoom:
|
| 27 |
|
|
Send,^c
|
| 28 |
|
|
SetEnv,endBates,%CLIPBOARD%
|
| 29 |
|
|
;StringReplace,newEndBates,endBates,CSX,CSX0
|
| 30 |
|
|
StringReplace,newEndBates,endBates,JW,JW0
|
| 31 |
|
|
SetEnv,clipboard,%newEndBates%
|
| 32 |
|
|
Send,^v
|
| 33 |
|
|
Send,{TAB}
|
| 34 |
|
|
Send,{ENTER}
|
| 35 |
|
|
Send,{TAB}
|
| 36 |
|
|
SetEnv,clipboard,%origBates%
|
| 37 |
|
|
Send,{F9}
|
| 38 |
|
|
WinWaitActive, Zoom:
|
| 39 |
|
|
Send,^v
|
| 40 |
|
|
Send,{TAB}
|
| 41 |
|
|
Send,{ENTER}
|
| 42 |
|
|
;MsgBox,0,test,I replaced %origBates% with %newBates%
|
| 43 |
|
|
Send,{F2}
|
| 44 |
|
|
WinWaitActive, Summation iBlaze
|
| 45 |
|
|
Send,{TAB}
|
| 46 |
|
|
Goto, SummationLoop |