Quantcast
Channel: Adobe Community: Message List - InDesign
Viewing all articles
Browse latest Browse all 143383

Re: Create a custom action to a form field

$
0
0

Off the top of my head:

In InDesign you can get/set the name of a button...

1.jpg

 

...and export your data to a text file where each record (line) contains two/three/etc. fields: button name, trigger and the code for your custom action.

2.jpg

In Acrobat, you can read the data from the file converting them to array in which every element is two/three/etc. elements array: button name, trigger and the code. Then you can loop through each element getting buttons with getField method...

3.jpg

...end setting the action, like so:

4.jpg

The button with new action attached:

5.jpg


Viewing all articles
Browse latest Browse all 143383

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>