PDA

View Full Version : POWER POINT



Bruce
03-15-2003, 05:03 PM
I can't seem to make this fly! Here's what I have:


<IR_ACTIONS_LIST>
<Action name="Minimize">
<Type>3</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<HWnd>%MenuHWnd%</HWnd>
</Action>
<Action name="Execute">
<Type>8</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<FileName>%SrcDir%\powerpoint\PPVIEW32.EXE</FileName>
<CommandLine>%SrcDir%\powerpoint\road3.ppt</CommandLine>
<WorkingDir/>
<RunMode>0</RunMode>
<WaitForReturn>1</WaitForReturn>
</Action>
<Action name="Exit">
<Type>2</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
</Action>
</IR_ACTIONS_LIST>


I used this help file as a guide:

http://www.indigorose.com/ubbthreads/showthreaded.php?Cat=&amp;Board=KBAMS40&amp;Number=13590&amp;S earch=true&amp;Forum=KBAMS40&amp;Words=power%20point&amp;Match =Entire%20Phrase&amp;Searchpage=0&amp;Limit=25&amp;Old=allpost s&amp;Main=13590

Where am I blowing it?

Derek
03-15-2003, 06:41 PM
Hi Bruce

Would be nice to know where yu have those Actions in AMS and what isn't working about it?
What's happening your end when you try this?
Any error msgs etc?

Check the obvious first: file names are correct, location addresses are correct etc.

Bruce
03-17-2003, 04:40 PM
Hi Derek!
Well...It says thet the powerpoint viewer can't read thw file I have for it! Here's what I have.

<IR_ACTIONS_LIST>
<Action name="Execute">
<Type>8</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<FileName>%SrcDir%\pprun\ppview32.exe</FileName>
<CommandLine>%SrcDir%\pprun\present\PC.PPT</CommandLine>
<WorkingDir/>
<RunMode>0</RunMode>
<WaitForReturn>0</WaitForReturn>
</Action>
</IR_ACTIONS_LIST>

Derek
03-17-2003, 05:12 PM
It runs fine here Bruce. Check the address and filename are correct .. that your pointing AMS to the correct place etc.
Check also that the file will open ok in powerpoint... corrupt, perhaps?

Bruce
03-18-2003, 12:25 PM
Ahhh this sucks! (lol) It says: the "PowerPoint Viewer Can't Read C:\Documents and Settings\Bruce\My Documents\Autoplay Media Studio\pptest\Distrabution\pprun\EAT THIS!.ppt

It does work out side of AMS and I have gone so far as to start from scratch using the "How To" on the site!
Any other ideas? (I'm afraid it's going to be something really stupid on my part).

Worm
03-18-2003, 01:00 PM
I don't know if its a typo in your message, but Distrabution should be Distribution.

And if you putting in the whole path, use %SrcDir%\pprun\EAT THIS!.ppt instead

Bruce
03-18-2003, 01:10 PM
Hey Worm!
LOL yeah it was a typo and no i'm not inputing the whole path in. I am doing as you wrote "%SrcDir%\pprun\EAT THIS!" I did notice that when I tried the ver. # 3 executible it was doing the same thing. Very weird! Should I reinstall AMS?

ovm
03-18-2003, 04:22 PM
My opinion: ppview32.exe is still a 16 bit program. So it won't handle filenames >8 characters. And shure not a space in the middle.
Rename it and I think it will work.

Bruce
03-18-2003, 04:52 PM
Nope! I called it "eat.ppt" and it still wont work! Good idea though. :-)

Worm
03-18-2003, 07:19 PM
Are you ready for a laugh... /ubbthreads/images/icons/laugh.gif

Put quotation marks around your command line arguments like this:

<IR_ACTIONS_LIST>
<Action name="Execute">
<Type>8</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<FileName>%SrcDir%\pprun\ppview32.exe</FileName>
<CommandLine>"%SrcDir%\pprun\present\PC.PPT"</CommandLine>
<WorkingDir/>
<RunMode>0</RunMode>
<WaitForReturn>0</WaitForReturn>
</Action>
</IR_ACTIONS_LIST>

Corey
03-18-2003, 09:10 PM
/ubbthreads/images/icons/tongue.gif

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)