Announcement

Collapse
No announcement yet.

Adding a PDF File

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Adding a PDF File

    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

  • #2
    Re: Adding a PDF File

    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>

    Comment

    Working...
    X