PDA

View Full Version : Powerpoint



andypitt
November 24th, 2008, 06:20 AM
Hi,

I am trying to control powerpoint via netremote, I am using the default gml included with girder. Girder recieves an event and starts Powerpoint although when I then send a PLAY event the Start Slideshow action does not work. I can test this action and it works fine, if I then send NEXT/PREVIOUS when in a slideshow I can control it fine. Why will the slideshow not begin?

Rob H
November 24th, 2008, 09:53 AM
Is NetRemote running on the same PC as Powerpoint? If so then it sounds as though PowerPoint doesn't have focus and there is a window conditional in the GML that's stopping it from processing the event.

andypitt
November 24th, 2008, 10:02 AM
Netremote is running on a pocket PC!

Rob H
November 24th, 2008, 01:27 PM
Can you post the events shown in the logger when you press the play and next buttons?

andypitt
November 26th, 2008, 07:14 AM
Time Date Source Details Payloads
12:33:00:031 11/25/2008 TaskSwitch girder.exe
12:32:53:718 11/25/2008 TaskSwitch notepad.exe
12:32:47:593 11/25/2008 TaskSwitch girder.exe
12:32:02:968 11/25/2008 TaskSwitch notepad.exe
12:32:02:906 11/25/2008 TaskCreate notepad.exe [CREATE]
12:31:43:437 11/25/2008 TaskSwitch Explorer.EXE
12:31:37:703 11/25/2008 TaskSwitch girder.exe
12:31:37:468 11/25/2008 TaskCreate powerpnt.exe [CLOSE]
12:31:26:859 11/25/2008 TaskSwitch powerpnt.exe
12:31:26:828 11/25/2008 TaskCreate powerpnt.exe [CLOSE]
12:31:26:812 11/25/2008 TaskSwitch powerpnt.exe
12:31:26:687 11/25/2008 Next OkPowerpoint:\Controls\Next
12:31:26:593 11/25/2008 Communication Server NEXT 2576 192.168.0.3
12:31:24:890 11/25/2008 Next OkPowerpoint:\Controls\Next
12:31:24:859 11/25/2008 Communication Server NEXT 2576 192.168.0.3
12:31:21:250 11/25/2008 TaskSwitch powerpnt.exe
12:31:20:984 11/25/2008 TaskCreate powerpnt.exe [CREATE]
12:31:20:750 11/25/2008 TaskSwitch powerpnt.exe
12:31:15:453 11/25/2008 TaskSwitch powerpnt.exe
12:31:15:156 11/25/2008 TaskSwitch girder.exe
12:31:09:484 11/25/2008 Communication Server PREVIOUS 2576 192.168.0.3
12:31:08:953 11/25/2008 Communication Server NEXT 2576 192.168.0.3
12:31:08:078 11/25/2008 Communication Server PLAY 2576 192.168.0.3
12:31:05:812 11/25/2008 Communication Server PREVIOUS 2576 192.168.0.3
12:31:04:515 11/25/2008 Communication Server NEXT 2576 192.168.0.3
12:31:02:953 11/25/2008 Communication Server PLAY 2576 192.168.0.3
12:30:54:359 11/25/2008 TaskSwitch girder.exe
12:30:51:687 11/25/2008 TaskSwitch powerpnt.exe
12:30:51:593 11/25/2008 TaskCreate powerpnt.exe [CREATE]
12:30:49:593 11/25/2008 Powerpoint Exists? Ok: Window Exists.Powerpoint:\Startup\Powerpoint Exists?
12:30:49:593 11/25/2008 Start Powerpoint Lua Success (Nothing Triggered)Powerpoint:\Startup\Start Powerpoint\Start Powerpoint
12:30:48:859 11/25/2008 Enable Powerpoint Controls Node Enabled.Powerpoint:\Startup\Start Powerpoint\Enable Powerpoint Controls
12:30:48:812 11/25/2008 Communication Server Powerpoint 2576 192.168.0.3



To enerate the log above I completed the following process

Start Powerpoint via Netremote - (Success)
Send PLAY, NEXT, PREVIOUS Commands - (Failed to start slideshow)
Select Powerpoint on pc using mouse
Start Slideshow using mouse
NEXT & PREVIOUS commands now work in powepoint sent from NETREMOTE
Close powerpoint

Rob H
November 26th, 2008, 10:33 AM
Sounds like Powerpoint didn't have focus for some reason - how long did you wait after starting it via NetRemote/Girder before pressing Play?

You may need to have Girder change focus to PowerPoint after it starts it.

andypitt
November 26th, 2008, 10:40 AM
I have tried it straight after and after 5 mins etc.

Rob H
November 27th, 2008, 12:01 AM
Try using a Windows|Focus action on the powerpoint window

andypitt
November 27th, 2008, 11:59 PM
I have tried setting windows focus to powerpoint and it still does not work!
I am at a loss now

Rob H
November 28th, 2008, 12:25 AM
You may have to try different subwindows of the main powerpoint window to get this to work

andypitt
November 28th, 2008, 02:30 AM
I have now tried every window and still can't get it to work! The only time the action runs is when I start the slideshow manualy and then send the PLAY command via netremote, I can see this from the logs

Rob H
November 28th, 2008, 07:42 AM
Can you try disabling or deleting the window conditional that's on the Powerpoint\Control group?

andypitt
November 30th, 2008, 11:56 PM
Now works! Thanks for your help