Jump to content



Photo
- - - - -

Backglass picture 2nd monitor for Arcade Cabinets


  • Please log in to reply
97 replies to this topic

#21 rossicomputers

rossicomputers

    Gustavo

  • Members
  • PipPipPipPip
  • 608 posts
  • Location:Boston MA USA

  • Flag: Brazil

  • Favorite Pinball: Black Knight 2000

Posted 18 February 2009 - 08:24 PM

Thanks Flying Dutchman...

I'm really apreciate all your help...

This is really help me alot..

APRECIATE!!!!





#22 rossicomputers

rossicomputers

    Gustavo

  • Members
  • PipPipPipPip
  • 608 posts
  • Location:Boston MA USA

  • Flag: Brazil

  • Favorite Pinball: Black Knight 2000

Posted 19 February 2009 - 07:58 PM

Give me a script error
line:29
(null)
line 168
variable is undefined 'controller'

how to fix that Flying Dutchman...

Need help...

Edited by rossicomputers, 19 February 2009 - 08:01 PM.


#23 GRONI

GRONI

    Pinball Recreator

  • VIP
  • 1,071 posts
  • Location:Germany

  • Flag: Germany

  • Favorite Pinball: TWD - LOTR - TSPP - POTC - AFM



Posted 19 February 2009 - 10:13 PM

well dutchman, it´s nice how people helps each other,
but just do me a favor. I get a little dissapointed when
people say that they make it that way on their own.
you used exactly the same lines for explaining that i
send you to show how i make that setup.
So when you help, be fair and tell who has made this
setup. Just for you as a tipp.
Anyway, good luck with MY Setup wink.gif

GRONI

My current VPX Tables I am working on:

 

Attack from Mars/Finished - The Walking Dead Pro/90% - The Lord of the Rings/75% - Family Guy/90% - The Simpsons Pinball Party/15%


#24 Flying Dutchman

Flying Dutchman

    Pinball Wizard

  • VIP
  • 3,255 posts

  • Flag: ---------

  • Favorite Pinball: Medieval Madness / Champion Pub



Posted 19 February 2009 - 11:03 PM

QUOTE (GRONI @ Feb 19 2009, 11:13 PM) <{POST_SNAPBACK}>
well dutchman, it´s nice how people helps each other,
but just do me a favor. I get a little dissapointed when
people say that they make it that way on their own.
you used exactly the same lines for explaining that i
send you to show how i make that setup.
So when you help, be fair and tell who has made this
setup. Just for you as a tipp.
Anyway, good luck with MY Setup wink.gif

GRONI


GRONI, I would never ever use someone elses knowledge to 'gain' appreciation from the community as like it was developped by my own ..

I simply do not have that knowledge (too dump!) and so I appreciate it VERY much if somebody (you in this particular case) helped me into
the right direction to get something done!

I will always mention this in my help to others .. because I simply love to share all I gain & all I know with other people .. that's what a good Forum is all about! dblthumb.gif

as a good example:
http://vpforums.org/...4...post&p=3391 - I've adjusted this one and added a line that you showed me how to make it work ..
and
http://www.pinballni...amp;postcount=1
and
http://www.aussiearc...amp;postcount=1


So please, if this particular incident looked like I've 'invented this wheel', which was never my intention in the first place, I would sincerely like to apologize to you ..

Edited by Flying Dutchman, 19 February 2009 - 11:19 PM.

'Flying Dutchman'

In need for a Backglass or 'Active Backglass / UVP' please 'click' on below and visit the complete revised website at:
Posted Image

#25 rossicomputers

rossicomputers

    Gustavo

  • Members
  • PipPipPipPip
  • 608 posts
  • Location:Boston MA USA

  • Flag: Brazil

  • Favorite Pinball: Black Knight 2000

Posted 20 February 2009 - 01:01 AM

Hello Flying Dutchman,

I still geting the same script error above..

Any ideas...??

Apreciate...

#26 GRONI

GRONI

    Pinball Recreator

  • VIP
  • 1,071 posts
  • Location:Germany

  • Flag: Germany

  • Favorite Pinball: TWD - LOTR - TSPP - POTC - AFM



Posted 20 February 2009 - 04:37 PM

No Problem Dutchman. Nice to read this. I like to share evrything too, and give that knowledge i have to everbody.
This is what makes this community so good.

So rossicomputers, do you still have Problems with the Script?
First of all i would like to know what Fileending do your PowerPoint have? pps,ppt or ppsx?
then it would be great if you can post a screen of how your Script look like.

GRONI

My current VPX Tables I am working on:

 

Attack from Mars/Finished - The Walking Dead Pro/90% - The Lord of the Rings/75% - Family Guy/90% - The Simpsons Pinball Party/15%


#27 rossicomputers

rossicomputers

    Gustavo

  • Members
  • PipPipPipPip
  • 608 posts
  • Location:Boston MA USA

  • Flag: Brazil

  • Favorite Pinball: Black Knight 2000

Posted 20 February 2009 - 09:19 PM

No lucky at all

Run the script with:

