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

Re: Select group with label

try below code   var doc = app.activeDocument;var myPage = doc.pagesvar myModul = doc.groups.item("modul"); for(var i = 0;  myPage.length>i ;i++){      var allItems =myPage[i].allPageItems...

View Article


Re: Select group with label

thx

View Article


Re: Select group with label

if above code help full click yes "  " Was this helpful?  Yes    No  "    

View Article

Re: cleaning up text frames

G'day there Uwe. That was all it was - take the quotes off of the TextWrapModes.NONE The revised line in the script should be:  if (myTextFrames[j].contents == ""&& stroke == "0"&&...

View Article

Re: How to capture the contents between the tags?

Hi Gejaraja, Could you please try this code below: ((?<=\d), )|((?<=\d)-)|((?<=\d);) Thanks, Elansezhian R

View Article


Re: ScriptUI for dummies

Could you check this for me: To avoid creating duplicate entries in a list, you can use the find method tocheck if the item is already in the list: if (myList.find (myNewItem) != null) //should be: if...

View Article

Place all pages from InDesign Book into 1 document

I'm looking for a script/plugin that can place all the files from an InDesign book into a single Indesign file.   Basically - Have a magazine that is done with a book file.  And need to print the file...

View Article

Getting the computers username in to a text box in indesign

Hi I'm totally new to scripting but at my firm they want to have a text box on their InDesign documents that will show the username of the computer. The idea is that this would be tagged a little like...

View Article


Re: Getting the computers username in to a text box in indesign

Yeah that should get the user. You could also do something like this. if (File(["/Applications/OPCS"]).exists){        var myFile2 = File(["/Applications/OPCS"]);...

View Article


Option to have a header row when converting text to a table?

using CS6   Unless im having a brain lapse and completely overlooking something, i do believe that there is no way to do this other than possibly in scripting. i looked around and found no similar post...

View Article

Re: from paragraph Style to "New Hyperlink Destination"

thank you Mr. Green4ever for your helful support. I Try to run, its works but the result is numbers only eg:0_11_12_1 where i wish to get insted of 1, the actual text in paragraph. is it...

View Article

Re: Add item to Links palette flyout

Could you possibly expand on that code a bit? I'm sure I'll want to do something similar to this in the future, and it'd be great if I could get it going on my own instead of bothering everyone on...

View Article

When one ScriptUI palette opens another

I have two general-purpose ScriptUI palettes (one for Indesign and one for InCopy) that calls a smaller palette (which works in both applications) using a doScript() command. I've done the same thing...

View Article


Re: Add item to Links palette flyout

Hi, There is more then 100 menus in UI: to alert them (from "start" to "end") run this: var start = 0, end = 5, str = "";for (k = start; k < end; k ++) {          str += k + ": " + app.menus[k].name...

View Article

Re: from paragraph Style to "New Hyperlink Destination"

Try this   var activeDoc = app.activeDocument;     app.findGrepPreferences = NothingEnum.nothing;    app.changeGrepPreferences = NothingEnum.nothing;  app.findGrepPreferences.appliedParagraphStyle =...

View Article


Re: Option to have a header row when converting text to a table?

Hi Lzac R.. try below code var table = app.documents[0].stories.everyItem().tables.everyItem().getElements() ;for (var t =0; table.length>t; t++){for (var r=0; table[t].rows.length>r; r++){ try{...

View Article

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

                                var cellInstructionText:String = <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#FF0000" LETTERSPACING="0"...

View Article


Re: Getting the computers username in to a text box in indesign

Hi Gonterman1201 Thanks for your reply. I couldn't get your If statment to retun a value but I have managed to get the $.getenv('USER') statment working and returing the home folder name. Which has now...

View Article

Re: Getting the computers username in to a text box in indesign

This $.getenv('USER') should give you the user name. It would depend on what user they are using.

View Article

Image may be NSFW.
Clik here to view.

Re: Option to have a header row when converting text to a table?

I got this:do i need to add something?

View Article
Browsing all 37788 articles
Browse latest View live


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