What command will force the output variable to include a specified number of digits regardless of its value?
For example, suppose you want to enter a list of numbers in Notepad using the following script:
Code: Select all
F1::
Loop, 12
{
Var:=A_Index
Send %Var%
Send {Enter}
}
Return
But suppose instead, you want the following result:1
2
3
4
5
6
7
8
9
10
11
12
What change in the script will produce that?0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
Thanks