mirror of
https://github.com/UberGuidoZ/Flipper.git
synced 2024-12-22 22:40:14 +00:00
4a9b276b56
Added missing ENTER on line 17. Without it, PowerShell doesn't run the command to make the computer speak without the user pressing enter.
18 lines
527 B
Plaintext
18 lines
527 B
Plaintext
REM Author: UberGuidoZ
|
|
REM Description: Turns up the volume then speaks.
|
|
REM Originally designed for an OMG cable, change the text in the last line to suit.
|
|
DELAY 2000
|
|
GUI r
|
|
DELAY 500
|
|
STRING powershell
|
|
ENTER
|
|
DELAY 1000
|
|
STRING $key=[Math]::Ceiling(100/2);$obj=New-Object -ComObject WScript.Shell;for($i=0;$i -lt $key;$i++){$obj.SendKeys([char] 175)}
|
|
ENTER
|
|
DELAY 250
|
|
STRING $sp=New-Object -ComObject SAPI.SpVoice
|
|
ENTER
|
|
DELAY 250
|
|
STRING $sp.Speak("Hey everybody! I plugged in something I should not have.")
|
|
ENTER
|