Option Explicit
Dim ppsx
Set ppsx = CreateObject("wscript.shell")
ppsx.Run("C:\Program Files\Pinball\Backdrop\Black Rose.pptx")
Randomize

Give me a script error
line:29
(null)
line 168
variable is undefined 'controller'

my powerpoint file is pptx extension

What's wrong i did...???


#28 GRONI

GRONI

    Pinball Recreator

  • VIP
  • 1,071 posts
  • Location:Germany

  • Flag: Germany

  • Favorite Pinball: TWD - LOTR - TSPP - POTC - AFM



Posted 20 February 2009 - 10:51 PM

QUOTE (rossicomputers @ Feb 20 2009, 10:19 PM) <{POST_SNAPBACK}>
No lucky at all

Run the script with:

Option Explicit
Dim ppsx
Set ppsx = CreateObject("wscript.shell")
ppsx.Run("C:\Program Files\Pinball\Backdrop\Black Rose.pptx")
Randomize

Give me a script error
line:29
(null)
line 168
variable is undefined 'controller'

my powerpoint file is pptx extension

What's wrong i did...???


please post the whole script, or the Lines 29 and 168

My current VPX Tables I am working on:

 

Attack from Mars/Finished - The Walking Dead Pro/90% - The Lord of the Rings/75% - Family Guy/90% - The Simpsons Pinball Party/15%


#29 rossicomputers

rossicomputers

    Gustavo

  • Members
  • PipPipPipPip
  • 608 posts
  • Location:Boston MA USA

  • Flag: Brazil

  • Favorite Pinball: Black Knight 2000

Posted 20 February 2009 - 11:39 PM


Option Explicit
Dim pptx
Set pptx = CreateObject("wscript.shell")
pptx.Run("C:\Program Files\Pinball\Backdrop\Black Rose.pptx") LINE 29
Randomize


'On Error Resume Next
With Controller LINE168
.GameName = cGameName
If Err Then MsgBox "Can't start Game" & cGameName & vbNewLine & Err.Description : Exit Sub

.SplashInfoLine = cCredits
.HandleMechanics = 0
.ShowDMDOnly = True
.ShowFrame = False
.ShowTitle = False
.Run
If Err Then MsgBox Err.Description
End With
On Error Goto 0


Thats 2 lines i getting script error...



#30 Steely

Steely

    Enthusiast

  • Members
  • PipPipPip
  • 121 posts
  • Favorite Pinball: one that works

Posted 21 February 2009 - 12:06 AM

QUOTE (rossicomputers @ Feb 20 2009, 05:39 PM) <{POST_SNAPBACK}>
Option Explicit
Dim pptx
Set pptx = CreateObject("wscript.shell")
pptx.Run("C:\Program Files\Pinball\Backdrop\Black Rose.pptx") LINE 29...

Your system doesn't seem to recognize the .pptx file type.

Without vp.. If you just double click on the Black Rose.pptx file, does it open on it's own?


#31 rossicomputers

rossicomputers

    Gustavo

  • Members
  • PipPipPipPip
  • 608 posts
  • Location:Boston MA USA

  • Flag: Brazil

  • Favorite Pinball: Black Knight 2000

Posted 21 February 2009 - 04:20 AM

Yeah...
Just right click mouse and Show...

It's showed ok... Alone

What's gonna be???

#32 Steely

Steely

    Enthusiast

  • Members
  • PipPipPip
  • 121 posts
  • Favorite Pinball: one that works

Posted 21 February 2009 - 09:19 AM

QUOTE (rossicomputers @ Feb 20 2009, 10:20 PM) <{POST_SNAPBACK}>
Yeah...
Just right click mouse and Show...

It's showed ok...
That's good to know, but what happens when you double left click?

or you may have to add the "Show" command.
pptx.Run("C:\Program Files\Pinball\Backdrop\Black Rose.pptx /Show")
or
pptx.Run("powerpoint.exe /Show / C:\Program Files\Pinball\Backdrop\Black Rose.pptx ")

I do not have powerpoint installed so you will have to experiment yourself.

Edited by Steely, 21 February 2009 - 09:39 AM.


#33 GRONI

GRONI

    Pinball Recreator

  • VIP
  • 1,071 posts
  • Location:Germany

  • Flag: Germany

  • Favorite Pinball: TWD - LOTR - TSPP - POTC - AFM



Posted 21 February 2009 - 10:15 AM

QUOTE (Steely @ Feb 21 2009, 10:19 AM) <{POST_SNAPBACK}>
That's good to know, but what happens when you double left click?

or you may have to add the "Show" command.
pptx.Run("C:\Program Files\Pinball\Backdrop\Black Rose.pptx /Show")
or
pptx.Run("powerpoint.exe /Show / C:\Program Files\Pinball\Backdrop\Black Rose.pptx ")

I do not have powerpoint installed so you will have to experiment yourself.


Just rename "Black Rose.pptx" to Black_Rose.pptx"

Did you add the line that put the dmd on the second monitor? I guess yes, but you put it at the wrong place in the Script

My current VPX Tables I am working on:

 

Attack from Mars/Finished - The Walking Dead Pro/90% - The Lord of the Rings/75% - Family Guy/90% - The Simpsons Pinball Party/15%


