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

Programmatically enabling a button to click itself when PDF is opened

New Here ,
Sep 13, 2024 Sep 13, 2024

I have written JavaScript code for a button with a "Mouse Up" trigger and "Run a JavaScript" action. Devanga36765247tgxw_0-1726212453645.png

This button performs the required actions after clicking on it. 

I want to write another code which programatically enables this click action every time the PDF is opened without clicking on the button with my mouse.

How do I do this? Any ideas?

 

TOPICS
How to
418
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 ,
Sep 13, 2024 Sep 13, 2024

in the future, to find the best place to post your message, use the list here, https://community.adobe.com/

p.s. i don't think the adobe website, and forums in particular, are easy to navigate, so don't spend a lot of time searching that forum list. do your best and we'll move the post (like this one has already been moved) if it helps you get responses.



<"moved from using the community">
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 ,
Sep 13, 2024 Sep 13, 2024

May be that you can use the script at document open.

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 ,
Sep 13, 2024 Sep 13, 2024
LATEST

You must use a "Document level script", see: https://www.pdfscripting.com/public/Document-Level-Scripts.cfm


Acrobate du PDF, InDesigner et Photoshopographe
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