Skip to content

Instantly share code, notes, and snippets.

@mrwm
Created March 4, 2016 05:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrwm/f2d7234cee8db66a2645 to your computer and use it in GitHub Desktop.
Save mrwm/f2d7234cee8db66a2645 to your computer and use it in GitHub Desktop.
Creates a bat script animation and launches it
set wshshell = wscript.CreateObject("wScript.Shell")
' Make cow script:
wshshell.run "Notepad"
wscript.sleep 400
' ### COW ONE ###
' @ECHO OFF
wshshell.sendkeys "@"
wscript.sleep 20
wshshell.sendkeys "E"
wscript.sleep 20
wshshell.sendkeys "C"
wscript.sleep 20
wshshell.sendkeys "H"
wscript.sleep 20
wshshell.sendkeys "O"
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys "O"
wscript.sleep 20
wshshell.sendkeys "F"
wscript.sleep 20
wshshell.sendkeys "F"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' Begin loop
wshshell.sendkeys ":"
wscript.sleep 20
wshshell.sendkeys "1"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' color c1
wshshell.sendkeys "c"
wscript.sleep 20
wshshell.sendkeys "o"
wscript.sleep 20
wshshell.sendkeys "l"
wscript.sleep 20
wshshell.sendkeys "o"
wscript.sleep 20
wshshell.sendkeys "r"
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys "c"
wscript.sleep 20
wshshell.sendkeys "1"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo.
wshshell.sendkeys "e"
wscript.sleep 20
wshshell.sendkeys "c"
wscript.sleep 20
wshshell.sendkeys "h"
wscript.sleep 20
wshshell.sendkeys "o"
wscript.sleep 20
wshshell.sendkeys "."
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo (__)
wshshell.sendkeys "e"
wscript.sleep 20
wshshell.sendkeys "c"
wscript.sleep 20
wshshell.sendkeys "h"
wscript.sleep 20
wshshell.sendkeys "o"
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys "{(}"
wscript.sleep 20
wshshell.sendkeys "_"
wscript.sleep 20
wshshell.sendkeys "_"
wscript.sleep 20
wshshell.sendkeys "{)}"
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo (oo)
wshshell.sendkeys "e"
wscript.sleep 20
wshshell.sendkeys "c"
wscript.sleep 20
wshshell.sendkeys "h"
wscript.sleep 20
wshshell.sendkeys "o"
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys "{(}"
wscript.sleep 20
wshshell.sendkeys "o"
wscript.sleep 20
wshshell.sendkeys "o"
wscript.sleep 20
wshshell.sendkeys "{)}"
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo /------\/
wshshell.sendkeys "e"
wscript.sleep 20
wshshell.sendkeys "c"
wscript.sleep 20
wshshell.sendkeys "h"
wscript.sleep 20
wshshell.sendkeys "o"
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys "{/}"
wscript.sleep 20
wshshell.sendkeys "-"
wscript.sleep 20
wshshell.sendkeys "-"
wscript.sleep 20
wshshell.sendkeys "-"
wscript.sleep 20
wshshell.sendkeys "-"
wscript.sleep 20
wshshell.sendkeys "-"
wscript.sleep 20
wshshell.sendkeys "-"
wscript.sleep 20
wshshell.sendkeys "{\}"
wscript.sleep 20
wshshell.sendkeys "{/}"
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo / I II
wshshell.sendkeys "e"
wscript.sleep 20
wshshell.sendkeys "c"
wscript.sleep 20
wshshell.sendkeys "h"
wscript.sleep 20
wshshell.sendkeys "o"
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys "{/}"
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys "I"
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys "I"
wscript.sleep 20
wshshell.sendkeys "I"
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo * /\---/\
wshshell.sendkeys "e"
wscript.sleep 20
wshshell.sendkeys "c"
wscript.sleep 20
wshshell.sendkeys "h"
wscript.sleep 20
wshshell.sendkeys "o"
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys "*"
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys "{/}"
wscript.sleep 20
wshshell.sendkeys "{\}"
wscript.sleep 20
wshshell.sendkeys "-"
wscript.sleep 20
wshshell.sendkeys "-"
wscript.sleep 20
wshshell.sendkeys "-"
wscript.sleep 20
wshshell.sendkeys "{/}"
wscript.sleep 20
wshshell.sendkeys "{\}"
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo ~~ ~~
wshshell.sendkeys "e"
wscript.sleep 20
wshshell.sendkeys "c"
wscript.sleep 20
wshshell.sendkeys "h"
wscript.sleep 20
wshshell.sendkeys "o"
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys "{~}"
wscript.sleep 20
wshshell.sendkeys "{~}"
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys "{~}"
wscript.sleep 20
wshshell.sendkeys "{~}"
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo ...."Have you mooed today?"...
wshshell.sendkeys "e"
wscript.sleep 20
wshshell.sendkeys "c"
wscript.sleep 20
wshshell.sendkeys "h"
wscript.sleep 20
wshshell.sendkeys "o"
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys "."
wscript.sleep 20
wshshell.sendkeys "."
wscript.sleep 20
wshshell.sendkeys "."
wscript.sleep 20
wshshell.sendkeys "{'}"
wscript.sleep 20
wshshell.sendkeys "H"
wscript.sleep 20
wshshell.sendkeys "a"
wscript.sleep 20
wshshell.sendkeys "v"
wscript.sleep 20
wshshell.sendkeys "e"
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys "y"
wscript.sleep 20
wshshell.sendkeys "o"
wscript.sleep 20
wshshell.sendkeys "u"
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys "m"
wscript.sleep 20
wshshell.sendkeys "o"
wscript.sleep 20
wshshell.sendkeys "o"
wscript.sleep 20
wshshell.sendkeys "e"
wscript.sleep 20
wshshell.sendkeys "d"
wscript.sleep 20
wshshell.sendkeys " "
wscript.sleep 20
wshshell.sendkeys "t"
wscript.sleep 20
wshshell.sendkeys "o"
wscript.sleep 20
wshshell.sendkeys "d"
wscript.sleep 20
wshshell.sendkeys "a"
wscript.sleep 20
wshshell.sendkeys "y"
wscript.sleep 20
wshshell.sendkeys "{?}"
wscript.sleep 20
wshshell.sendkeys "{'}"
wscript.sleep 20
wshshell.sendkeys "."
wscript.sleep 20
wshshell.sendkeys "."
wscript.sleep 20
wshshell.sendkeys "."
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' I'll just give up and enter in whole lines
' instead of going character by character...
' timeout /t 1 /nobreak > NUL
wshshell.sendkeys "timeout {/}t 1 {/}nobreak {>} NUL"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
'cls
wshshell.sendkeys "cls"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' ### COW TWO ###
' color b2
wshshell.sendkeys "color b2"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo.
wshshell.sendkeys "echo."
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo (__)
wshshell.sendkeys "echo {(}__{)} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo (oo)
wshshell.sendkeys "echo {(}oo{)} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo /------\/
wshshell.sendkeys "echo {/}------{\}{/} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo / I II
wshshell.sendkeys "echo {/} I II "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo * /\---/\
wshshell.sendkeys "echo * {/}{\}---{/}{\} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo ~~ ~~
wshshell.sendkeys "echo {~}{~} {~}{~} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo ...."Have you mooed today?"...
wshshell.sendkeys "echo ....{'}Have you mooed today?{'}..."
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' timeout /t 1 /nobreak > NUL
wshshell.sendkeys "timeout {/}t 1 {/}nobreak {>} NUL"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' cls
wshshell.sendkeys "cls"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' ### COW THREE ###
' color c5
wshshell.sendkeys ""
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo.
wshshell.sendkeys "echo."
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo (__)
wshshell.sendkeys "echo {(}__{)} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo (oo)
wshshell.sendkeys "echo {(}oo{)} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo /------\/
wshshell.sendkeys "echo {/}------{\}{/} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo / I II
wshshell.sendkeys "echo {/} I II "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo * /\---/\
wshshell.sendkeys "echo * {/}{\}---{/}{\} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo ~~ ~~
wshshell.sendkeys "echo {~}{~} {~}{~} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo ...."Have you mooed today?"...
wshshell.sendkeys "echo ....{'}Have you mooed today?{'}..."
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' timeout /t 1 /nobreak > NUL
wshshell.sendkeys "timeout {/}t 1 {/}nobreak {>} NUL"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' cls
wshshell.sendkeys "cls"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' ### COW FOUR ###
' color 03
wshshell.sendkeys ""
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo.
wshshell.sendkeys "echo."
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo (__)
wshshell.sendkeys "echo {(}__{)} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo (oo)
wshshell.sendkeys "echo {(}oo{)} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo /------\/
wshshell.sendkeys "echo {/}------{\}{/} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo / I II
wshshell.sendkeys "echo {/} I II "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo * /\---/\
wshshell.sendkeys "echo * {/}{\}---{/}{\} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo ~~ ~~
wshshell.sendkeys "echo {~}{~} {~}{~} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo ...."Have you mooed today?"...
wshshell.sendkeys "echo ....{'}Have you mooed today?{'}..."
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' timeout /t 1 /nobreak > NUL
wshshell.sendkeys "timeout {/}t 1 {/}nobreak {>} NUL"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' cls
wshshell.sendkeys "cls"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' ### COW FIVE ###
' color 84
wshshell.sendkeys "color 84"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo.
wshshell.sendkeys "echo."
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo (__)
wshshell.sendkeys "echo {(}__{)} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo (oo)
wshshell.sendkeys "echo {(}oo{)} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo /------\/
wshshell.sendkeys "echo {/}------{\}{/} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo / I II
wshshell.sendkeys "echo {/} I II "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo * /\---/\
wshshell.sendkeys "echo * {/}{\}---{/}{\} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo ~~ ~~
wshshell.sendkeys "echo {~}{~} {~}{~} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo ...."Have you mooed today?"...
wshshell.sendkeys "echo ....{'}Have you mooed today?{'}..."
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' timeout /t 1 /nobreak > NUL
wshshell.sendkeys "timeout {/}t 1 {/}nobreak {>} NUL"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' cls
wshshell.sendkeys "cls"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' ### COW SIX ###
' color 75
wshshell.sendkeys "color 75"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo.
wshshell.sendkeys "echo."
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo (__)
wshshell.sendkeys "echo {(}__{)} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo (oo)
wshshell.sendkeys "echo {(}oo{)} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo /------\/
wshshell.sendkeys "echo {/}------{\}{/} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo / I II
wshshell.sendkeys "echo {/} I II "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo * /\---/\
wshshell.sendkeys "echo * {/}{\}---{/}{\} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo ~~ ~~
wshshell.sendkeys "echo {~}{~} {~}{~} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo ...."Have you mooed today?"...
wshshell.sendkeys "echo ....{'}Have you mooed today?{'}..."
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' timeout /t 1 /nobreak > NUL
wshshell.sendkeys "timeout {/}t 1 {/}nobreak {>} NUL"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' cls
wshshell.sendkeys "cls"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' ### COW SEVEN ###
' color 56
wshshell.sendkeys "color 56"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo.
wshshell.sendkeys "echo."
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo (__)
wshshell.sendkeys "echo {(}__{)} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo (oo)
wshshell.sendkeys "echo {(}oo{)} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo /------\/
wshshell.sendkeys "echo {/}------{\}{/} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo / I II
wshshell.sendkeys "echo {/} I II "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo * /\---/\
wshshell.sendkeys "echo * {/}{\}---{/}{\} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo ~~ ~~
wshshell.sendkeys "echo {~}{~} {~}{~} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo ...."Have you mooed today?"...
wshshell.sendkeys "echo ....{'}Have you mooed today?{'}..."
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' timeout /t 1 /nobreak > NUL
wshshell.sendkeys "timeout {/}t 1 {/}nobreak {>} NUL"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' cls
wshshell.sendkeys "cls"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' ### COW EIGHT ###
' color 67
wshshell.sendkeys "color 67"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo.
wshshell.sendkeys "echo."
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo (__)
wshshell.sendkeys "echo {(}__{)} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo (oo)
wshshell.sendkeys "echo {(}oo{)} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo /------\/
wshshell.sendkeys "echo {/}------{\}{/} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo / I II
wshshell.sendkeys "echo {/} I II "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo * /\---/\
wshshell.sendkeys "echo * {/}{\}---{/}{\} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo ~~ ~~
wshshell.sendkeys "echo {~}{~} {~}{~} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo ...."Have you mooed today?"...
wshshell.sendkeys "echo ....{'}Have you mooed today?{'}..."
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' timeout /t 1 /nobreak > NUL
wshshell.sendkeys "timeout {/}t 1 {/}nobreak {>} NUL"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' cls
wshshell.sendkeys "cls"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' ### COW NINE ###
' color 48
wshshell.sendkeys "color 48"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo.
wshshell.sendkeys "echo."
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo (__)
wshshell.sendkeys "echo {(}__{)} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo (oo)
wshshell.sendkeys "echo {(}oo{)} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo /------\/
wshshell.sendkeys "echo {/}------{\}{/} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo / I II
wshshell.sendkeys "echo {/} I II "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo * /\---/\
wshshell.sendkeys "echo * {/}{\}---{/}{\} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo ~~ ~~
wshshell.sendkeys "echo {~}{~} {~}{~} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo ...."Have you mooed today?"...
wshshell.sendkeys "echo ....{'}Have you mooed today?{'}..."
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' timeout /t 1 /nobreak > NUL
wshshell.sendkeys "timeout {/}t 1 {/}nobreak {>} NUL"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' cls
wshshell.sendkeys "cls"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' ### COW TEN ###
' color 39
wshshell.sendkeys "color 39"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo.
wshshell.sendkeys "echo."
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo (__)
wshshell.sendkeys "echo {(}__{)} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo (oo)
wshshell.sendkeys "echo {(}oo{)} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo /------\/
wshshell.sendkeys "echo {/}------{\}{/} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo / I II
wshshell.sendkeys "echo {/} I II "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo * /\---/\
wshshell.sendkeys "echo * {/}{\}---{/}{\} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo ~~ ~~
wshshell.sendkeys "echo {~}{~} {~}{~} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo ...."Have you mooed today?"...
wshshell.sendkeys "echo ....{'}Have you mooed today?{'}..."
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' timeout /t 1 /nobreak > NUL
wshshell.sendkeys "timeout {/}t 1 {/}nobreak {>} NUL"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' cls
wshshell.sendkeys "cls"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' ### COW ELEVEN ###
' color 2a
wshshell.sendkeys "color 2a"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo.
wshshell.sendkeys "echo."
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo (__)
wshshell.sendkeys "echo {(}__{)} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo (oo)
wshshell.sendkeys "echo {(}oo{)} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo /------\/
wshshell.sendkeys "echo {/}------{\}{/} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo / I II
wshshell.sendkeys "echo {/} I II "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo * /\---/\
wshshell.sendkeys "echo * {/}{\}---{/}{\} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo ~~ ~~
wshshell.sendkeys "echo {~}{~} {~}{~} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo ...."Have you mooed today?"...
wshshell.sendkeys "echo ....{'}Have you mooed today?{'}..."
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' timeout /t 1 /nobreak > NUL
wshshell.sendkeys "timeout {/}t 1 {/}nobreak {>} NUL"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' cls
wshshell.sendkeys "cls"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' ### COW TWELVE ###
' color 1b
wshshell.sendkeys "color 1b"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo.
wshshell.sendkeys "echo."
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo (__)
wshshell.sendkeys "echo {(}__{)} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo (oo)
wshshell.sendkeys "echo {(}oo{)} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo /------\/
wshshell.sendkeys "echo {/}------{\}{/} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo / I II
wshshell.sendkeys "echo {/} I II "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo * /\---/\
wshshell.sendkeys "echo * {/}{\}---{/}{\} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo ~~ ~~
wshshell.sendkeys "echo {~}{~} {~}{~} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo ...."Have you mooed today?"...
wshshell.sendkeys "echo ....{'}Have you mooed today?{'}..."
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' timeout /t 1 /nobreak > NUL
wshshell.sendkeys "timeout {/}t 1 {/}nobreak {>} NUL"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' cls
wshshell.sendkeys "cls"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' ### COW THIRTEEN ###
' color 0c
wshshell.sendkeys "color 0c"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo.
wshshell.sendkeys "echo."
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo (__)
wshshell.sendkeys "echo {(}__{)} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo (oo)
wshshell.sendkeys "echo {(}oo{)} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo /------\/
wshshell.sendkeys "echo {/}------{\}{/} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo / I II
wshshell.sendkeys "echo {/} I II "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo * /\---/\
wshshell.sendkeys "echo * {/}{\}---{/}{\} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo ~~ ~~
wshshell.sendkeys "echo {~}{~} {~}{~} "
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' echo ...."Have you mooed today?"...
wshshell.sendkeys "echo ....{'}Have you mooed today?{'}..."
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' timeout /t 1 /nobreak > NUL
wshshell.sendkeys "timeout {/}t 1 {/}nobreak {>} NUL"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' cls
wshshell.sendkeys "cls"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
wshshell.sendkeys "{ENTER}"
wscript.sleep 20
' goto 1
wshshell.sendkeys "goto 1"
wscript.sleep 20
' ### END OF COWS ###
' ### ATTEMPT TO SAVE ###
wscript.sleep 1000
wshshell.sendkeys "%{F4}"
wscript.sleep 250
wshshell.sendkeys "{ENTER}"
wscript.sleep 500
wshshell.sendkeys "m"
wscript.sleep 200
wshshell.sendkeys "o"
wscript.sleep 200
wshshell.sendkeys "o"
wscript.sleep 200
wshshell.sendkeys "."
wscript.sleep 200
wshshell.sendkeys "b"
wscript.sleep 200
wshshell.sendkeys "a"
wscript.sleep 200
wshshell.sendkeys "t"
wscript.sleep 200
wscript.sleep 1000
wshshell.sendkeys "{TAB}"
wscript.sleep 200
wshshell.sendkeys "{DOWN}"
wscript.sleep 200
wshshell.sendkeys "{DOWN}"
wscript.sleep 200
wshshell.sendkeys "{TAB}"
wscript.sleep 200
wshshell.sendkeys "{TAB}"
wscript.sleep 200
wshshell.sendkeys "{TAB}"
wscript.sleep 200
wshshell.sendkeys "{TAB}"
wscript.sleep 200
wshshell.sendkeys "{TAB}"
wscript.sleep 200
wshshell.sendkeys "{ENTER}"
wscript.sleep 200
wshshell.sendkeys "{%}"
wscript.sleep 200
wshshell.sendkeys "H"
wscript.sleep 200
wshshell.sendkeys "O"
wscript.sleep 200
wshshell.sendkeys "M"
wscript.sleep 200
wshshell.sendkeys "E"
wscript.sleep 200
wshshell.sendkeys "P"
wscript.sleep 200
wshshell.sendkeys "A"
wscript.sleep 200
wshshell.sendkeys "T"
wscript.sleep 200
wshshell.sendkeys "H"
wscript.sleep 200
wshshell.sendkeys "{%}"
wscript.sleep 200
wshshell.sendkeys "\"
wscript.sleep 200
wshshell.sendkeys "D"
wscript.sleep 200
wshshell.sendkeys "e"
wscript.sleep 200
wshshell.sendkeys "s"
wscript.sleep 200
wshshell.sendkeys "k"
wscript.sleep 200
wshshell.sendkeys "t"
wscript.sleep 200
wshshell.sendkeys "o"
wscript.sleep 200
wshshell.sendkeys "p"
wscript.sleep 200
wshshell.sendkeys "\"
wscript.sleep 200
wshshell.sendkeys "{ENTER}"
wshshell.sendkeys "{TAB}"
wscript.sleep 200
wshshell.sendkeys "{TAB}"
wscript.sleep 200
wshshell.sendkeys "{TAB}"
wscript.sleep 200
wshshell.sendkeys "{TAB}"
wscript.sleep 200
wshshell.sendkeys "{TAB}"
wscript.sleep 200
wshshell.sendkeys "{TAB}"
wscript.sleep 200
wshshell.sendkeys "{TAB}"
wscript.sleep 200
wshshell.sendkeys "{TAB}"
wscript.sleep 200
wshshell.sendkeys "{TAB}"
wscript.sleep 200
wshshell.sendkeys "{TAB}"
wscript.sleep 200
wshshell.sendkeys "{ENTER}"
wscript.sleep 200
' Try to run the saved file:
wshshell.run "cmd"
wscript.sleep 400
wshshell.sendkeys "c"
wscript.sleep 200
wshshell.sendkeys "d"
wscript.sleep 200
wshshell.sendkeys " "
wscript.sleep 200
wshshell.sendkeys "{%}"
wscript.sleep 200
wshshell.sendkeys "H"
wscript.sleep 200
wshshell.sendkeys "O"
wscript.sleep 200
wshshell.sendkeys "M"
wscript.sleep 200
wshshell.sendkeys "E"
wscript.sleep 200
wshshell.sendkeys "P"
wscript.sleep 200
wshshell.sendkeys "A"
wscript.sleep 200
wshshell.sendkeys "T"
wscript.sleep 200
wshshell.sendkeys "H"
wscript.sleep 200
wshshell.sendkeys "{%}"
wscript.sleep 200
wshshell.sendkeys "\"
wscript.sleep 200
wshshell.sendkeys "Desktop"
wscript.sleep 200
wshshell.sendkeys "{ENTER}"
wscript.sleep 1000
wshshell.sendkeys "s"
wscript.sleep 200
wshshell.sendkeys "t"
wscript.sleep 200
wshshell.sendkeys "a"
wscript.sleep 200
wshshell.sendkeys "r"
wscript.sleep 200
wshshell.sendkeys "t"
wscript.sleep 200
wshshell.sendkeys " "
wscript.sleep 200
wshshell.sendkeys "m"
wscript.sleep 200
wshshell.sendkeys "o"
wscript.sleep 200
wshshell.sendkeys "o"
wscript.sleep 200
wshshell.sendkeys "."
wscript.sleep 200
wshshell.sendkeys "b"
wscript.sleep 200
wshshell.sendkeys "a"
wscript.sleep 200
wshshell.sendkeys "t"
wscript.sleep 200
wshshell.sendkeys " "
wscript.sleep 200
wshshell.sendkeys "&"
wscript.sleep 200
wshshell.sendkeys "&"
wscript.sleep 200
wshshell.sendkeys " "
wscript.sleep 200
wshshell.sendkeys "e"
wscript.sleep 200
wshshell.sendkeys "x"
wscript.sleep 200
wshshell.sendkeys "i"
wscript.sleep 200
wshshell.sendkeys "t"
wscript.sleep 200
wshshell.sendkeys "{ENTER}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment