Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to generate a random number or letter?
#4
This will populate notepad with random numbers and characters.
Macro Random for Notepad
Code:
Copy      Help
run "notepad.exe"
wait 0 WA win("Notepad" "Notepad")
;Generate random number from 1-9999
rep 10
,outp RandomInt(1 9999)
,'Y
outp "----[]"
;Generate random character from a-z
rep 10
,outp _s.RandomString(1 1 "a-z")
,'Y
for form you could search on this site for some examples like this one:
Example: parse text file (table) and populate web form
Could this be done with a macro, or require programming?


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)