1. I do not know how apply a paragraph or character style to a specific character or paragraph of a story.
// apply paragraph style to story Successful.title.parentStory.texts.item(0).applyParagraphStyle(mytitle, true);
// Need to apply paragraph or character style to my contentvar title = "This is a headline";var body = "/rThis is the body"title.contents = title + body; 2. I can place an image in a certain rectange but can't figure out how to set the dimensions / scaling I cannot find any documentation on the place() or fit() functions.
r = app.activeDocument.pages[thispage].rectangles.add();r.geometricBounds = [202, 27, 261, 281];r.place (File (Folder.desktop + "/599383.jpg")), false;
Thanks in advance for any help.
Retrieving data ...