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

Re: Make hyperlink text actual hyperlinks

Hi, first: you'll need a grepsearch (something like: (?<=<link>).+(?=</link>) which should only find the link itsself)second: to create a hyperlink you'll need  a source and a...

View Article


Re: Which of 2 numbers are closest to 0

Thanks dln385This was exactly what I needed. And yes, Peters code returns the abs number - not the original  dln385,can you explain your first code?I understand what your codes are doing (I actually...

View Article


Re: Which of 2 numbers are closest to 0

It's called the ternary conditional operator. (That a bit of a mouthful.) The syntax looks like this:condition ? expr1 : expr2 If condition is true, the operator returns the value of expr1; otherwise,...

View Article

Re: Which of 2 numbers are closest to 0

Wow, great!Thanks for the explanationand Thanks for the site!!!

View Article

Image may be NSFW.
Clik here to view.

Re: ScriptUI : edittext live modifications problem

Hi Marc, I tried your script but when I press enter the quick apply menu comes up.AFAIK This is because you use WshShell.SendKeys which does not distinguish between the regular and the number pad enter...

View Article


Re: Make hyperlink text actual hyperlinks

I have the following so far:var doc = app.activeDocument;app.findGrepPreferences.findWhat = '(?<=<link>).+(?=</link>)';var objs = doc.findGrep(); for(var i=0; i < objs.length; i++){...

View Article

Re: JS to add url hyperlink to a rectangle shape?

Hi,  here's a script that might help you. I made it and tested it only for InDesign CS5.5.How to use it: select any object in InDesign then run the script. At first, the script will try to see in the...

View Article

Re: Which of 2 numbers are closest to 0

> And yes, Peter's code returns the abs number - not the original Indeed! Hadn't spotted that.

View Article


free transform the image

Hi Forum!, Im new to scripting. Thanks to forum for sharing the knowledge to entire world.. I have a small request to do with the scripting. I have grouped all the pageItems.... as G.and then selected...

View Article


Re: Make hyperlink text actual hyperlinks

Hi,as you want to use the found link itsself as textsource ... have you thought of calling the command 'convert Urls to hyperlinks in the GUI'¿The link-tags wouldn't be needed then ... A script could...

View Article

List used colours

I could swear I used to have a script that created a list of used colours in a InDesign document, but it doesn't seem so...Is there a way to list all used colours and make a list or something...

View Article

Re: free transform the image

Any help on my request please.  Dhinak!

View Article

Re: free transform the image

try sthg like:  var g = app.activeDocument.allPageItems; var gr = app.activeDocument.groups.add(g); var bgr = gr.geometricBounds; var hgr = bgr[2]-bgr[0];   var pm= gr.parentPage.marginPreferences;...

View Article


Re: List used colours

should save a txt on the desktop which includes used swatches: #target indesign  app.doScript(mySwatches, ScriptLanguage.JAVASCRIPT, undefined, UndoModes.ENTIRE_SCRIPT) function mySwatches(){...

View Article

Image may be NSFW.
Clik here to view.

Re: [JS] ScriptUI CS6

Hi all, I made an easy to use scrollable panel function.  There is one significant change from the methodology used above.  That is the use of maximumSize, without using this the size of the inner...

View Article


Cannot set the printBlack printPreference in InDesign

I am finding myself running into a brick wall and it is upsetting me greatly. It's a problem with setting the printPreferences for a document. Here is the code I have:...

View Article

How to place multiple images?

Hi, How to place multiple images? Regards,Learner

View Article


Re: How apply Master page using Keep current page size ?

Thanks Vamitul

View Article

Re: Indesign Interrogation d'une base de données

Ma recherche se tourne finalement vers le javascript.Là je n'y connais rien, donc je vais tâcher d'apprendre, en me basant sur des scripts existants. Voici ce que je souhaite réaliser :1• ouverture...

View Article

Re: Cannot set the printBlack printPreference in InDesign

Hi, there is also ColorOutputModes.SEPARATIONS needed and... I am not sure if more...Maybe better way is to set properties of printer outputPreset instead of doc.printPreferences which is mixed with...

View Article
Browsing all 37788 articles
Browse latest View live


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