Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Opening a PPT Document using a link/button in PDF

New Here ,
May 30, 2020 May 30, 2020

I have a PDF with file attachments of several different file types. The attachments need to open from a button or link click. I have done it with Word using the JavaScript action but I am having no luck with a .pptx  PowerPoint Document. Can any one help in providing instructions which would work for me? Am I missing something? 

 

thanks

TOPICS
General troubleshooting
690
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 30, 2020 May 30, 2020

What code did you use? What happens when you use it on a .pptx file?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 30, 2020 May 30, 2020

I did  “Add Button”  Select the “Actions” tab /“Mouse Up” action (2), select to run a JavaScript (3) and click on the “Add” button (4). This will bring up the JavaScript editor- script used- Doc.exportDataObject() method. -exportDataObject({ cName: "attachment.docx", nLaunch: 2 }); and Ok

-nothing seems to launch after it was attempted.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 30, 2020 May 30, 2020

Open the JS Console (Ctrl+J) and check if there are any error messages in it.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 30, 2020 May 30, 2020
LATEST

Oh my Gosh when I copied and reposted the script it worked this time!!!! Thanks for persevering with me. I was ready to quit.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines