Copy link to clipboard
Copied
I would like to put two images side by side and give the viewer a choice to which they want. They would choose by clicking either of the images which then becomes a checkbox. It would be perferrable for a the check mark to appear over the image, leaving the image to still be seen.
I have not been able to figure this out on my own. Any help is much appreciated.
Copy link to clipboard
Copied
Several years ago there was a bug in Acrobat (for Macs) where the No Color option would not appear. It was since solved but it seems you still use that buggy version.
Copy link to clipboard
Copied
Execute the scripts in the Javascript console or use a action.
Copy link to clipboard
Copied
I thought that I did "execute the scripts" but I couldn't be sure, because I never saw anything happen. Is there a certain command to make the "execution" happen? All I did was hit return. I did ask earlier if there was anything special I had to do to complete the script.
Copy link to clipboard
Copied
Select the script in the console and press cmd+enter.
Copy link to clipboard
Copied
You see? That part of the instruction was not in any of the posts and this is what I needed to know before I could answer if I had executed the scripts. No, I did not select the scripts and then press cmd+enter. All I did was make sure my cursor was at the end of the script and then I pressed enter. Like I had been saying, I do NOT do code. I am severely dyslexic and code does not mix.
So, days later I finally learned how to "execute" the script. Like I had mentioned before, the only way I knew before to execute the script would be with a gun and I do not own one.
Copy link to clipboard
Copied
You'll find a video here on using the console window:
https://www.pdfscripting.com/public/Free_Videos.cfm#JSIntro
Sorry I didn't post this earlier. However, I'm sure I've already posted it at least a few hundred times on the forum over the last 10 years.
Copy link to clipboard
Copied
If you want to change between white/transparent when checkbox is checked, as 'Mouse UP' event of checkbox use this:
event.target.fillColor = event.target.value == "Off" ? color.white : color.transparent;
Find more inspiration, events, and resources on the new Adobe Community
Explore Now