PC & IT SUPPORT MADE EASY FORUM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Launch Missiles With Alexa & Web Extractor Example

Go down

Launch Missiles With Alexa & Web Extractor Example Empty Launch Missiles With Alexa & Web Extractor Example

Post by jamied_uk 7th August 2017, 22:05





Web Extractor Phrase Command Example


Code:
Start Launch.
Phrase:Launch Missiles
NEWURL-100:C:\Scripts\countdown.bat

Bat Script File Example

Code:
@echo off
cls
rem jnet.forumotion.com/t1545-windows-bat-file-countdown-or-progress-bar-example#2336
Echo Targeting, Please Wait...
timeout /t 2
cls
Echo The launch will commence in T - 10 Seconds
mode con: cols=40 lines=4
color 4f
title Launch Missiles
echo                    0                100
SET /P var=Preparing Missiles For Launch : <NUL



set count=0
:loop
  PING -n 2 127.0.0.1 >NUL 2>&1
  call :printline .
  set /a count=count+1
  if %count%==20 goto finish
goto loop

:printline
 REM Print text passed to sub without a carriage return.
 REM Sets line variable in case %1 intereferes with redirect
 set line=%1
 set /p var=%line%<NUL
exit /b

:finish
cls
color 0f
title Finished
mode con: cols=80 lines=25
echo Missiles Launched!.
pause
exit /b


Last edited by jamied_uk on 7th August 2017, 22:17; edited 1 time in total
jamied_uk
jamied_uk
Admin

Posts : 3053
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Launch Missiles With Alexa & Web Extractor Example Empty Re: Launch Missiles With Alexa & Web Extractor Example

Post by jamied_uk 7th August 2017, 22:08

Page 1 Of Alexa Voice Commands

jnet.forumotion.com/t1537-amazon-alexa-opening-door-with-voice-command-with-web-extractor-free#2338

https://jnet.forumotion.com/t1537-amazon-alexa-opening-door-with-voice-command-with-web-extractor-free#2338
jamied_uk
jamied_uk
Admin

Posts : 3053
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Launch Missiles With Alexa & Web Extractor Example Empty Re: Launch Missiles With Alexa & Web Extractor Example

Post by jamied_uk 9th August 2017, 16:57

Mute PC With Alexa & Web Extractor



VBS Script

Code:
Set WshShell = CreateObject("WScript.Shell")
WshShell.SendKeys(chr(&hAD))


Phrase Command

Code:
Mute PC Audio
Phrase:Mute p. c.
NEWURL-100:C:\Scripts\vol_mute.vbs



Bonus Code

Turn Volume Up with vbs script


Code:
set WshShell = CreateObject("WScript.Shell")
WshShell.Run "%SystemRoot%\System32\SndVol.exe"
WScript.Sleep 1000
WshShell.AppActivate "Volume Mixer"
WshShell.SendKeys "{PGUP}" ' Turn the volume up by 20. If muted it will unmute it.
WshShell.SendKeys "%{F4}"  ' Alt+F4

Phrase Command


Code:
Turn UP PC Audio
Phrase:turn up p. c. volume
NEWURL-100:C:\Scripts\vol_up.vbs
jamied_uk
jamied_uk
Admin

Posts : 3053
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Launch Missiles With Alexa & Web Extractor Example Empty Re: Launch Missiles With Alexa & Web Extractor Example

Post by jamied_uk 9th August 2017, 17:21

Volume down may not work as expected due to the mixer selecting web browser instead of master mixer (for example)

Here is the code anyway

Phrase Command

Code:
Turn Down PC Audio
Phrase:turn down p. c. volume
NEWURL-100:C:\Scripts\vol_down.vbs

The vbs script


Code:
set WshShell = CreateObject("WScript.Shell")
WshShell.Run "%SystemRoot%\System32\SndVol.exe"
WScript.Sleep 1000
WshShell.AppActivate "Volume Mixer"
WshShell.SendKeys "{PGDN}" ' Turn the volume up by 20. If muted it will unmute it.
WshShell.SendKeys "%{F4}"  ' Alt+F4
jamied_uk
jamied_uk
Admin

Posts : 3053
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Launch Missiles With Alexa & Web Extractor Example Empty Re: Launch Missiles With Alexa & Web Extractor Example

Post by jamied_uk 13th August 2017, 15:35

Start Poker With Alexa Voice Command




Phrase Code

Code:
Play Poker
Phrase:poker
NEWURL-100:C:\Program Files (x86)\PacificPoker\bin\888poker.exe
jamied_uk
jamied_uk
Admin

Posts : 3053
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Launch Missiles With Alexa & Web Extractor Example Empty Re: Launch Missiles With Alexa & Web Extractor Example

Post by jamied_uk 15th August 2017, 13:23




Phrase Code


Code:
Send Text To LCD
Phrase:l. c. d.
Phrase:lcd
Phrase:how cd hello
Phrase:liquid crystal display
NEWURL-1:http://192.168.0.105/submit?text_display=[SEARCH]
jamied_uk
jamied_uk
Admin

Posts : 3053
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Launch Missiles With Alexa & Web Extractor Example Empty Re: Launch Missiles With Alexa & Web Extractor Example

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum