I am importing styles from a separate .indd and applying them with the function newTextFrame.appliedObjectStyle The Object Style has the “Apply next Paragraph Style” Option enabled, but when i execute my script, only the first paragraph style is applied. When i reapply the object style after my script has finished, it is working. I tried adding .applyNextParagraphStyleor .enableParagraphStyle but it
Tag: adobe-indesign
InDesign script to change the style of the first letter of a line
I am trying to write a script for InDesign to find the first character of every line of every paragraph, and change it to another color if it is a vowel. Since it is my very first effort in InDesign scripting, I downloaded Adobe’s Scripting Guide and managed so far to do the following: At first I create the character
Copy Images instead of Moving them | InDesign Javascript
I have written an InDesign javascript script that moves me all images (respectively the frames of the images) into a new layer “Webbilder” created by the script (if not existing). How can I customize it so that the images are not moved but copied? This is my current script: Does anyone have any ideas, or do I need to change
RegExp matching only the first two entries within a capture group (whatever they happen to be)
I’m currently working on an Adobe inDesign script, part of which is a function that finds measurements and picks them apart. I have a set of regexes that are run first using inDesign’s findGrep() (not really relevant here), and then using the basic javascript exec() (because I need to do things with capture groups). Now, I know that there are
How to link to another page with a back button within the frame
I need to have a link to another website with a back button on that website (which I don’t own) back to my site. I initially thought of doing this by using and iFrame and then using z-index to put a div onto of this. However I kept getting the message: Please note that the user won’t have access to