Hello, new to making scripts for Launchbox i am trying to launch XArcade Xinput with a few of my games and for the life of me i cannot figure out how to make the scripts work. I found these on a website but they dont go into much detail other than saying that you have to make a .bat and .exe. any help would be appreciated 
 
	 
 
	 
 
	 
 
	 
 
	$Esc:: 
	{ 
	Process, Close, XArcade_XInput.exe 
	}
 
	Escape:: 
	Send !{f4}
 
	if WinExist("LaunchBox Game Startup") 
	{ 
	WinActivate 
	WinWaitClose, LaunchBox Game Startup 
	}
 
	if WinExist("LaunchBox") 
	{ 
	WinActivate 
	}
 
	if WinExist("LaunchBox Big Box") 
	{ 
	WinActivate 
	}
 
	ExitApp 
	return 
	 
 
	 
 
	 
 
	 
 
	 
 
	 
 
	 
 
	@echo off
 
	   start auto_close_xinput.exe 
	   start XArcade_XInput.exe --skip-ui 
	    
	@echo on