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

Re: find rectangle fillcolor below 100

I am a little confused. Will your rectangles have both fill tint and transparency?If you use app.findObject() to get an array of page items, make sure you set...

View Article


Re: find rectangle fillcolor below 100

Hi Hopkins, Thanks for your answer and solutions. I have got result for transparency, but when i tried to moved all the rectangles below 100% tint, it moves all the rectangles including 100% tint to...

View Article


Re: Script to activate the Color Separations Panel?

simple. assuming myDocument holds the document you want to work with: myDoc.layers.itemByName("Background").visible=false;myDoc.layers.itemByName("Slug").visible=false;

View Article

Image may be NSFW.
Clik here to view.

error with function in indesign cc 64bit

When trying to use the function below, I get this error. Upto now we use the 32bit version (cs6), but with the switch to CC, we're using the 64bit version on windows 7 enterprise (64 bit).Any...

View Article

Re: find rectangle fillcolor below 100

Well!I found the way to move 100% fillTints. app.findObjectPreferences.fillTint = -1;      var myfound = app.findObject();      for (i=0; i<myfound.length; i++) {          app.select(myfound[i]);...

View Article


Re: get alert if .indd files not found

Thanks rajnikids. Great help!...

View Article

Place Cursor before a specific word

is there anyway  I can place the blinking type cursor before the word "hotel" that´s inside a cell with Javascript!?!?

View Article

Image may be NSFW.
Clik here to view.

Find BulletChar Font

HI Forum, How do i find buletCharacter Font name. the below script, could find only the font Name of the text wherever the bullet styles are applied. (eg.) • fjldfjdf• dklfjdlfjd...

View Article


Re: Place Cursor before a specific word

Hi, cursor moved before first word "hotel" found in myDoc: myDoc = app.activeDocument; app.findTextPreferences = null; app.findTextPreferences.findWhat = "hotel"; mWord = myDoc.findText()[0];if (mWord)...

View Article


Image may be NSFW.
Clik here to view.

Re: Find BulletChar Font

ALso i tried using this.  app.findGrepPreferences.bulletsAndNumberingListType = ListType.bulletList;myfound = app.findGrep();for (i=0 ; i<myfound.length; i++) {alert...

View Article

Re: Find BulletChar Font

Hi, alert (mfound[i].bulletChar.bulletsFont.fullName); but be awared: mfound is an array of textStyleRanges, so one element can contain many paragraphs (bullets).to alert all of them - iterate through...

View Article

Re: Place Cursor before a specific word

Hi schiuma, Could you please use this code also.  Only difference from the above code is  "if(myFound[i].parent.constructor.name == "Cell")"  //Code is below var myDoc = app.activeDocument;...

View Article

Re: Find BulletChar Font

Hi, I mean solution like this: myDoc = app.activeDocument; app.findTextPreferences = null; app.findTextPreferences.bulletsAndNumberingListType = ListType.bulletList; mFound = myDoc.findText(); l =...

View Article


Re: Find BulletChar Font

Thank you so much Jarek!, On the reverse, How could we Check and get alert, if the applied bullet  is not in "zapf dingbats" FontName. thanks Jarek! in advance. many thanks

View Article

Re: Find BulletChar Font

Hi Jarek! Here it is, I tried for the options.   para = app.activeDocument.stories.everyItem().paragraphs.everyItem().bullets AndNumberingListType;if(para.fontName !=="ZapfDingbats") {    alert ("check...

View Article


Target InDesign version

Hi All, I am having Indesign CS5 and CS6 in my machine, i want to run JS in CS5, how do i target the version  can any one help me on this... my code: #target indesign;   Thanks,David

View Article

Re: Find BulletChar Font

Hi, myDoc = app.activeDocument; fontToSearch = "Zapf Dingbats";     // watch a typo errors app.findTextPreferences = null; app.findTextPreferences.bulletsAndNumberingListType = ListType.BULLET_LIST;...

View Article


Re: Target InDesign version

@David – See page 235 of "Java Script Tools Guide CS5.pdf" for details on #target and details on "namespace" for the individual application see page 191 ("Application and namespace specifiers"):...

View Article

Getting first occurrence of XML elements

Hi All, My XML tag looks like this:  <xref rid="id001" ref-type="Test"><xref rid="id002" ref-type="Test"><xref rid="id003" ref-type="Test"><xref rid="id004" ref-type="Test">...

View Article

Re: Script to activate the Color Separations Panel?

Vamitul, As a test, I've tried to run this script... but it doesn't work. I'm sure I'm missing something obvious - thoughts?Thanks for sticking with this. var doc =...

View Article
Browsing all 37788 articles
Browse latest View live


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