Some random numbers generated by VBS and written into a.txt code

Time:2019-11-4
Copy codeThe code is as follows:
Set a=WScript.CreateObject(“WScript.Shell”)
a.Run “notepad”
‘open Notepad
do
Randomize
x= Int((40 * Rnd) + 1)
‘generate a random number from 1 to 40 and assign it to X
WScript.Sleep 1000
a.SendKeys x&”,”
“Analog keyboard, output x
N = n + 1 ‘accumulator
If n = 10 then Wscript. Quit ‘push script if accumulator n is 10
loop
‘save as VBS and see the result

Recommended Today

Tianchi_ Second hand car price forecast_ Task3_ Feature Engineering

Zero ️⃣ preface Zero ️⃣ .1 ️⃣ Restatement of competition questions Zero ️⃣ .2 ️⃣ Data set overview 1. Delete the missing value if abnormal One ️⃣ .1 ️⃣ Import library and data One ️⃣ .2 ️⃣ Outlier deletion Feature construction of 2-tree model Two ️⃣ .1 ️⃣ Time feature construction Two ️⃣ .2 ️⃣ […]