PDA

View Full Version : Adding a PDF File


JonBrookshire
12-16-2002, 03:46 PM
Sorry to ask such a basic question -

I have my autoplay menu designed. I have load the PDF viewer and it works whe I preview. What do I need to do so my PDF file launches automatically? I have the file in the same directory as my Acrobat Reader (ACRORD32) file. I don't think its this hard is it?

Jon

kpsmith
12-17-2002, 08:05 AM
You need to put the file path and name as a command line argument in you action to execute execute acrord32.exe


Try an action like this ( Copy and paste whats below into AMS)


<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%\Acrobat\Viewer\Reader\AcroRd32.exe</FileName>
<CommandLine>%SrcDir%\Acrobat\ASE CorrelationChart.pdf</CommandLine>
<WorkingDir>%SrcDir%\Acrobat\Viewer\Reader</WorkingDir>
<RunMode>2</RunMode>
<WaitForReturn>0</WaitForReturn>
</Action>
</IR_ACTIONS_LIST>