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

How do I automate looping through links in a directory?

My organization is trying to automate iterating through images in a directory and exporting each iteration as a PDF.  I have been doing some research on creating a JS but am in need of assistance....

View Article


Track Changes

I'm looking at trying to produce a basic track changes report for a document.I have had a quick look at the track changes section of the scripting user guide, and while i appeart to get all sorts of...

View Article


Re: How do I create a series of text frames using values from Excel list?

I had to do a bit of tweaking, but you have saved me hours of tedious work. It works perfectly and easily. I just have to copy the cells from the Excel file to a text file (which did, indeed, create...

View Article

Image may be NSFW.
Clik here to view.

Re: How do I create a series of text frames using values from Excel list?

jonnelson2011 wrote: .. The only thing is that I have to still manually change the fill color, alignment, justification, etc. but those are small matters compared to what has been accomplished here....

View Article

Re: JS: app.modalState?

This seems like a bug to me. Peter, are you logging it as such?

View Article


Indesign cs4 update error

Hi, We are working in Indesign cs4..i am getting error while updating the xml in Indesign cs4.but it is working fine in Indesign cs5.5 and cs6...i have added my script below, function ReLink(){myDoc =...

View Article

Re: How to select text of child element of graphic...

Do you want all "alt-graphics" under all "inline-graphic" elements in the whole XML structure? Try to experiment with the query allImageParaXmlElements =...

View Article

Re: How do I create a series of text frames using values from Excel list?

I agree with Jongware, it's not that hard, and also there are more than one way to skin a kat:I don't think I would assign the remaining properties "individually" from the script... I'd rather make an...

View Article


Page Number of a Search Result

Hi, Can someone please help me with a problem that has got me pulling my hair out at the moment. I've Googled extensively, and had no joy. My Indesign Scripting experience is fairly low, but I spend a...

View Article


Re: Page Number of a Search Result

The number of the page on which some text sits is the name of the text's parent text frame's parent page (if you see what I mean): var found_words =  my_document.findText();$.writeln...

View Article

Re: JS: app.modalState?

Thanks. Done.

View Article

Re: Page Number of a Search Result

Thats perfect, thanks Peter. For some reason my counter isn't working properly to get the correct page number for each line, but I should be able to nail that one myself.

View Article

window.bounds gives weird results

I run without Application Frame and without Application Bar. I see no point to the former and the latter is just a shocking waste of space. For years, I've been using a handful of scripts to manage my...

View Article


Re: window.bounds gives weird results

Tried an experiment: switched the monitor to 1680 x 1050. Got these results: app.windows[0].bounds = [22,32,700,563]Result: 22,32,700,563app.windows[0].boundsResult: 350,32,1028,563 So now the y values...

View Article

Image may be NSFW.
Clik here to view.

Re: Page Number of a Search Result

@Gavin – instead of the name property (which value might not be unique ! ), you could use the zero-based documentOffset property together with parentPage… $.writeln...

View Article


Can't get text paths if there are groups

          tellmyDocument                    setmyPitemsto (everytext pathofeverypage itemofeverypage) whosecontents = ""                    repeatwithPiteminmyPitems  display dialog "got it"...

View Article

Re: Can't get text paths if there are groups

I decided to just ungroup everything, but for anyone reading this later, this doesn't really work - it deletes the second item of linked text paths, but doesn't consider the contents of the first text...

View Article


Re: Can't get text paths if there are groups

This is pretty sad... I'm at this for hours and can't figure it out, I post here and voila progress! For anyone else with this issue, you may need to first remove all <FEFF> characters. Still...

View Article

Need alert for safety Margin

HI All, Could anyone please provide solution for the safety margin alert. If any page items near to page width or page height then alert will show or report to produce. [safety margin range = 24...

View Article

Re: Need alert for safety Margin

Hi Beginner, You can get the result by comparing the geometricBounds with your myPageWidth and myPageHeight myGMB = myPgItems[0].geometricBounds;if(myGMB[0]<=0 || myGMB[1]<=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>