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

Re: keyboard shortcuts to userscripts - chaos

I did not dare to fiddle around with those keys in the .indk file before and will do some testing thanks to you. Jongware. But if the action-IDs are irrelevant, why do my keyboardshortcuts to the...

View Article


Re: Need to get all the text from the particular applied character style

app.findTextPreferences.appliedCharacterStyle = "Character style1";var mf=app.activeDocument.findText();var myText='';for (var i=0;i<mf.length;i++){myText=myText+mf[i].contents;}alert(myText);

View Article


Re: keyboard shortcuts to userscripts - chaos

Don't get me wrong -- I try to avoid it as much as possible, but yes, whenever I do the dreaded Reset Everything routine, my keyboard shortcuts are also mangled beyond recognition. But as you can see,...

View Article

Re: keyboard shortcuts to userscripts - chaos

[Jongware] wrote: Don't get me wrong -- I try to avoid it as much as possible, but yes, whenever I do the dreaded Reset Everything routine, my keyboard shortcuts are also mangled beyond recognition....

View Article

Re: Need to get all the text from the particular applied character style

Hi Chinnadk, Please try this code also, may it will be helpful.. .Txt file generate in the document file path with the character style contents.  var myDoc = app.activeDocument;contents = new...

View Article


Re: Need to get all the text from the particular applied character style

Beginner, since i like messing with you, here is a trick question for your code (correct, btw, congrats): what happens if the indesign document is named something like: "jake.inddOldFile_remake.indd"?

View Article

Re: Need to get all the text from the particular applied character style

Dear Vamitul, Sorry for that..... This is why you are the genius for me..... You always find my mistake and give the solution. Thanks for that.....  Below code is OK? var myDoc =...

View Article

Help on finding text and applying INDEX

Hi Forum,, I m trying to apply INDEX to the founded words at a single click of the "UI button created". Is that possible. This is my try. app.findGrepPreferences = app.changeGrepPreferences = null;doc...

View Article


Re: Need to get all the text from the particular applied character style

Hope you didn't get too mad at me. Like i said, your first version was good for 99.99% of the times. and if someone names his files like that, he deserves all the crashes he will get. Still it's a fun...

View Article


Re: Help on finding text and applying INDEX

ANY HELP on this FOrum..

View Article

Script for InDesign CS6 - create multiple, prenamed layers

I created a script for Illustrator CS6, in ExtendScript Toolkit, that will create multiple, prenamed layers...see below... //Apply to myDoc the active documentvar layerName = LayerOrderType;var myDoc =...

View Article

Re: Help on finding text and applying INDEX

The very generouse Peter has some samples here. http://www.kahrel.plus.com/indesign/lists_indexes.html P.

View Article

Re: Setting Document Measurement Units

Yes, we usually write JS, but in this case I was augmenting an existing resource. Thanks again.

View Article


Re: Need to get all the text from the particular applied character style

Dear Vamitul, Thank you for teaching the different ways to do the file naming..... ThanksBeginner

View Article

Re: Help on finding text and applying INDEX

Very thanks pickory a great help!... I just want to share with forum to get a help.....  How can i find the way...... to find the text in "FIND WHAT" (eg.  all the "policy" word inside the document)...

View Article


Re: Script for InDesign CS6 - create multiple, prenamed layers

Can't help you with the coding, but can tell you that scripter Marijan Tompa (Tomaxxi) has a script that should do the job: http://tomaxxi.com/2011/02/script-tomaxxilayers%C2%AE-add-layer-sets-t...

View Article

Re: Help on finding text and applying INDEX

Hi rajnikids, I am new to javascript. Try this app.findGrepPreferences = app.changeGrepPreferences = null;doc = app.activeDocument.stories.everyItem();app.findGrepPreferences.findWhat = "Policy";...

View Article


Re: Script for InDesign CS6 - create multiple, prenamed layers

Marijan Tompa's scripts are very nice and useful, however, for this simple task you can try create your own wiht this code: app.activeDocument.layers.add ({name: "GRADIENT", layerColor: UIColors.red});...

View Article

Re: Help on finding text and applying INDEX

Hi selva, It seems, you are not new to javascript.... U R a Genius..... Corrected my Script.... My mistake is ... I tried to add pageReferences without adding topics in indexes..... You script had...

View Article

Image may be NSFW.
Clik here to view.

Re: [JS CS6] Is anybody able to get button’s printableInPdf property?

@TrevorNot that I can understand too much at present of your script (I will try hard to get to the bottom of it over the next week) but  the line F.cache || (F.cache={});is particularly bewildering to...

View Article
Browsing all 37788 articles
Browse latest View live


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