Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2002
    Posts
    5

    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. #2
    Join Date
    Jul 2000
    Location
    NY
    Posts
    332

    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>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts