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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleHelp 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 ArticleRe: 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 ArticleScript 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 ArticleRe: 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 ArticleRe: Setting Document Measurement Units
Yes, we usually write JS, but in this case I was augmenting an existing resource. Thanks again.
View ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: 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 ArticleRe: [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