enabling GREPS without deleting in the styles
I am using about 15 greps in 20 different paragraph styles in a document. Therfore indesign work very slowly especially when i open a textframe. It waits for several seconds.The question is this, is...
View ArticleRe: Naming PDF using para.style applied
Atlast I found out, the only thing i need is, if the same style repeated in other page, the pdf is overrited. as per Vam's advice. So how can i solve this.. Please for(var p = 0; p <...
View ArticleRe: Naming PDF using para.style applied
Shilpa, congratulations! your problem is easily fixed by adding the page number to the pdf name: app.activeDocument.exportFile(ExportFormat.pdfType, File("/Users/xxxx/Desktop/Local/untitled folder/" +...
View ArticleRe: Naming PDF using para.style applied
thanks VAM. And also i'm trying to get the pages without the "tile" header, exported within thescript. thanks for the support VAM.... your hint saves my time lot. Shil....
View ArticleGroup selected objects, then rename group?
I'm having the hardest time figuring out how to perform the actions in the title of this discussion. I'd love to let the user select a bunch of objects on a page, and then have a script that: Groups...
View ArticleAdding bookmarks with script
Hello all. Writing a script to add bookmarks to an InDesign file (CS6) and I see that in scripting I have to add a hyperlink destination, before I can add a bookmark. That destination then shows up in...
View ArticleRe: enabling GREPS without deleting in the styles
Make a duplicate of the paragraph style, remove the grep and use it until you are ready to change over to the original style.
View ArticleRe: Group selected objects, then rename group?
@Cliff – you did not post any code, so it is not possible to know where you misinterpreted the DOM or basic JavaScript (ExtendScript). That's not good… However, let's walk through a possible solution:...
View ArticleUse of 'const' in ExtendScript
Let's start with an example. const a = 1; a = 2; $.writeln(a); // Prints 1. Here we can see that 'const' does indeed work. If you want to run this more than once in the ExtendScript Toolkit, be sure to...
View ArticleAligning Objects to X-Coordinates
Hi everyone, I'm working on a project right now that requires me to select all elements on a page, and then align that selection to a x-axis coordinate; I know there's a 'SelectObjects' script that...
View ArticleInteracting page when Alert is on
Hi Forum, I'm wondering if its possible to do this. I use to find something and Alert if found and continue to find next. Instead: Find the condition, then PASS at that stage (staying the alert...
View ArticleAdding Processing Instruction in the insertionpoint
Hi, I want insert processing instruction to the insertionpoint[0], is that possible? something like this, var PI = app.selection[0].insertionPoints[0];PI.xmlInstructions.add("target", "data"); Vandy
View ArticleRe: move the geometricBounds using condition
Hi Forum, This is what I'm trying to do.... I may have confused in previuos posts. That why posting clear picture.. I m trying to change only the Bounds touching Margins and extend to Bleed. Dont move...
View ArticleRe: Adding Processing Instruction in the insertionpoint
is the document already tagged? doc.xmlInstructions.add("target","data", PI);
View ArticleRe: Interacting page when Alert is on
you can... sort of.. but you must run in a targetenginedon't use the standard javascript alert, but a custombuilt, ScriptUI panel, to show said alert.
View ArticleRe: Adding Processing Instruction in the insertionpoint
Hi Vamitul, Thanks for your reply. Yes the document was already tagged? And your code place the PI in the end of the xml structure. I want the processing instruction in the insertionpoint or selected...
View ArticleRe: Aligning Objects to X-Coordinates
sorry i don't have the time to write the script for you.so...after you have all your objects selected you just need a line: myDocument.align(myDocument.selection,AlignOptions.HORIZONTAL_CENTERS,...
View ArticleRe: Interacting page when Alert is on
Dear Vam, Good to see you here!.. thanks for the idea... Could you post Examples or Reference for creating ScriptUI panel. As i have the only few point in my ScriptUI panel reference guide. Would be...
View ArticleRe: Interacting page when Alert is on
this is the absolute GoTo guide for everything ScriptUI related:http://www.kahrel.plus.com/indesign/scriptui.html If you ever meet peter, buy him a beer. I know i must.
View Article