Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: spacegoogie on June 01, 2010, 06:37:08 am

Title: Closing The Active BackGlass In Visual PinBall Script
Post by: spacegoogie on June 01, 2010, 06:37:08 am
I have tried everything to close the active backglass in visual PinBall. What do I need to add to the script to do this?, because everything I have tried is not working. :banghead:
This is what  I'm using at the end of The Flintstones table script:



Dim ShellCom
 Set ShellCom = CreateObject("wscript.shell")
 ShellCom.Run("C:\Backglass\ActiveBackglass-Flintstones-Backglass-Final.EXE /monitor=2")
 Set ShellCom = nothing
 
 Controller.SetDisplayPosition 540, -240, GetPlayerHWnd
 
 'End Sub
 
 Sub Table1_Exit()
 Dim ShellCom
 Set ShellCom = CreateObject("wscript.shell")
 ShellCom.Run("%COMSPEC% /C taskkill /f /im NameOfTheCreatedFile.EXE")
 Set ShellCom = nothing
 End Sub






Thanks Guys! :cheers: