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

Re: New! script to Find address

Dear Jarek!!!! Thanks for your help.. THis is what i need... Actually I tried with the clues from others, but they use to find only, if matches... In yours, the seperator *  helped all the way to...

View Article


Re: compare 2 string equal false, open dialog

Hi all, Thanks you for your answer! But it doesn't work by me … I know that if you copie paste the code above it will work. I don't know why but the encoding change, but by me it doesn't work… If I...

View Article


Re: Change Page Numbers in Indexes

Good afternoon, How to use the script in this example, where we have numbers with hyphens for page ranges?(We have already a generated index and want to add two pages before...) The script does not...

View Article

Re: Placing Group Library Assets

Hi All, Could anyone please help for the above request. Thanks in advanceBeginner

View Article

Re: Placing Group Library Assets

Edit:define the objectstyle for the group with option for fillcolor switched off!!! so it won't change a existing fillcolor

View Article


Script to make text frame or table cell hit precise depth

Is there a script out there which can make a text frame or maybe a table cell adjust to a fixed depth of a centimetre. ie 6cm or 7cm when filled with text?

View Article

function to check if a link is used many times

Hi, I try to create a script to resize all links in a document. For this script I need a function to know if the same image is used many times.Has someone an ideas how to do this? I didn't find a...

View Article

Re: How can i apply a CharStyle for created footnote on the fly? [CS6-jsx]

Another question: how to preserve characters format, while moving footnotes contents?Problem is: i have text, the intended for footnote text, which placed between tags "{{{" and "}}}". So i have to...

View Article


Re: How can i apply a CharStyle for created footnote on the fly? [CS6-jsx]

simple.. do not use contents. move the entire text, including the "{{{" and "}}}" and after your footnotes are inserted, do a search for {{{ and  }}}  and replace them with nothing.  a more complicated...

View Article


Image may be NSFW.
Clik here to view.

How to find a footnote's number?

more specificaly: how can i get the TEXT (string) that is displayed in a footnote reference (in the example * and **):  and... how can i get it's number in the parent story? (i select a footnote, and i...

View Article

Image may be NSFW.
Clik here to view.

GREP to find up to 3 words in a row followed by colon

I usually have to do the repettive task of indenting dialog in a script. See image. I am trying to write a script that involves a GREP find/replace that will find the following: From the beginning of a...

View Article

Re: GREP to find up to 3 words in a row followed by colon

^(((?!:)\w)+\s?){1,3}?:  :-)Trevor

View Article

Re: How to find a footnote's number?

@Vamitul – hm. This is a little "toughy"… But let's see:The character in the story, that represents the footnote number or sign (in your example the * or **) has a contents property.And this contents...

View Article


Re: GREP to find up to 3 words in a row followed by colon

Trevor, my HERO!!! That worked perfectly. Thanks for the quick response. Appreciate it. Thanks again.

View Article

Re: GREP to find up to 3 words in a row followed by colon

Trevor, I followed most part of your solve, But just so i can understand it, what is this part (?!:) of the expression?

View Article


Image may be NSFW.
Clik here to view.

Re: GREP to find up to 3 words in a row followed by colon

Ok I should have given Jongware the credit See http://forums.adobe.com/message/4381941#4381941(?!:)\w means a \w which is not a :Nice one to know

View Article

Re: GREP to find up to 3 words in a row followed by colon

Aah! Clever. Nice one to know indeed.Thanks for pointing me in the right direction. Cheers.

View Article


Re: How to find a footnote's number?

so.. 1) select the footnote reference (myFnRef)2)  seach myFnRef.parentStory for "~F" (array: myFound)3) compare myFound[i].what?? to myFnRef.what (index? does it work? "The index of the text in the...

View Article

Image may be NSFW.
Clik here to view.

Re: How to find a footnote's number?

Hi, If some footnote is selected myFoot = app.selection[0].footnotes[0]; whichOne = myFoot.index - myFoot.parent.footnotes[0].index; whichOne should be a "relative" index in a current story. A "visible...

View Article

Re: How to find a footnote's number?

jarek, are you sure? I can't test now, but in my earlier tests myFoot.index returned it's number in the document, not the story and now as i am writing this i realize it doesn't matter because...

View Article
Browsing all 37788 articles
Browse latest View live


Latest Images

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