Acrobat User Community Forums

You are not logged in.     Log in to your AUC account.     Don't have an account? Sign up today

#1 2007-06-14 09:11:51

swt__100
Member
Registered: 2007-06-12
Posts: 0

internal attachment

i want to open an attachment which is on the internal pdf.
i`v tried
app.openDoc("bass 8kHz 8bit.wav", this);
and
this.openDataObject("bass 8kHz 8bit.wav");
they all doesn't work. is there any way to use a internal attachment in pdf.


My Product Information:
Acrobat Pro 8 / Windows

Offline

 

#2 2007-06-22 00:56:32

thomp
Member

Registered: 2007-04-23
Posts: 1002

Re: internal attachment

this.openDataObject is only for PDF files.  Use:

this.getDataObjectContents() to get the file's byte level data. 

Use "this.dataObjects" array to get the name of the attachment.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson

AcrobatUsers.com  >>  User Groups • News • Events • Articles • Blogs • How To • Resources • Member Log in