Quantcast
Channel: Adobe Community: Message List - InDesign Scripting
Browsing all 37788 articles
Browse latest View live

Re: app.changeGrepPreferences.appliedParagraphStyle

Thank you all so much!

View Article


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 Article


Re: 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 Article

Image may be NSFW.
Clik here to view.

Re: 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 Article

Prompt 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 Article


Re: 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 Article

Re: 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 Article


Re: [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 Article


Location 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 Article

Re: 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 Article

unlink images and text

Dear all How can I global replace to unlink images/text in indesign file?... any one help me RegardsSimbu_Devan

View Article

Re: unlink images and text

app.activeDocument.links.everyItem().unlink() now they're all embeded ...

View Article


Re: 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 Article

Apply 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 Article


Re: 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 Article

Re: 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 Article


Re: 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 Article

Re: 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 Article

Re: 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
Browsing all 37788 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>