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

Re: Can't get to add the data merge text placeholder to all the text frames...

Hi, I think the main problem is index of textFrames (x) on your pages. Your code assumes top frame has index 0 and it grows going down...This is often false, cause frame's index is applied while...

View Article


Re: Can't get to add the data merge text placeholder to all the text frames...

Hi, So check this modification (replace for...loop)var countFrames= 0, currLabel, capPerPage; for (i=0; i<myDocument.pages.length; i++){  // TOTAL NUMBER OF PAGES IN DOCUMENT          for(x = 0; x...

View Article


Image may be NSFW.
Clik here to view.

Re: Can't get to add the data merge text placeholder to all the text frames...

You are genius!!!  It's working!!!! (doing the chicken dance right now. Can't stop smilling.) Thanks so much for your help. I'm a big fan.

View Article

How to call a variable file path in javascript

Hi, My objective is to capture a file path on mac and windows. However, this file path gets changed with various users. For example the path is: c:\user\username\AppData\Local\Temp\myfolder------>...

View Article

Re: How to call a variable file path in javascript

Hi, You are able to check OS: var currOS = $.os; regarding to value of this string you can switch to various paths Jarek

View Article


Re: How to call a variable file path in javascript

You can do this like so (independently of the platform and user name):var tempFolder = Folder.temp;var myDocumentsFolder = Folder.myDocuments;var desktopFolder = Folder.desktop; You can get the full...

View Article

Re: How to call a variable file path in javascript

Thanks Jerek!!! Regards, Abhishek

View Article

Re: How to call a variable file path in javascript

Thanks for your reply! I will check the points as you mentioned. Regards, Abhishek

View Article


How to open selected files from a listbox

I am trying to open files from selected items in a listbox, but am having some problems. Here is my code:var firstLibrary = "C:\\Program Files (x86)\\Adobe\\test\\Library1.indl";var secondLibrary =...

View Article


Re: How to open selected files from a listbox

Hi, try: app.open( File(libraryList[i]) ); myList.selection[i].text is a string not a variable with path to call. Jarek

View Article

Re: Creating Directory - Showing Listing Count on All Directory Pages

Hi V, I looked at the file you attached.You first need to remove the text boxes that you put in which contain "Total Listings:" in them.You can run this to do that var  doc = app.activeDocument,...

View Article

Image may be NSFW.
Clik here to view.

Re: Zoom to full window size

Hi Dan Try experimenting with the $.screens object$.screens[0].rightResult: 0$.screens[0].rightResult: 1366$.screens[0].bottomResult: 728$.screens[0]Result: 0:0-1366:728$.screens.lengthResult: 1Do some...

View Article

Re: How to open selected files from a listbox

Thank you for the response. I tried that line instead and am still unable to get the libraries to open. The debugger tells me, "Cannot handle the request because a modal dialog or alert is active." Any...

View Article


Re: How to open selected files from a listbox

@Sam – Instead of a "dialog" type of Window use a "palette" type: var w = new Window ("palette"); "palette" creates a modeless type of dialog.Or close the Window with type "dialog" before opening the...

View Article

Image may be NSFW.
Clik here to view.

Re: ESTK string bug [CS5, CS5.5]

I'm foundonlyone safewayto use binary data in strings with ESTK:Do not usea directassignment binary data to any variable in the body ofthe script, but you can get its as function result or put it as a...

View Article


Re: [JS][CS4/CS5] Images dropping off in scripted pdf export

Hi all, First of all, i would like to thank all of you whom have raised up this problem in the forum.Before that, i've thought that i'm the only one sufferring from this bug and have thought that the...

View Article

Image may be NSFW.
Clik here to view.

Re: How to open selected files from a listbox

Thank you so much!

View Article


Image may be NSFW.
Clik here to view.

Re: Creating Directory - Showing Listing Count on All Directory Pages

Hi Trevor, Thanks for your time! You are awesome!I removed the text boxes I created and ran the script, the total listings on page 2 shows 34 (which is not the number I need) and page 3 shows 8 (which...

View Article

Image may be NSFW.
Clik here to view.

Re: Creating Directory - Showing Listing Count on All Directory Pages

Hi V Sorry about that Change the 1st while loop to   while (l--) {        nameFinds = ([]).concat.apply ([],cityFinds[c]);        if (!(fl = nameFinds.length)) {c++; continue;}        firstFind =...

View Article

Re: [JS][CS4/CS5] Images dropping off in scripted pdf export

@eboda_snaf – Jeff is pointing at InDesign CC v9.0.0 or v9.1.0.Not at InDesign CS6 v8.0.1. Don't know, if it is fixed in CS6 v8.0.2. Could you check? Uwe

View Article
Browsing all 37788 articles
Browse latest View live


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