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

Regex to find part of a code

I am quit new to regular expressions. In a code looking like 120813.33.45693.4225.34556.med.med.doub.l.1or 120813.33.45111.778966.34556.def.med.doub.l.1I have to test that after the 6th point there is...

View Article


Image may be NSFW.
Clik here to view.

Placing Group Library Assets

Hi All, Facing issues while placing grouped library assets in the active document. No issues while placing assets as a single text frame. Code is below: var myDoc = app.activeDocument; var myLib =...

View Article


Script to open INDD files, run script, and close

Hello, I'm looking for a script that will open a folder of Indesign files, open each one, run a selected script, then close each file. RIght now I'm using the Batch convert script, to convert INDD to...

View Article

Re: Regex to find part of a code

Hi, You could split your code (is it a string?) by ".", so text between 6th and 7th point should be:code.split(".")[6] Jarek

View Article

Re: Script to open INDD files, run script, and close

HI erblo007, Use the below code may it will helpful for you.. var myFolder = Folder.selectDialog("Select Indesign Folder"); var myIndsnFiles = myFolder.getFiles("*.indd"); for(k=0;...

View Article


Re: Regex to find part of a code

Hi Jump_Over, Always Great!!!!!! I am trying to reply for this question using GREP. But I can't. But you are awesome. Daily I learnt lot of new things from you.  Thanks alwaysBeginner

View Article

Re: Placing Group Library Assets

Hi, In case of placing a group your code is trying to move some text - without container - into the group ==> so it fails Try to modify the code including additional variable mRef as a move...

View Article

Re: Combine two layer names in one command

Gr Kosta, Do you mean that you want to be able to undo both layer setting changes in a single undo? If so, this can be done using app.doScript using UndoModes.entireScript: myDokument =...

View Article


Remove Empty Pages Performance

I have an 82 page InDesign CS6 document that was created from a database publishing program. Every other page is blank, so I have a script to delete the empty pages: #target indesign app.doScript(main,...

View Article


Re: build dialog user interface

Hi, Thanks you for your answer! It's work great!I have an other question: how to manage the size of an window panel object?If I give a bounds array to my panel, the content disapear…:( I explain the...

View Article

Re: build dialog user interface

As far as i know, when you fix the bounds of a container, the AutoLayoutManager stops working out the content of that container.Instead of the bounds (which are too restrictive) you can specify the...

View Article

Importing multiple images at 100% with cascading images

Hi there, Is there a way to import multiple images into a file, at 100%, by cascading them? I'm not interseted in the gridify option becuase I want the images to remain at 100% of original size. I'm...

View Article

Re: Remove Empty Pages Performance

Hi Rick, Please come back with feedback on the speed of runing the script below 1) in FAST_ENTIRE_SCRIPT and 2 in ENTIRE_SCRIPT undo modes. Regards Trevor #target indesign  app.doScript("main()",...

View Article


Re: Script to open INDD files, run script, and close

Thanks Beginner, this is very close. This script opens all the INDD files but only runs the script on the first one. So, the first file gets processed correctly but the subsequent ones don't. Any ideas?

View Article

Re: UndoModes.AUTO_UNDO

When running a script within UndoMode.AUTO_UNDO, ID will add the script's undo to the previous undo item on the undo stack. If there is no previous undo item on the stack, it appears that you will not...

View Article


incremental object transform over multiple pages?

hi, i'm wondering if anybody knows of a script or an easy way to transform an object incrementally over a number of pages.in my case, i would like a header and folios to travel slowly across the top...

View Article

Re: UndoModes.AUTO_UNDO

Jim, thank you! It's clear now, albeit seems quite a strange feature to have. Can't realy think of a usefull thing to to with it. Anyway, thank you.

View Article


Re: UndoModes.AUTO_UNDO

The feature is nice when you want a script to do something extra at the end of some built-in command. For example, automatically adding a script label to a page item when it is moved. With the...

View Article

Re: Script to open INDD files, run script, and close

Here's my whole code if it helps. I'm wondering if the script is moving too fast. I think that the first files are still PDFing while the others are opening and closing. Could that be it? I'm not sure...

View Article

Re: incremental object transform over multiple pages?

Hi, Dont know of the script but know how to do it. Your ask for help is related to writing a script, hopefully. So pageItem method duplicate() has parameters to: and by: which could be used for your...

View Article
Browsing all 37788 articles
Browse latest View live


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