Hello,
Here is a script I made.
Walk Score (%INPUT_Walk%), Transit Score (%INPUT_Transit%), 1 Mi Population (%INPUT_Population%), 1 Mi Median HH Income ($%INPUT_Income%).
Is there any way to make the text inserted auto include a comma automatically. For example, "1000" keyed in becomes "1,000" automatically.
Thanks!
Auto Add Comma's?
Currently the user input is shown exactly as entered.
You could use Insert Command Code macro to further manipulate the result. For example, the code for adding the thousands separators could be:
You could use Insert Command Code macro to further manipulate the result. For example, the code for adding the thousands separators could be:
Code: Select all
Send, % ThousandsSep(INPUT_Income)
ThousandsSep(x, s=",") {
return RegExReplace(x, "\G\d+?(?=(\d{3})+(?:\D|$))", "$0" s)
}
return