Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Closing The Active BackGlass In Visual PinBall Script  (Read 1369 times)

0 Members and 1 Guest are viewing this topic.

spacegoogie

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 77
  • Last login:June 30, 2012, 02:53:32 pm
Closing The Active BackGlass In Visual PinBall Script
« 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:
« Last Edit: June 01, 2010, 02:27:11 pm by spacegoogie »
Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
YouTube Channel: Arcades at home: http://www.youtube.com/spacegoogie