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

Re: Specified font need to be changed in all paragraph styles

ok.. this should work for most cases:  function main(){          var doc=app.activeDocument;          var myDialog= new Window("dialog","Font replacer");          var grp1=myDialog.add("group");...

View Article


Re: Deleteing assoiated text form conditional text dialiog

Hello Trevor,I am experiencing the same problem as Ranjan. I'm totally new att this scripting feature, and I don't know how to add this... is is javascript? Thank you.

View Article


Re: Deleteing assoiated text form conditional text dialiog

Hi Vincent. Copy the above script to a plain text file, name it whatever you want but add the ".jsx" extension to it, then you can just double click on it because it has the #target directive, or you...

View Article

Re: Deleteing assoiated text form conditional text dialiog

If i may ask a very inconsiderate question. The code works for seperate condition. Let's say I have 50 conditions and 25 of them needs to be removed. How can I write the code to remove the text/object...

View Article

Re: Deleteing assoiated text form conditional text dialiog

Hi Vincent, #target indesign var myDoc = app.activeDocument; app.findGrepPreferences = app.changeGrepPreferences = null;// Change "Condition 1" to name of your condition myConditions = ["Condition...

View Article


Re: Deleteing assoiated text form conditional text dialiog

hope Trevor won't mind me hijacking this.  #target indesign   function main() {          var myDoc = app.activeDocument;          app.findGrepPreferences = app.changeGrepPreferences = null;          //...

View Article

Re: Deleteing assoiated text form conditional text dialiog

Welcome to InDesign Scripting! Vincent-Sweden wrote:How can I write the code to remove the text/object for each dimmed conditon.? Dimmed == not visible? Then you can use the following code. Trevor's...

View Article

Image may be NSFW.
Clik here to view.

Re: Deleteing assoiated text form conditional text dialiog

Hi Vamitul, Don't mind one bit! Notice that I took the out the line app.findGrepPreferences.findWhat = ".+";because it's not needed. I have also found that using fastEntireScript undo mode can be very...

View Article


Re: Deleteing assoiated text form conditional text dialiog

Damn... you are all fast.  Welcome Jongware to this thread. Jongware came from this thread few minutes ago. http://forums.adobe.com/message/5247079#5247079 Jongware: Invisible YES! =).

View Article


Re: Deleteing assoiated text form conditional text dialiog

yep, we just can't keep up with each other

View Article

Image may be NSFW.
Clik here to view.

Re: Deleteing assoiated text form conditional text dialiog

ok.. let's hijack the thread a bit more please can you tell me more about what problems apear when using fastEntireScript and grep prefrences?I never noticed anything, but now that you mention it i had...

View Article

Re: Deleteing assoiated text form conditional text dialiog

Didn't work... says line 13 error... }app.doScript("main()",undefined,undefined,UndoModes.fastEntireScript,'Delete Condition Set');)

View Article

Search/Replace of NumberingLists [JS][CS6]

Hi All, I'm trying to handle multiple languages in the same document. Each language will have a layer of its own.In order for this to work the numbering lists must be set for each layer. Otherwise...

View Article


Re: Deleteing assoiated text form conditional text dialiog

welll now.. see that little winky smily face just at the end?  ; )   just wipe his smile (delete the parantheses) and it should work.however, i think jongware's solution is the winner here.

View Article

Re: Deleteing assoiated text form conditional text dialiog

Vamitul,Aha... that little bugger... i believe this one is useful as well. Since it target one or several specific conditions. I might have use of it. Just tried Jungware solution and it works like a...

View Article


Image may be NSFW.
Clik here to view.

Re: Deleteing assoiated text form conditional text dialiog

Hi Jongware, Isn't this new edit feature useful.  Great for correcting buggy scripts and keep editing them till they work.  I think Jives got sick of my long threads of try this - script version 23....

View Article

Re: Search/Replace of NumberingLists [JS][CS6]

I could only get the error with cs6 app.findTextPreferences.appliedNumberingList =app.activeDocument.numberingLists.itemByName("[Default]")app.findTextPreferences.appliedNumberingList =...

View Article


Re: Search/Replace of NumberingLists [JS][CS6]

Hi, Same on my side... (CS5)It doesn't look good. However, did you try to reach your goal by redefining paragraphStyles properties or just paragraph's properties? rgdsJarek

View Article

Re: Search/Replace of NumberingLists [JS][CS6]

Hi Jarek, Thanks for taking the time to look into this (and thanks Trevor for doing the same). At least it seems I'm not the one at fault on this one. I plan on modifying the properties of each...

View Article

list images for a visible layers only

Hi,  I need images name for the layers visible is "true "only. i.e., document contains 10 images, but the conditions is (layers visible = true) then document images is 7.  Trying Code:  var myDoc =...

View Article
Browsing all 37788 articles
Browse latest View live


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