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

Re: How to adapt a Jongware's script for page numbers?

Hi, Looks like you need to modify this line:...app.findGrepPreferences.findWhat = "(\\b\\d+\\b)|(?<=-)\\d+";... Jarek

View Article


Image may be NSFW.
Clik here to view.

Re: How to adapt a Jongware's script for page numbers?

My godness, is perfect.This Grep formulae is a piece of cake! The fake example attached is nonsense but the solution is real. Thanks a lot.My monday will begin benignly happy. 

View Article


Re: It is possible to script a decimal approximation in Indesign?

Trevor,  Thanks again for the whole script skeleton!(I must confess that my programming skills are just for minor grep holydays tasks)It is a precious piece!Not to mention free of charge, Vat, taxes,...

View Article

Re: I'm looking for a GREP solution for superscripting a Service Mark

This one seems to be working, restricting to word boundaries: • Search for:SPACE \b(sm)\b • Change to:$1 • Change format to supscripted Character Style

View Article

Re: How to show/say top level group/directory

Awesome thank you that worked a treat... just wondering how would i go about showing multilevel groups? Do i just add a '/' or '\'? Also, and i know this is going a beyond the scope a little, how would...

View Article


Run multiple scripts on a book file

Hi all,So through the help of this forum and online articles i've slowly managed to put my script together, well actually for them to work it's 2 scripts (3 soon hopefully). There are two parts to my...

View Article

Remove all character styles unless in group 'X'

Hi again everyone First a massive thanks to everyone who has helped me so far... now onto what i'm trying to do I'm trying to put together a script that will delete all character styles that are not in...

View Article

Image may be NSFW.
Clik here to view.

How can traverse the xpath attribute name having namespace?

tell application "Adobe InDesign CS5"    set Xpath to {"//*/ext-link[@xlink:href !='']"}    set myXPath to {Xpath}    set myRuleProcessor to make XML rule processor with properties {rule paths:Xpath}...

View Article


Re: Run multiple scripts on a book file

Both of your questions depend a lot on the scripts themsefls. for the first one, the simplest thing would be to make another script like this:function main(){ app.doScript(myFirstScript.jsx,...

View Article


Applescript to add indesign cs6 docs to a book

Hi All. Please help. I need the applescript code to add indesign cs6 documents to an indesign book.

View Article

Re: Remove all character styles unless in group 'X'

try this...var myDoc = app.activeDocument;var myStyleGroup = myDoc.characterStyleGroupsfor (var i = myStyleGroup.length-1;i>=0;i--){    alert (myStyleGroup[i].name)    if...

View Article

app.changeGrepPreferences.appliedParagraphStyle

Why does this work: function changeBoldToCharacterStyleBold(){    app.findGrepPreferences = NothingEnum.nothing;    app.changeGrepPreferences = NothingEnum.nothing;...

View Article

Re: app.changeGrepPreferences.appliedParagraphStyle

Possible answers:1) check for typos in the paragraph style name (maby space at the start or the end of the style's name?)2) is "Su_Para_*" in the root of the document, or in a style group?

View Article


Re: app.changeGrepPreferences.appliedParagraphStyle

Hi, change it to:app.changeGrepPreferences.appliedParagraphStyle = app.activeDocument.paragraphStyles.item('Su_Para_*'); app.change...() should work across whole app (every opened docs). It need a...

View Article

Re: app.changeGrepPreferences.appliedParagraphStyle

It is created inside a group, yes, if this means that the style appears in a folder inside the Paragraph Styles panel. The name of the group is Summary, how would I then put that into the line of code?...

View Article


Re: app.changeGrepPreferences.appliedParagraphStyle

app.changeGrepPreferences.appliedParagraphStyle = app.activeDocument.paragraphStylesGroups.item('Summary').paragraphSty les.item('Su_Para_*');

View Article

Re: app.changeGrepPreferences.appliedParagraphStyle

I get the following error message: "Error Number: 55 Error String: Object does not support the property or method 'paragraphStylesGroups'"

View Article


Re: app.changeGrepPreferences.appliedParagraphStyle

Use paragraphStyleGroups (one s too many).

View Article

Re: app.changeGrepPreferences.appliedParagraphStyle

Hi, Typo: 'paragraphStyleGroups' Jarek

View Article

Re: app.changeGrepPreferences.appliedParagraphStyle

sorry about that.

View Article
Browsing all 37788 articles
Browse latest View live


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