Hi, everyone
I have working in other language (Word Work Flow).
When flow word doc in indesign we have taking character style and space issues coming this to solve in JavaScript please any one help me.
Thanks,
Aarasan
Hi, everyone
I have working in other language (Word Work Flow).
When flow word doc in indesign we have taking character style and space issues coming this to solve in JavaScript please any one help me.
Thanks,
Aarasan
Hi All,
First real stab at indesign scripting to set up some packaging artwork.
for component information on the box I am creating a textframe with all the various bits of info in there, ingredients etc. ince i have done this i create another 2 textframes each with an image in that tags onto the end of the weight line.
Now that i have these 3 textboxes on the page (i had multiple versions of these three) my script continues to work out where best to place this one the artwork based on available space and moves it with .geometricBounds. My problem is that I can't find a good way to group these 3 textframes and then relocate them to the new position.
is there a way of grouping or merging these 3 frames so that I can perform one command to move all 3?
Hi all,
New to scripts here using InDesign CS6.
I need some help on how to set up the find/change by list script in InDesign. I searched the forums but I don't quite grasp if I need my list saved as a .txt file or something else and where to save the list.
I have a list of about 50 words (text only) (and growing) I'd like to simply find these words in my document, but not change them to anything as I need to rewrite the content to fit.
I'm hoping there is a find next of some sort with this script so I can search the entire set of terms in one shot. (I played with the Multi/Find change script (http://automatication.com/) but it looks like that requires me to "change all" rather than find all)
When I run the script in indesign it asks me to select a file to pull from. I currently have my list of text setup in a .txt file. (But not knowing code, I'm wondering if I need to save this text file differently or code it so the find/changebylist script can pull from this file)
Could someone point me in the right direction, or let me know if this is the correct script to use and how to use it?
I noticed in my script panel the find/change support folder (C:\Program Files (x86)\Adobe\Adobe InDesign CS6\Scripts\ mentioned on this site is missing from my folder.)
http://colecandoo.wordpress.com/2011/08/25/make-findchange-behave-more-like-a-word-macro/
Thanks for your help. Hopefully I get the hang of this soon.
Hi,
Selection of text contains more than one character styles. I can get that styles by the below code.
var aCStyles = app.selection[0].textStyleRanges.everyItem().appliedCharacterStyle;
for(var i=0; i < aCStyles.length; i++)
{
alert(aCStyles[i].name);
}
How can i get that all character styles using single line like the below.
alert(app.selection[0].textStyleRanges.everyItem().fontStyle);
Hi experts,
I want to find and reject track change, changeType.DELETED_TEXT. and reject it.
How can I do this.
How to make the script as below working?
Regard
John
#target indesign
var myDocument = app.documents.item(0);
var myStory = myDocument.stories.item(0);
var myChange = myStory.changes.item(0);
for (var i = changes.length-1; i >= 0; i--) {
var myChangeTypes = myChange.changeTypes.DELETED_TEXT;
myChange.reject();
}
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
There are a lot of fit frame to content but I often resize frames to fit a page or bleed or slug. Does anyone know if this could be done?
Thanks
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();
}
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...
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 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
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
how to apply conditional text through vbs or vb.net?
Please please please help
Thank you
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.
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
i want to make some changes for anchored and non-anchored image separately..
so first i want to find anchored and non-anchored image ...
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¶
I'm using InDesign CS6 and I'm trying to build my first Javascript within InDesign. I want to be able to create an entire XML structure whenever someone tags a frame. Ideally, it would work something like this: When text frame.tagged(record/item/@name="copy"), create Structure. I'm reading through a few books and trying to wr4ap my head around how InDesign scripting works, but I haven't been able to translate the examples into this thing I need to do. I appreciate any help. Thank you - Nathan
Hi, I need to know if it is possible to get InDesign to save facing pages previews when saving, instead of single pages. I need to see the whole spread in Bridge. Until CS4 InDesign always saved the preview images as spreads. Since CS5 the behavior changed for no reason. I do a lot of catalogues and really need to see both pages. Each spread is a separate file so my colleagues and I can work simultaneously on the same catalogue.
Does anyone know if that is possible in any way? Scripts, extensions whatever. And if its possible, can someone give me the contact to a programmer?
Thanks a lot
Steffen