Hi,
I'm wondering, how can I change second page size in 3-page spread with ExtendScript?
(I'm trying to generate cover with spine)
Hi,
I'm wondering, how can I change second page size in 3-page spread with ExtendScript?
(I'm trying to generate cover with spine)
hi ,
right now i can able to move image from one place to another place using geometricBounds.. within single page its working fine.
now i want to move the image from one page to another page using indesign javscript.
Hi,
Paragraph contains more than one fontstyle. If i use the below code, its return only one font style name.
alert( app.selection[0].fontStyle)
How can i get all applied font style of paragraph??
Thanks in advance,
Sudha K
i want to remove or delete empty line space between paragraphs.
and in each page contents should be end in same line at the bottom..
like books...
Hi,
I can get the attribute value(product_id) from XML in previous InDesign versions. But i am not able to get the product_id value in InDesign CC 2015.0 version.
When i am trying to run the script, i am getting the "Object is invalid" error in line number 25th. Please help me to fix this issue in InDesign CC 2015.0 version.
Thanks,
Vimala L
I need to reset the selected pages number via scripting
Like 6 th page number needs to change 5-1 and 7th page needs to reset "6" with continues page numbering.
Is this possible via scripting
hi,
i know that adobe canceled svg support for indesign at cs3. but it's really important that i find a way to export svg by scripting. has someone a tip? plugins for this are no solution.
thanks in advance!
Hi experts,
How to make a script for turn on or turn off change button.
I try to make this:
var myDocument = app.documents.item(0);
var myStory = myDocument.stories.item(0);
myStory.trackChanges == true;
but not working.
Regard
John
Hello everyone!
I'm trying to create a paragraph style with a custom font (Helvetica Neue LT Std). I've installed the font in my Windows 8.1 and I can use it in InDesign 9.0.
My code sample:
myDocument.paragraphStyles.add({name:"name", pointSize:48, fillColor: "color", justification: VerticalJustification.centerAlign, appliedFont: app.fonts.itemByName("Helvetica Neue LT Std")});
I'm typing several names and other ways (itemByName) to get the installed font, but i receive the same error: "the request font family is not available".
Hope you help me!
Thanks in advance.
PS scanning the available fonts i got the attached image
var myApplicationFonts = app.fonts; var myFontNames = myApplicationFonts.everyItem().name; for(var myCounter = 0;myCounter<myFontNames.length; myCounter++){ alert(myFontNames[myCounter]); }
Hi experts,
How to accept all changes in indesign story,
Could someone show me how the make the script as below works.
Thanks
Regard
John
var changes = app.documents.item(0).stories.item(0).changes;
for (var i = changes.length-1; i >= 0; i--) {
changes[i].accept();
}
Javascript InDesign CS3 on a Mac, if that matters.
I took a quick look through the ScriptUI docs and couldn't find a widget for this, but maybe I missed it.
I'd like to display some alert text from a script and have the text in the alert dialog be cut-and-pasteable by the user. Is there an easy way to do this?
I'd really rather not have the text be editable-in-the-dialog by the user (looks ugly), and I'm absolutely happy with the quick-and-dirty interface of alert() -- that is, just passing a long string with internal newlines, and not having to spend much time mucking around with ScriptUI and dialog properties and layouts and layout managers, etc., etc.
Anyhow, is there a good way to do this? (I suppose I could pop up a dialog using AppleScript, but that really seems like the wrong answer...)
Thanks.
Can anyone please tell me how can i know the element name of an selected text in indesign document using vb.net or vbs?
please help
Thanks
How to make a web request using indesign java script
how to apply conditional text through vbs or vb.net?
Please please please help
Thank you
i want to make some changes for anchored and non-anchored image separately..
so first i want to find anchored and non-anchored image ...
Hi,
I set a scriptUI interface.
I have two buttons :
- one has to add a carriage return on the edittext field
- one has to add tab.
I am using textselection property of the edittext object.
On Mac it works very fine.
On Windows, it just go crazy. Sometimes, it just ignores the click, other times, it adds the element unexpectingly.
ie tab or carriage return are placed everywhere but where I want it.
What do I do wrong ?
TIA Loic
I can not find a way to access the data merge preview option. I would assume it is under DataMergePreference, the same place I can control the record number to merge with. But I can not find any thing. Please help if you can. Or is there an event that I can capture when it is turned off or on by the user? I might be able to make that work. My preference would be to turn it on and off by script.
The method I use is to break a story in many pages, splitting a text frame through the menu «Keep options» + «Start paragraph» in next page, and later apply a script that unthread the whole text. But it involves a lot of time and work not to mention to have the unthreaded stories isolated in dozens of pages.
But my known scripts to thread/unthread text perhaps only manage frames and never paragraphs.
The idea is to convert this kind of paragraph/lists in four single stories
Fig. 180 - Risks 2010-2014¶
Fig. 181 – Devaluation 2009-2014¶
Fig. 182 – Inflation 2008¶
Fig. 183 – Average Consumer Price Index¶