#34 Flying Dutchman

Flying Dutchman

    Pinball Wizard

  • VIP
  • 3,255 posts

  • Flag: ---------

  • Favorite Pinball: Medieval Madness / Champion Pub



Posted 21 February 2009 - 11:18 AM

Please find below a VBS script (based on Powerpoint 2007 US language) that will shut down the powerpoint automatically by killing the process, based on GRONI's idea .. dblthumb.gif

' ProcessKillLocal.vbs
' VBScript to kill Powerpoint Backglass on 2nd Screen
' Based on the idea and good advise of GRONI
' Originally from author Guy Thomas adjusted by Flying Dutchman
' Version 1.0 - February 2009
' ------------------------ -------------------------------'
Option Explicit
Dim objWMIService, objProcess, colProcess
Dim strComputer, strProcessKill
strComputer = "."
strProcessKill = "'POWERPNT.EXE'"

Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" _
& strComputer & "\root\cimv2")

Set colProcess = objWMIService.ExecQuery _
("Select * from Win32_Process Where Name = " & strProcessKill )
For Each objProcess in colProcess
objProcess.Terminate()
Next
WSCript.Echo "Just killed process " & strProcessKill _
& " on " & strComputer
WScript.Quit
' End of WMI Example of a Kill Process


Also the .vbs scipt downloadable link:
AutoQuit Powerpoint

The only thing that is needed now is to fire off this script as soon as VP is terminated.
Groni could you please show us how and where to do this? rolleyes.gif

Cheers,

Edited by Flying Dutchman, 21 February 2009 - 12:09 PM.

'Flying Dutchman'

In need for a Backglass or 'Active Backglass / UVP' please 'click' on below and visit the complete revised website at:
Posted Image

#35 rossicomputers

rossicomputers

    Gustavo

  • Members
  • PipPipPipPip
  • 608 posts
  • Location:Boston MA USA

  • Flag: Brazil

  • Favorite Pinball: Black Knight 2000

Posted 21 February 2009 - 03:47 PM

I Tried all the options below:

put /show

rename Black_rose

All give the same errors

No lucky at all

Run the script with:

Option Explicit
Dim ppsx
Set ppsx = CreateObject("wscript.shell")
pptx.Run("C:\Program Files\Pinball\Backdrop\Black_Rose.pptx /Show")
Randomize

Give me a script error
line:29
(null)
line 168
variable is undefined 'controller'

What's wrong i did...???


#36 rossicomputers

rossicomputers

    Gustavo

  • Members
  • PipPipPipPip
  • 608 posts
  • Location:Boston MA USA

  • Flag: Brazil

  • Favorite Pinball: Black Knight 2000

Posted 21 February 2009 - 09:24 PM

Please GRONI or Flying Dutchman...

Need help...

#37 rossicomputers

rossicomputers

    Gustavo

  • Members
  • PipPipPipPip
  • 608 posts
  • Location:Boston MA USA

  • Flag: Brazil

  • Favorite Pinball: Black Knight 2000

Posted 22 February 2009 - 02:56 PM

I Tried all the options below:

put /show

rename Black_rose

All give the same errors

No lucky at all

Run the script with:

Option Explicit
Dim ppsx
Set ppsx = CreateObject("wscript.shell")
pptx.Run("C:\Program Files\Pinball\Backdrop\Black_Rose.pptx /Show")
Randomize

Give me a script error
line:29
(null)
line 168
variable is undefined 'controller'

What's wrong i did...???

#38 TheMcD

TheMcD

    Pinball Wizard

  • VPF Staff
  • 2,461 posts
  • Location:Bavaria

  • Flag: Germany

  • Favorite Pinball: Frankenstein, Safecracker, Big Hurt, Four Horsemen, Tommy, X-Files

Contributor

Posted 22 February 2009 - 03:05 PM

Can you give me a link to the table you downloaded? I want to take a look at the unmodified script.

The McD

VPF's resident pinball music fanatic.

The McD's Pinball Music Emporium: YouTube /// MediaFire (old tracks) /// Mega (new tracks)


#39 rossicomputers

rossicomputers

    Gustavo

  • Members
  • PipPipPipPip
  • 608 posts
  • Location:Boston MA USA

  • Flag: Brazil

  • Favorite Pinball: Black Knight 2000

Posted 22 February 2009 - 03:18 PM

I just need the setup backdrop picture to 2nd monitor using powerpoint..


GIve the code above...

#40 rossicomputers

rossicomputers

    Gustavo

  • Members
  • PipPipPipPip
  • 608 posts
  • Location:Boston MA USA

  • Flag: Brazil

  • Favorite Pinball: Black Knight 2000

Posted 22 February 2009 - 05:29 PM

I Tried all the options below:

put /show

rename Black_rose

All give the same errors

No lucky at all

Run the script with:

Option Explicit
Dim ppsx
Set ppsx = CreateObject("wscript.shell")
pptx.Run("C:\Program Files\Pinball\Backdrop\Black_Rose.pptx /Show")
Randomize

Give me a script error
line:29
(null)
line 168
variable is undefined 'controller'

What's wrong i did...???