Advertisement
Sharnav_Tech

Here's your Code

Sep 23rd, 2020 (edited)
1,980
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ' Subscribe to Sharnav's Tech on YouTube :)
  2.  
  3. set wshshell = wscript.CreateObject("wscript.shell")
  4. wshshell.run "Notepad"
  5. set shell = createobject("wscript.shell")
  6. strtext = inputbox("What would you like the message to be? (Program will start after 5 seconds)")
  7. wscript.sleep(5000)
  8. Do
  9. shell.sendkeys(strtext & "")
  10. Shell.SendKeys "{Enter}"
  11. wscript.sleep(30000)
  12. loop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement