You can grab a ZIP file which contains all of these and simply choose whatever you want to add:
You'll also need NirCMD, SetVol and some custom BAT files (created by SimplyAName in the other thread). You can download these as one ZIP file and place them in C:\GoogleHome
http://lipsgaming.com/shared/Push2Run/GoogleHome.zip
Notes:
- Most of these commands utilise the 'sendkey' function in NirCMD, essentially sending keypresses from your keyboard. It's fairly straight forward to add your own, see the link below for the available key codes.
- The $ symbol means you can use a variable, i.e. 'volume 75', 'shut down after 10', 'kill chrome'
- The YouTube media controls work if YouTube is open and the main window, however you can use the 'youtube play' command regardless of what you have on your screen. (i.e. 'youtube play michael jackson smooth criminal)
- Screenshots will save in ..\My Pictures\Screenshots
- The Winamp command will play any song you have queued in your playlist. You need to make sure you have Global Hot Keys enabled in your preferences.
Useful Links:
Microsoft Key Codes for use with NirCmd: https://docs.microsoft.com/en-us/window ... -key-codes
YouTube hotkeys: https://support.google.com/youtube/answ ... 06?hl=enGB
Other Cards:
Change your Audio Device: https://www.push2run.com/phpbb/viewtopic.php?f=9&t=628
---------------------------------------------------------------------------------------------
Additional programs and BAT files, if you downloaded the GoogleHome.zip you do NOT need these:
SetVol: https://www.rlatour.com/setvol/
NirCmd: http://www.nirsoft.net/utils/nircmd.html
BAT Files:
Shutdown.bat:
set /a Sec= %1 60
shutdown.exe s t %Sec%
Sleep.bat:
set /a Milli= %1 60000
nircmd cmdwait %Milli% standby force
winamp.bat:
set MyVariable=%1
nircmd clipboard set %MyVariable%
nircmd sendkeypress CTRL+ALT+J
nircmd cmdwait 500 sendkeypress CTRL+V
nircmd cmdwait 500 sendkey 0x0D press
---------------------------------------------------------------------------------------------
Thank you