Script help for outlining text and embedding links WHEN selected
- June 11, 2021
- 1 reply
- 1798 views
So, I'm creating modifications to a script that was written already. It shows a prompt and has checkboxes. It's over my head, but I feel like I'm close.
The main things I need help understanding are:
1. How do I get the w.btns.btn2.onClick to perform 3 functions in order?
2. How do I get the embedLinks function to execute IF the checkbox is selected and get it to repeat on all placedItems? I can get it to embed the first image, but not all of them.
3. How do I get the outlineText to grab all text frames? For some reason it's only outlining the first layer.
4. What's wrong with my var bleedVal that it's not working in the bleedOffsetRect array?
I'm getting things to work part-way (for 1 layer or something) but I just can't quite figure out how to get it all to work together. Any help is greatly appreciated!
