
hurix
Contributor
hurix
Contributor
Activity
‎Apr 30, 2018
02:59 AM
w = new Window("dialog{\ orientation:column',\ alignChildren:'top',\ img:Image{\ size:[230,150]\ }\ }"); w.orientation = 'column'; w.img.icon = File("path/Logo Extraction.jpg"); pb = w.add('progressbar', [12, 24, 450, 36], 0, 100); w.show(); for (i = 0; i < 100; i++){ pb.value = i; w.update(); ----------------------------------------------------------- showing not implemented $.sleep(50); } w.close();
... View more
‎Mar 16, 2018
04:17 AM
Yes,
... View more
‎Mar 16, 2018
03:37 AM
Sorry for confusing After generated index from index palate this grep will wo I have some index terms in index.txt file, my script will do all the index term automation placed into in InDesign index palate.
... View more
‎Mar 15, 2018
09:43 PM
1 Upvote
for example: Index term is - rama krishna rama krishna appearing 4 times in single page (example page number 10), then my script writing like rama krishna , 10, 10, 10, 10
... View more
‎Mar 15, 2018
05:04 AM
founds = app.documents[0].findGrep(); for (i =0 ; i<founds.length; i++) { found = founds; app.select(found); myTopic.pageReferences.add(found, PageReferenceType.currentPage ); } If Index term repeatedly found in the same page number need to skip that or have to give range.
... View more
‎Jan 24, 2016
11:04 PM
got it thanks to all ram
... View more
‎Jan 24, 2016
10:47 PM
Hi All, My script founds that doc=app.documents.add(); if documents add need flow this "path/content/sample.txt" if already opened document flow this "Content" Ram
... View more
‎Dec 30, 2014
09:58 PM
Thanks Steve, I have huge images in my document, so i can expect to get document link name in newHeights. if i give file name "O1.tif" It works.
... View more
‎Dec 29, 2014
10:22 PM
hans everything is ok, script run perfectly But problem is pageItem.transform(CoordinateSpaces.INNER_COORDINATES, AnchorPoint.CENTER_ANCHOR, matrix); showing cannot set boundingbox.
... View more
‎Dec 29, 2014
03:23 AM
pageItem.transform(CoordinateSpaces.INNER_COORDINATES, AnchorPoint.CENTER_ANCHOR, matrix); show error on above line: Unable to set BoundingBox
... View more
‎Dec 29, 2014
01:46 AM
Hi I Need to get link name in newHeights, can any one help me newHeights = { linkname: 4.4, /* "O1.tif": 4.4, "IMG_1334.jpg": 4.4, "IMG_1335.jpg": 1, /// ... */ }; for (i = 0, l = doc.links.length; i < l; i++) { var link = doc.links; var sourcefile = link.filePath; alert (sourcefile); var linkname = link.name; if (linkname in newHeights) { pageItem = link.parent.parent; height = pageItem.visibleBounds[2] - pageItem.visibleBounds[0]; target = new UnitValue(newHeights[linkname], 'in').as('pt'); scale = target / height; matrix = app.transformationMatrices.add({horizontalScaleFactor: scale, verticalScaleFactor: scale}); pageItem.transform(CoordinateSpaces.INNER_COORDINATES, AnchorPoint.CENTER_ANCHOR, matrix); }
... View more
‎Dec 10, 2014
01:29 AM
Hi All, Can any one help me on auto flow all images based on below layout: Regards Ramakrishna.k
... View more
‎Nov 13, 2014
11:14 PM
Velu try this: myTable = app.activeDocument.stories.everyItem().tables; For look..... n=0; myActiveTable = myTable ; myActiveTable.rows.itemByRange(0, -2).cells.everyItem().appliedCellStyle = "Tbody" myActiveTable.rows[0].cells.everyItem().appliedCellStyle = "TCH" myActiveTable.rows.itemByRange(-2, -1).cells.everyItem().appliedCellStyle = "Tbody_last" Ram
... View more
‎Sep 09, 2014
04:17 AM
Hi All, How do I select Heading 1 after para using javascript. suggest me. Regards Hurix
... View more
‎Jul 18, 2014
12:29 AM
Hi All I have problem vile am automated work flow when it comes references It create problem in HTTP:// While running script [Open Dialog was appear and it show Link of this site. APA. (n.d.). Leadership Institute for Women in Psychology. Retrieved from http://www.apa.org/women/programs/leadership/index.aspx Kindly suggest us. Regards Ramakrishna.K
... View more
‎Jun 06, 2014
01:45 AM
Hi All, If composer manually applied font, How can highlight using javascript. Or Instead of Sabon applied Helvetica manually how to highlight using javascript is there any possibilities. Regards Hurix
... View more
‎May 28, 2014
04:42 AM
@hasvi Try this, var myDoc = app.activeDocument; app.findGrepPreferences = NothingEnum.nothing; app.changeGrepPreferences = NothingEnum.nothing; app.findGrepPreferences.findWhat = "\\r+(?<=\\r)\s*$"; app.changeGrepPreferences.changeTo = ""; app.activeDocument.changeGrep(); app.findGrepPreferences = NothingEnum.nothing; app.changeGrepPreferences = NothingEnum.nothing; app.findGrepPreferences.findWhat = "^\r"; app.changeGrepPreferences.changeTo = ""; app.activeDocument.changeGrep(); Hurix
... View more
‎May 23, 2014
02:40 AM
Hi csm_phil, Thanks for your reply, It works Fine. thanks hurix
... View more
‎May 23, 2014
12:11 AM
Hi All, I have coding to place Library Item into the Page Layout, my Script placing the library Item into that parent Page, But my Problem is I can not place XMLElement Into that Library Element Box. Here is my Script: myDoc.select(myElement); var mySideBarXML = app.selection[0]; try { myAsset = myCurrentLib.assets.item("Box"); // Name of the library item is "bx1" myLibraryItem = myAsset.placeAsset(myElement.insertionPoints[-1]); catch (err) { alert ("There is no library element with the name Box"); exit(); } // TO PLACE TEXT IN LIBRARY ITEM try { myLibraryItem[0].textFrames[0].placeXML(mySideBarXML); // if the library element is group of frames. } catch (ee) { try { myLibraryItem[0].placeXML(mySideBarXML); // if the library element is a single frame. } catch (ee) { } } } can any one help on this. Regards Hurix
... View more
‎May 07, 2014
05:35 AM
Hi All, Can I make slug information in particular page. Eg: I need to give slug information in page number 10. It is possible kindly suggest me. is there any script or options. Regards Hurix
... View more
‎Apr 20, 2014
10:32 PM
Thanks for your reply It Works, But i need to generate selected elements only, Like: Style Name, Font, size, Space Before and After, etc. Hurix
... View more
‎Apr 10, 2014
05:28 AM
Thank you Dave As per your above guidance i make an effort in my Javscript File. But it shows undefine is not an object. "if(myStyle.properties.toSource()){ for loop ... } can you please suggest me hurix
... View more
‎Apr 09, 2014
12:30 AM
Hi Dave I am using JavaScript. And my Script is in Below: var myDoc = app.activeDocument; var myStyle = myDoc.paragraphStyles.everyItem().name.join("\n"); //fso = new ActiveXObject("Scripting.FileSystemObject"); for(var i= myStyle;i<myStyle.length;i++); var filePath = "/Users/hpt/Desktop/In/style.txt"; var logFile = new File(filePath); Paragraph Style Naming Like: "Body text, BL, NL, CT, CN, etc...." I will get separate text file. Now am looking for get including with Formatting: Eg: Body Text, Font:Minion, Face:Bold, Size:15, Leading:18, etc... it is possible, Just like export snippets. Hurix
... View more
‎Apr 08, 2014
04:12 AM
All kindly help me How to extract ParagraphStyle name with formating to Sample.txt: EG: Style Name: "Body" Font = "15" leading = '"18" Aligh = "Left" etc... Regards Hurix Edit by Dave Saunders: Something is preventing the Reply button from working. I'm hoping this edit will reactivate it.
... View more
‎Mar 27, 2014
07:53 PM
1 Upvote
i got it! thanks
... View more