Planet PDF Forum Archive

Planet PDF ForumWowsers! This is page is old, head to the LIVE Planet PDF Forum. It features more than 10 conferences, covering everything from beginner to in-depth developer and pre-press discussions. If you wish to continue... one & two archive covers 1999-2011 (160,000 pages).


New Forum | Previous | Next | (P-PDF) Developers


Topic: Guidance using DirectOS in Director CD to open PDFs
Conf: (P-PDF) Developers, Msg: 120058
From: MsPepperMint
Date: 10/12/2004 04:24 AM

I found have a lot of information on using the Buddy API to open PDFs. I have inherited an application that uses Direct OS xtra and other xtras to open pdf files using Adobe Acrobat (the pdf is opened in a new window - for section 508 compliance purposes) and open active URLs (also in a new window - 508 compliance purposes).

I have received the “final copy files” (executable and supporting files -the dxr, dir, xtras, and media files) created by the previous developer and files that are called "working files" (these contain the dir files, media files, swfs, and xtras)

I have a strong suspicion that the "working files" are incomplete and some the required xtras are not listed. Since the dxr file is designed to protect the code, I am not able to determine which xtras or APIs the previous developer actually used.

From my ongoing research, it seems that the Direct OS xtra was used to open the PDF. The executable (dxr version) application generates a list of pdfs that ARE accessible and DO open by clicking the link and section 508 accessible by using voiceSpeak.

However when I use the “final copy files” to re-create the executable, the links for pdfs and the URLs DO NOT open. Including all the xtras before publishing the movie is the only change I made to the “final copy files” for the executable.

Below is the sample of code that is called to open the pdfs:
(typed the code to be formatted correctly, but this forum flushes all lines to the left - sorry about the formatting)
on openPDF myPDF
docPath = the moviepath & "pdfs\foldername\" & myPDF
if accessible then
pdfPath = dosFindApp("pdf")
if pdfpath = "" then
voiceSpeak("Adobe Acrobat could not be found. Please visit the Adobe website at www.adobe.com and download the Adobe Acrobat Reader to access this file.")
exit
end if
end if
open docPath with pdfPath
end

Any suggestions are greatly appreciated!!! - Trying to resolve
this issue by 10/13/2004 - to open the PDFs and URLs from the re-created executable.

Thanks In Advanced!!!

MsPepperMint


PDF In-Depth Free Product Trials Ubiquitous PDF

Debenu Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link...

Download free demo

Debenu PDF Tools Pro

It's simple to use and will let you preview and edit PDF files, it's a Windows application that makes...

Download free demo

Back to the past, 15 years ago! Open Publish 2002

Looking back to 2002, it's amazing how much of the prediction became a reality. Take a read and see what you think!

September 14, 2017
Platinum Sponsor





Search Planet PDF
more searching options...
Planet PDF Newsletter
Most Popular Articles
Featured Product

Debenu PDF Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link control. Take Acrobat to the next level.

Features

Adding a PDF Stamp Comment

OK, so you want to stamp your document. Maybe you need to give reviewers some advice about the document's status or sensitivity. This tip from author Ted Padova demonstrates how to add stamps with the Stamp Tool along with related comments.