Re: hi i want to create a shape with multiple point
hi friend. my script is that: var myDocument = app.activeDocument;var myTextFrame=myDocument.spreads.item(0).textFrames.add( ); W = [["162.741545","212.557648"],["162.114596","195.597693"],["209.109267...
View ArticleCapturing newly added contents
Hello All, Please advise me to capture the newly added contents based on the InDesign track changes using JS. Thanks, Praveen
View ArticleHow to get attribute name and its values from xml using javascript?
Hi, I am trying to get the attribute name and its values from xml(i have saved this xml in some folder) using javascript.the code has given below, var currentFolder = Folder.selectDialog(); if...
View ArticleRe: How to get attribute name and its values from xml using javascript?
See the following example to know how to get the attribute values using javascript. var myXML = new XML("<root><p att1=\"value1\" att2=\"value2\"></p></root>"); var myXMLElement...
View ArticleRe: How to get attribute name and its values from xml using javascript?
Thanks for ur quick response..I have used this code in my script,but it displays TBGUID="TPS807484739"..I dont know how to access the values..I need to display the value 10014 under SKU(Header) and...
View ArticleRe: How to get attribute name and its values from xml using javascript?
Can you show us what is the expected output you want?
View ArticleRe: How to get attribute name and its values from xml using javascript?
Ya...sure.I will give the details....I have saved my xml in some folder.my xml is, <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <root catalog_id="2"...
View ArticleRe: hi i want to create a shape with multiple point
Do you mean // . . .// your code here// . . . myTextFrame.paths.everyItem(). pathPoints.everyItem(). pointType = PointType.SYMMETRICAL; ?
View ArticleRe: ScriptUI for dummies
Version 2.2 (http://www.kahrel.plus.com/indesign/scriptui.html).
View ArticleRe: ID and Mathmagic : batch equation conversion by scripting ?
Hello Nicolas, It is not possible to script directly MathMagic with AppleScript or JavaScript because it does not support them. Regards.
View Articlefind out a graphic in an xmlElement story
Hi everybody i do a javascript in which i want identify one or more graphics within an xmlElement collection ---------======= xml structure =======---------<doc> <tag1>...
View Article[JS][CC] Help needed with targeting pasted item
Hi. Is it possible to be able to targer a selected chunk of text, copy it, and paste it into the page and then identify the pasted frame?I can do everything up to the identification of the item. I have...
View ArticleRe: [JS][CC] Help needed with targeting pasted item
Hi Roy, Seems to me you are using copy instead of duplicate, if so don't!a=app.selection[0]b = a.duplicate([3,3])b.fillColor = "Black"Works for me Trevor
View ArticleRe: [JS][CC] Help needed with targeting pasted item
Hi Trevor. Thanks for the advise. I tried using that, but as I am copying a selected chunk of text, this method doesn't seem to work for me. Any other pointers? Cheers Roy
View ArticleRe: [JS][CC] Help needed with targeting pasted item
@Roy – Does the following snippet work for you (tested in InDesign CS5.5)? Selection must be a text selection: app.copy(app.selection[0]); app.select(null); app.paste(); var myNewTextFrame =...
View ArticleRe: [JS][CC] Help needed with targeting pasted item
And my snippet is not bullet proof, if the pasted text will land outside a page on the pasteboard… Ok. Back to the drawing board. Uweq
View ArticleRe: [JS][CC] Help needed with targeting pasted item
Now, the following should work: app.copy(app.selection[0]); app.select(null); app.paste(); var d=app.documents[0]; var mySpread = d.windows[0].activeSpread; var textFramesIDArray = new Array();...
View ArticleRe: [JS][CC] Help needed with targeting pasted item
Better use that line: myNewTextFrame = d.pageItems.itemByID(textFramesIDArray[0]).getElements()[0]; Uwe
View ArticleRe: [JS][CC] Help needed with targeting pasted item
Aha! I will give this a go as soon as I can.I was thinking about a similar method in getting an array with the ID's before, and after the paste, and comparing to get the new ID, but your method looks...
View Article