Re: Remove all character styles unless in group 'X'
Mac, That doesn't remove styles that are not in a style group. You need to make a second pass to delete all character styles that aren't in a style group, or use something like this: var cStyles =...
View ArticleRe: Remove all character styles unless in group 'X'
peter, yours won't work either, because of the "||" in the condition. It will only remove the cstyles outside any groups
View ArticleRe: Remove all character styles unless in group 'X'
Not exactly. That script deletes all character styles except those in group 'X', but it doesn't delete emptied groups (which I see now that I tried with more than one character style group ()....
View ArticlePrompt to Spell Check Before Printing, Save and/or Close Document?
Hello, I need to set up some sort of script to promt myself to spell check before I print, save and/or close a document. After scouring the internet, I have come up with a script that was designed to...
View ArticleRe: Find dpi Photoshop eps
EPS (Encapsulated PostScript) is a container which can have all manner of raster as well as vector items within it as long as it can be described in the PostScript printer language.
View ArticleRe: Find dpi Photoshop eps
Yep, Seeing as it is a container which can contain vector and raster images and that the raster images can all be of differing resolutions , do you think it would be possible to get the resolution of...
View Article[JS][CC] How can I get the last visible character in an overflowed Text Frame?
Hello I'm new in InDesign scripting in javascript. I would like to know if there is a way to get the position of the last character in a Text Frame that is overflowed? I need this because I want to...
View ArticleRe: [JS][CC] How can I get the last visible character in an overflowed Text...
Well, let's say that myFrame is an overflowing text frame. So, the last character in that frame would be myFrame.characters[-1]; To calculate the number of overflowing characters, select the...
View ArticleLocation of InDesign scripts
I'm trying to find the moved location of the InDesign zip archive of the scripts shown in the InDesign_ScriptingGuide_JS.pdf.Adobe lists this link in the pdf as...
View ArticleRe: I'm looking for a GREP solution for superscripting a Service Mark
I've worked-out an EVEN better automatic GREP Style (in my body copy paragraph style):I type my main word and no space at all with sm at the end, and this GREP style does the work (apply a Character...
View Articleunlink images and text
Dear all How can I global replace to unlink images/text in indesign file?... any one help me RegardsSimbu_Devan
View ArticleRe: unlink images and text
app.activeDocument.links.everyItem().unlink() now they're all embeded ...
View ArticleRe: unlink images and text
thanks for your quick reply i have anthor one doubt how can i do unlink text frame to link....... could you plesae post any script regardsSimbu_Devan
View ArticleApply a paragraph style to the first cell of the first row of a table
I want to apply a paragraph style to the first cell of the first row of a table.I’m using JavaScript with ID CS 5. Thanks.
View ArticleRe: Apply a paragraph style to the first cell of the first row of a table
for all tables in a document:app.activeDocument.stories.everyItem().tables.everyItem().cells[0].tex ts[0].appliedParagraphStyle="MyPStylesName"; //assuming te PStyle is not in any group. for a table...
View ArticleRe: Apply a paragraph style to the first cell of the first row of a table
Thanks Vamitul The Paragraph style is in a group. Please tell what are the changes needed to support that. Thanks and regards.
View ArticleRe: Apply a paragraph style to the first cell of the first row of a table
.appliedParagraphStyle=app.activeDocument.paragraphStyleGroups.itemByN ame("NameOfGroup").paragraphStyles.itemByName("NameOfStyle")
View ArticleRe: Find dpi Photoshop eps
here is some documentattion about the eps format. Not much, but with some knowlege of postscript language, not impossible to implement:...
View ArticleRe: Apply a paragraph style to the first cell of the first row of a table
Hi Ruq, Always excellent solution given by Mr.Vamitul May this code also helpful for you.... var myTable = app.activeDocument.stories.everyItem().tables.everyItem().getElements(); for(i=0;...
View Article