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

Re: InDesign Script to wait for file to open before continue

Hi MarkI think if you use app.open("FileObject") instead of execute, it will automatically wait. Try thisvar file1 = File.openDialog(); var myDoc = app.open(file1); alert("Now"); The alert "Now" should...

View Article


Image may be NSFW.
Clik here to view.

Re: How do I delete all empty graphics frames from a document?

I guess it might be of help to others, so I decided to write up a script The script works as follows:The script deletes all EMPTY rectangles.If you would like the script to take rectangle properties...

View Article


Re: How to break link to cell/table style in a selection

@Jean-Claude – see the last line of the code.There is a number inside the brackets. This is the level number. It's the argument to the function F in line one, where Marc points at four possible values...

View Article

Re: How do I delete all empty graphics frames from a document?

I modded the earlier script posted by myDavey and combined it with a blank text box remover so that the following script removes: any textboxes that have no fill, no stroke, no text-wrap, but may...

View Article

Reset findTextPreferences.appliedParagraphStyle?

Hi, Does anyone know how to reset the findTextPreferences.appliedParagraphStyle value? A script I'm working on uses InDesign's findTextPreferences to search for a paragraph style, e.g.:...

View Article


Image may be NSFW.
Clik here to view.

Re: How to break link to cell/table style in a selection

Hi, ... next door opened... thx Marc for sharing  Jarek

View Article

Re: Reset findTextPreferences.appliedParagraphStyle?

@[Ariel] – you could work with the unique ID number of the paragraph style to identify it.That is working beyond paragraph style groups. var myDoc = app.documents[0]; var myID =...

View Article

Re: Reset findTextPreferences.appliedParagraphStyle?

Uwe, Thanks for chipping in. But the question I asked was the other way round: How do you get from findTextPreferences.appliedParagraphStyle to an actual paragraphStyle object? myParaStyle =...

View Article


Re: Reset findTextPreferences.appliedParagraphStyle?

Ok. I misunderstood. Now it's clear to me. Let's see: 1. "undefined" is the default for an appliedParagraphStyle in findTextPreferences, if the search is not restricted to a paragraph style 2. If the...

View Article


Re: Reset findTextPreferences.appliedParagraphStyle?

My idea is not working.findTextPreferences will not pick up the new name.Sorry. Uwe

View Article

Re: Reset findTextPreferences.appliedParagraphStyle?

So. we could list all paragraph styles (should be a short list) that have the same name according to the string that findTextPreferences returns. We now could build some new text frames, each with a...

View Article

Re: Reset findTextPreferences.appliedParagraphStyle?

Hi Uwe,  Sorry -- I was being jived right out of the forums. Couldn't respond by email, couldn't log in via web.* Thanks for your post. Even if it did pick it up, I tried it on a doc with 55 paragraph...

View Article

Re: Reset findTextPreferences.appliedParagraphStyle?

That's a doable workaround, but it is pretty awkward. Also, it would need to be repeated with the character style property. Actually, I'm not even sure if it's doable -- we have to assume that the...

View Article


Re: Reset findTextPreferences.appliedParagraphStyle?

Another idea would be to save the query and load it back again using InDesign's built in functions. But it seems there is no dedicated menu action available for this, thus a dead end here again. Uwe

View Article

Re: How to break link to cell/table style in a selection

Thank you Uwe! That was obvious... ;-)

View Article


Re: Reset findTextPreferences.appliedParagraphStyle?

I think we have something here! We must not underestimate the DOM, for we have been given: Application.saveFindChangeQuery (queryName: string , searchMode: SearchModes ) Adobe InDesign CS6 (8.0) Object...

View Article

Re: Reset findTextPreferences.appliedParagraphStyle?

So, saving a findChange query takes around 1/1000 sec on my computer, and loading it takes about 4 times longer. So that's a feasible workaround -- better than anything else I think. But, this question...

View Article


How do I export a document 50 times with different text for each in 1 text...

I have a document which I need to export 50 times with the same text frame apart from the last character (e.g CDA0214 - M). Is there a script which will make this process quicker as I need to do this...

View Article

Re: Place snippet script

Am sorry for late reply , thanks that worked , i passed file and  duplicate frame to send geometric bounds and then assinged same geometric bounds to group which fixed my problem . public function...

View Article

Re: Can we assign html tags color/size/face to textFrame.contents of inDesign ?

Now i have to figure out how i can fix the problem of <B>bold content  </B> and <I>italic content  </I> in above method of apply styles , is their any refrence links avilable ?...

View Article
Browsing all 37788 articles
Browse latest View live


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