Newbie script question: how to change a story in a particular style

I am new to scripting and I'm getting to know the built-in script FindChangeByList. (I use InDesign CS4 for Windows.) I use the excellent script to find tapes of changes by Martin Fisher (modified by Kasyan Servetsky). It works brilliantly, but I have a question. I want to add a string of FindChangeList who take an object any selection or history and put it all in a style particular (the real name of my style is "Body2.TextIndent"). This should be the best thing to do, but as a newbie, I'm puzzled. The only thing I could come up with was to find 'any character' and replace it with the style I wanted, so something like this:

text {"findWhat: ' ^?} "} {appliedParagraphStyle:"Body2.TextIndent", changeConditionsMode:1919250519} {includeLockedStoriesForFind:false, includeLockedLayersForFind:false, includeHiddenLayers:false, includeMasterPages:false, includeFootnotes:true, wholeWord:false, caseSensitive:false} //Transform the history in the Body2.TextIndent style

This does not work, but it's very, very slow. I guess the program must change all the characters of the style I want, that's why it takes so long. Is there a faster and more efficient way to write this? Yet once, I'm just trying to turn the story into a particular style. Obviously, this could be done in two clicks in correct InDesign, but I want to integrate this into the syntax FindChangeByList.

Thank you!

P.S. is there a difference in the use of FindChangeByList in the Javascript version compared to the version of Visual Basic? I took the version of Visual Basic to chance and that's what I use.  (I use the script to find tapes of change to develop my strings, as I indicated above.)

Of course, this could be done in two clicks in correct InDesign, but I want to integrate this into the syntax FindChangeByList..)

Why do you want to use FindChange for this? It is horribly inefficient. Whence this requirement? Or you just want to tell you want to do in a script, not that it must be a FindChange script?

The paradigm of right in the scripts here is the same that interactively - set the appliedParagraphStyle for each of the selected paragraphs, a loop on those paragraphs. Do not do operate at the level of the character and do not use FindChange.

Tags: InDesign

Similar Questions

  • Same question "how to limit the story" old with FF 27.0.1

    Windows 7 Pro, FF 27.0.1, Adobe and Flash modules (and it's auxiliary)... just the basics. My box is a server as well as used for most ordinary tasks... mail, browsers, editors of documents, etc., is always 'on' and never 'idle '. It's the Add-ons that make these things why don't do anything on my box.

    It is, I know, is an old question, but outstanding, in my opinion. I revive this post:
    https://support.Mozilla.org/en-us/questions/799503?FPA=1

    First of all, let me say that I consider that the best time of the Firefox browser. I love the essential philosophy of Mozilla and Firefox customization by the user and the control, while respecting their need to ensure security and stability.

    OK, the issue is evident in the title, how can I limit history with Firefox? More recently, I observed when the activation and the deactivation of JavaScript in the preferences options has been removed. I have read the reasons of Bugzilla and Firefox and it was not difficult for me to open a topic: config tab next to a label containing a page I was working so I could see how the page without JavaScript. Once you know how, it was only a little more difficult that using the preferences options... which doesn't bother me really.

    The history limit is implicit in the browser itself, where, if you open the history window, you can see your history and (for me) see an option 'longer than six months' who, if you mouse over and right click will get an option 'remove '. I think that everyone who tries this blocking their browser and if something is deleted when you finally get to the top, it will be your cache.

    I know that the amount of history is set: config in the "places.history.expiration.transient_current_max_pages" as an integer parameter. Read many articles here in 'support' and personal judgment, I find that although the number can be increased, it cannot be decreased. If we do, it is up to the old definition as soon as Firefox is reopened.

    I read the blog referenced in the first link above: http://blog.bonardo.net/2010/01/20/places-got-async-expiration and it even seems outdated, containing references to places.history.expiration.max_pages, which is not the file in topic: config in 27.0.1

    In https://bugzilla.mozilla.org/show_bug.cgi?id=643254 , I read the debate on these changes where Marco Bonardo held firmly at his post while I find the comment of al_9x, discuss the issue with him. "You have removed features that people use and love, that been in Fx since its inception. It is you who need to justify deletion. "And your justification of" nobody really wants expire history "is a lie, people do and I explained why", to represent my feelings completely. I have no need or desire for the history of more than 3 months. It is tyrannical to limit the ability of Firefox users to limit their history. And no.... I have not create yet another account of Mozilla and 'vote '.

    There must be a way I and other users can limit (or increase) their history. So I ask "how?" This is, by design, to do this then I find a very disturbing trend, away from the philosophy of the user control and customization.

    If I'm missing something, please let know me. Please * don't * send me a bunch of standard items 'aid', because I read all. That is my question.

    Kind regards
    Axis

    You must create a new pref to around places.history.expiration.max_pages if you want to change the default behavior.

    You can watch the extension that I posted at the bottom of my answer above.

  • Scripting question - how do you close an application

    I got an excellent script by Bill James that opens a series of requests after having timed delays (see below). I would like to adapt the script to CLOSE an application that has been opened, but does not know how to do this. Any tips? Thank you

    PJS

    Script delay, Bill James (http://billsway.com/vbspage/)

    SecondsToDelay = '5 '.
    ProgramToRun = 'iexplore' [insert the full path]
    Wscript.Sleep(SecondsToDelay * 1000)
    PROG = Chr (34) & ProgramToRun & Chr (34)
    CreateObject ("WScript.Shell"). Run (Prog)

    SecondsToDelay = "10".
    ProgramToRun = 'winword' [insert the full path]
    Wscript.Sleep(SecondsToDelay * 1000)
    PROG = Chr (34) & ProgramToRun & Chr (34)
    CreateObject ("WScript.Shell"). Run (Prog)

    Thank you. Will do.

    PJS

  • Simple question: how to change a question slide in Captivate 5?

    Just installed and tried to find where to change a slide of matter everywhere. Cannot find the Easter egg.

    Does anyone know where Adobe hidden?

    Thank you.

    Hello

    Yes, the areas where you make changes a little with broadcast Captivate 5. When you perform them changes depends on which element you want to change.

    For the style, click the element you want to style or change, then open the properties panel and style in the Panel or open the object manager Style and style here.

    If you want to change the options, open the properties of Quiz Panel and change things like the value of the point and the buttons and legends of feedback shown. Or the Action to perform

    See you soon... Rick

    Useful and practical links

    Captivate wish form/Bug report form

    Certified Adobe Captivate training

    SorcererStone blog

    Captivate eBooks

  • How to change the "confirmation MSG" Ajax decorative style

    Hi guys,.

    I saw some sites a pleasant confirmation msg when the screen fades as the msg appears upwards. It's just the same MSG on this site as soon as you click a value in the menu.

    http://www.theapexfreelancer.com/Apex/f?p=APEXFREELANCER:JQUERY_MENU_PLUGIN:0

    How can I do in APEX? Or how can I give a superposition of Ajax MSG like loading page?
    If the answer is long enough, then pls, see some documentation.

    Best regards
    Fateh

    Hello

    I guess you could start to build your first point of APEX. Take this resource as a starting point:
    Target language:
    http://translate.Google.de/translate?HL=de&SL=de&TL=en&u=http%3A%2f%2Fwww.Oracle.com%2Fwebfolder%2Ftechnetwork%2Fde%2Fcommunity%2Fapex%2Ftipps%2FHowToDynamicActionPlugin%2Findex.html
    Source language:
    http://www.Oracle.com/WebFolder/technetwork/de/community/Apex/tipps/HowToDynamicActionPlugin/index.html

    Tobias

  • How to change the font of a particular line color in < af:table >

    I have a < af:table > bounded a ViewObject ReadOnly and this display object is a collection of a sql query. Now, when this table is rendered, I want specific attributes to change the color of police based on some logic.

    For example. If my af:table is a set of results that has Attributest as... EmployeeName. BalanceLeave. So I want the BalanceLeave value shoud displayed in red if the value of the attribute balance leave is greater than 20.

    Please help me on this.

    To do this, you use the attribute styleClass property and an EL related to a managed bean to return the style you want.
    Something like this to change the color

    public class ColorSwitchBean {
        public ColorSwitchBean() {
            super();
        }
        String mStyleClass = null;
    String mColorSyle = null;
    
        public String getStyleClass() {
            FacesContext fc = FacesContext.getCurrentInstance();
            ELContext elc = fc.getELContext();
            ExpressionFactory elf = fc.getApplication().getExpressionFactory();
            String sval =
                (String)elf.createValueExpression(elc, "#{row.City}", Object.class).getValue(elc);
    
            if (sval.startsWith("S"))
                mStyleClass = "red_background";
            else if (sval.startsWith("M"))
                mStyleClass = "green_background";
            else
                mStyleClass="";
    
            return mStyleClass;
        }
    
         public void setStyleClass(String aStyleClass) {
            mStyleClass = aStyleClass;
        }
    
        public void setColorSyle(String mColorSyle) {
            this.mColorSyle = mColorSyle;
        }
    
        public String getColorSyle() {
          FacesContext fc = FacesContext.getCurrentInstance();
          ELContext elc = fc.getELContext();
          ExpressionFactory elf = fc.getApplication().getExpressionFactory();
          String sval =
              (String)elf.createValueExpression(elc, "#{row.City}", Object.class).getValue(elc);
    
          mColorSyle = "";
          if (sval.startsWith("S")) {
              mColorSyle = "background-color:Red";
    
          }
    
          else if (sval.startsWith("M")) {
              mColorSyle = "background-color:Green";
    
          }
    
          return mColorSyle;
        }
    }
    

    and cela inside the table:

    - 
       
    

    Timo

  • When we use alta as default value of skin and then how to change this default skin table selectors?

    Mr President.

    Me using ALTs as my skin by default as follows

    <?xml version="1.0" encoding="UTF-8"?>
    <trinidad-config xmlns="http://myfaces.apache.org/trinidad/config">
      <skin-family>alta</skin-family>
      <skin-version>default</skin-version>
    </trinidad-config>
    

    Now, I want to change the width and height of the table added to a page jsff.

    How to change the source code of this file skin.

    Concerning

    Dear all!

    I get the solution to my question how to change the default alta of the skin as follows:

    
    
      altaSkin
      v1
    
    
    
    
      
        altaSkin.desktop
        altaSkin
        alta-v1.desktop
        org.apache.myfaces.trinidad.desktop
        skins/ADFSkin/ADFSkin.css
      
    
      
        altaSkin.desktop
        altaSkin
        alta.desktop
        org.apache.myfaces.trinidad.desktop
        skins/ADFSkin/ADFSkin.css
        ash.view.skinBundle
      
    
    

    If any body finds it useful and correct answer if you please points to fix in my favor.

    Concerning

  • How to change the PS logo to 8.50 tools.

    Hello
    This is my question:
    How to change the ORACLE logo in 8.50 tools.

    It's a NEW_PS_LOGO image which cannot be changed.

    Thank you.

    I didn't try it but on PT8.50, but do not know if this was the change too.
    Take a look here, this is an example in PT8.49, but it should work:
    Re: Add a company to the PIA logo

    For the AppDesigner connection, be sure to only have just enough to make it.

    Nicolas.

  • How to change the answers to security questions?

    I don't remember having set up security issues.

    How to change the answers to security questions?

    I need to talk to someone?

    Yes

    Contact Apple security - Apple Support

  • I forgot my security question answer Apple ID and my recovery email address has since been deleted and disabled. How to get answers to security questions and or change my email recovery?

    I forgot my security question answer Apple ID and my recovery email address has since been deleted and disabled. How to get answers to security questions and or change my email recovery?

    Go to https://getsupport.apple.com . Click on "see all of the products and services ', then 'More', then 'Apple ID', then 'other Apple ID subjects' then 'security issues forgotten Apple ID". If you have problems with this test of this form: https://www.apple.com/emea/support/itunes/contact.html

  • How to change the secret question and answer if I've forgotten my email of rescue?, how change the security question and answer and if I've forgotten my rescue by email?

    How to change the secret question and the answer if I've forgotten my email to rescue?

    You have to ask Apple to reset your security questions. To do this, click here and choose a method; If this page does not list one for your country or if you are unable to call, complete and submit this form.


    (137073)

  • Question HP docking station: how to change search provider

    Hello

    I just got my first computer HP after being a Dell customer for 10 years. Its also my first Windows 7 PC.

    On the HP docking station, how can I change the search engine? I see that it is default to Bing. I can't see how to change to one of 2 choices; Support of Bing and HP. HW I add Google or any other provider?

    I've changed on IE on the top right of the browser, but I see no way to change/configure the search provider in the HP dock.

    Thank you

    Steve

    My apologies Steve! I get more watched the Office party...

    So I did not, what you are looking for your question?

  • How to change folder name by default when you use save for Web in java script?

    Hello everyone, hope you can help me.


    Photoshop has a folder name by default of images When you export using slices Save for Web . I need to change this folder name.

    How to change folder name by default when you use save for Web in java script?

    Thanks in advance!


    1325ACD7-9C89-4D20-A6BF-E9EE8B7A1D27.png

    QQ20150923-1@2x.png


    JJMack Chuck Uebele Nicolas Ribot SuperMerlin

    You can try with scriptlistener to record the code. Change to the last line of the NO to ALL dialog boxes, so that the dialog - if you wish. There are two places in the code to save the files: one where is actually saved the file, and the other where the default value is file. I have seen it changed something with it. So, you can simply use the first listing of a path in the code below.

    #target photoshop
    
    var idExpr = charIDToTypeID( "Expr" );
        var desc19 = new ActionDescriptor();
        var idUsng = charIDToTypeID( "Usng" );
            var desc20 = new ActionDescriptor();
            var idOp = charIDToTypeID( "Op  " );
            var idSWOp = charIDToTypeID( "SWOp" );
            var idOpSa = charIDToTypeID( "OpSa" );
            desc20.putEnumerated( idOp, idSWOp, idOpSa );
            var idDIDr = charIDToTypeID( "DIDr" );
            desc20.putBoolean( idDIDr, true );
            var idIn = charIDToTypeID( "In  " );
            desc20.putPath( idIn, new File( "C:\\Users\\csuebele\\Pictures\\LR shortcuts" ) );//Here's where it actually saves
            var idFmt = charIDToTypeID( "Fmt " );
            var idIRFm = charIDToTypeID( "IRFm" );
            var idPNtwofour = charIDToTypeID( "PN24" );
            desc20.putEnumerated( idFmt, idIRFm, idPNtwofour );
            var idIntr = charIDToTypeID( "Intr" );
            desc20.putBoolean( idIntr, false );
            var idTrns = charIDToTypeID( "Trns" );
            desc20.putBoolean( idTrns, true );
            var idMtt = charIDToTypeID( "Mtt " );
            desc20.putBoolean( idMtt, true );
            var idEICC = charIDToTypeID( "EICC" );
            desc20.putBoolean( idEICC, false );
            var idMttR = charIDToTypeID( "MttR" );
            desc20.putInteger( idMttR, 255 );
            var idMttG = charIDToTypeID( "MttG" );
            desc20.putInteger( idMttG, 255 );
            var idMttB = charIDToTypeID( "MttB" );
            desc20.putInteger( idMttB, 255 );
            var idSHTM = charIDToTypeID( "SHTM" );
            desc20.putBoolean( idSHTM, false );
            var idSImg = charIDToTypeID( "SImg" );
            desc20.putBoolean( idSImg, true );
            var idSWsl = charIDToTypeID( "SWsl" );
            var idSTsl = charIDToTypeID( "STsl" );
            var idSLAl = charIDToTypeID( "SLAl" );
            desc20.putEnumerated( idSWsl, idSTsl, idSLAl );
            var idSWch = charIDToTypeID( "SWch" );
            var idSTch = charIDToTypeID( "STch" );
            var idCHsR = charIDToTypeID( "CHsR" );
            desc20.putEnumerated( idSWch, idSTch, idCHsR );
            var idSWmd = charIDToTypeID( "SWmd" );
            var idSTmd = charIDToTypeID( "STmd" );
            var idMDCC = charIDToTypeID( "MDCC" );
            desc20.putEnumerated( idSWmd, idSTmd, idMDCC );
            var idohXH = charIDToTypeID( "ohXH" );
            desc20.putBoolean( idohXH, false );
            var idohIC = charIDToTypeID( "ohIC" );
            desc20.putBoolean( idohIC, true );
            var idohAA = charIDToTypeID( "ohAA" );
            desc20.putBoolean( idohAA, true );
            var idohQA = charIDToTypeID( "ohQA" );
            desc20.putBoolean( idohQA, true );
            var idohCA = charIDToTypeID( "ohCA" );
            desc20.putBoolean( idohCA, false );
            var idohIZ = charIDToTypeID( "ohIZ" );
            desc20.putBoolean( idohIZ, true );
            var idohTC = charIDToTypeID( "ohTC" );
            var idSToc = charIDToTypeID( "SToc" );
            var idOCzerothree = charIDToTypeID( "OC03" );
            desc20.putEnumerated( idohTC, idSToc, idOCzerothree );
            var idohAC = charIDToTypeID( "ohAC" );
            var idSToc = charIDToTypeID( "SToc" );
            var idOCzerothree = charIDToTypeID( "OC03" );
            desc20.putEnumerated( idohAC, idSToc, idOCzerothree );
            var idohIn = charIDToTypeID( "ohIn" );
            desc20.putInteger( idohIn, -1 );
            var idohLE = charIDToTypeID( "ohLE" );
            var idSTle = charIDToTypeID( "STle" );
            var idLEzerothree = charIDToTypeID( "LE03" );
            desc20.putEnumerated( idohLE, idSTle, idLEzerothree );
            var idohEn = charIDToTypeID( "ohEn" );
            var idSTen = charIDToTypeID( "STen" );
            var idENzerozero = charIDToTypeID( "EN00" );
            desc20.putEnumerated( idohEn, idSTen, idENzerozero );
            var idolCS = charIDToTypeID( "olCS" );
            desc20.putBoolean( idolCS, false );
            var idolEC = charIDToTypeID( "olEC" );
            var idSTst = charIDToTypeID( "STst" );
            var idSTzerozero = charIDToTypeID( "ST00" );
            desc20.putEnumerated( idolEC, idSTst, idSTzerozero );
            var idolWH = charIDToTypeID( "olWH" );
            var idSTwh = charIDToTypeID( "STwh" );
            var idWHzeroone = charIDToTypeID( "WH01" );
            desc20.putEnumerated( idolWH, idSTwh, idWHzeroone );
            var idolSV = charIDToTypeID( "olSV" );
            var idSTsp = charIDToTypeID( "STsp" );
            var idSPzerofour = charIDToTypeID( "SP04" );
            desc20.putEnumerated( idolSV, idSTsp, idSPzerofour );
            var idolSH = charIDToTypeID( "olSH" );
            var idSTsp = charIDToTypeID( "STsp" );
            var idSPzerofour = charIDToTypeID( "SP04" );
            desc20.putEnumerated( idolSH, idSTsp, idSPzerofour );
            var idolNC = charIDToTypeID( "olNC" );
                var list4 = new ActionList();
                    var desc21 = new ActionDescriptor();
                    var idncTp = charIDToTypeID( "ncTp" );
                    var idSTnc = charIDToTypeID( "STnc" );
                    var idNCzerozero = charIDToTypeID( "NC00" );
                    desc21.putEnumerated( idncTp, idSTnc, idNCzerozero );
                var idSCnc = charIDToTypeID( "SCnc" );
                list4.putObject( idSCnc, desc21 );
                    var desc22 = new ActionDescriptor();
                    var idncTp = charIDToTypeID( "ncTp" );
                    var idSTnc = charIDToTypeID( "STnc" );
                    var idNConenine = charIDToTypeID( "NC19" );
                    desc22.putEnumerated( idncTp, idSTnc, idNConenine );
                var idSCnc = charIDToTypeID( "SCnc" );
                list4.putObject( idSCnc, desc22 );
                    var desc23 = new ActionDescriptor();
                    var idncTp = charIDToTypeID( "ncTp" );
                    var idSTnc = charIDToTypeID( "STnc" );
                    var idNCtwoeight = charIDToTypeID( "NC28" );
                    desc23.putEnumerated( idncTp, idSTnc, idNCtwoeight );
                var idSCnc = charIDToTypeID( "SCnc" );
                list4.putObject( idSCnc, desc23 );
                    var desc24 = new ActionDescriptor();
                    var idncTp = charIDToTypeID( "ncTp" );
                    var idSTnc = charIDToTypeID( "STnc" );
                    var idNCtwofour = charIDToTypeID( "NC24" );
                    desc24.putEnumerated( idncTp, idSTnc, idNCtwofour );
                var idSCnc = charIDToTypeID( "SCnc" );
                list4.putObject( idSCnc, desc24 );
                    var desc25 = new ActionDescriptor();
                    var idncTp = charIDToTypeID( "ncTp" );
                    var idSTnc = charIDToTypeID( "STnc" );
                    var idNCtwofour = charIDToTypeID( "NC24" );
                    desc25.putEnumerated( idncTp, idSTnc, idNCtwofour );
                var idSCnc = charIDToTypeID( "SCnc" );
                list4.putObject( idSCnc, desc25 );
                    var desc26 = new ActionDescriptor();
                    var idncTp = charIDToTypeID( "ncTp" );
                    var idSTnc = charIDToTypeID( "STnc" );
                    var idNCtwofour = charIDToTypeID( "NC24" );
                    desc26.putEnumerated( idncTp, idSTnc, idNCtwofour );
                var idSCnc = charIDToTypeID( "SCnc" );
                list4.putObject( idSCnc, desc26 );
            desc20.putList( idolNC, list4 );
            var idobIA = charIDToTypeID( "obIA" );
            desc20.putBoolean( idobIA, false );
            var idobIP = charIDToTypeID( "obIP" );
            desc20.putString( idobIP, """""" );
            var idobCS = charIDToTypeID( "obCS" );
            var idSTcs = charIDToTypeID( "STcs" );
            var idCSzeroone = charIDToTypeID( "CS01" );
            desc20.putEnumerated( idobCS, idSTcs, idCSzeroone );
            var idovNC = charIDToTypeID( "ovNC" );
                var list5 = new ActionList();
                    var desc27 = new ActionDescriptor();
                    var idncTp = charIDToTypeID( "ncTp" );
                    var idSTnc = charIDToTypeID( "STnc" );
                    var idNCzeroone = charIDToTypeID( "NC01" );
                    desc27.putEnumerated( idncTp, idSTnc, idNCzeroone );
                var idSCnc = charIDToTypeID( "SCnc" );
                list5.putObject( idSCnc, desc27 );
                    var desc28 = new ActionDescriptor();
                    var idncTp = charIDToTypeID( "ncTp" );
                    var idSTnc = charIDToTypeID( "STnc" );
                    var idNCtwozero = charIDToTypeID( "NC20" );
                    desc28.putEnumerated( idncTp, idSTnc, idNCtwozero );
                var idSCnc = charIDToTypeID( "SCnc" );
                list5.putObject( idSCnc, desc28 );
                    var desc29 = new ActionDescriptor();
                    var idncTp = charIDToTypeID( "ncTp" );
                    var idSTnc = charIDToTypeID( "STnc" );
                    var idNCzerotwo = charIDToTypeID( "NC02" );
                    desc29.putEnumerated( idncTp, idSTnc, idNCzerotwo );
                var idSCnc = charIDToTypeID( "SCnc" );
                list5.putObject( idSCnc, desc29 );
                    var desc30 = new ActionDescriptor();
                    var idncTp = charIDToTypeID( "ncTp" );
                    var idSTnc = charIDToTypeID( "STnc" );
                    var idNConenine = charIDToTypeID( "NC19" );
                    desc30.putEnumerated( idncTp, idSTnc, idNConenine );
                var idSCnc = charIDToTypeID( "SCnc" );
                list5.putObject( idSCnc, desc30 );
                    var desc31 = new ActionDescriptor();
                    var idncTp = charIDToTypeID( "ncTp" );
                    var idSTnc = charIDToTypeID( "STnc" );
                    var idNCzerosix = charIDToTypeID( "NC06" );
                    desc31.putEnumerated( idncTp, idSTnc, idNCzerosix );
                var idSCnc = charIDToTypeID( "SCnc" );
                list5.putObject( idSCnc, desc31 );
                    var desc32 = new ActionDescriptor();
                    var idncTp = charIDToTypeID( "ncTp" );
                    var idSTnc = charIDToTypeID( "STnc" );
                    var idNCtwofour = charIDToTypeID( "NC24" );
                    desc32.putEnumerated( idncTp, idSTnc, idNCtwofour );
                var idSCnc = charIDToTypeID( "SCnc" );
                list5.putObject( idSCnc, desc32 );
                    var desc33 = new ActionDescriptor();
                    var idncTp = charIDToTypeID( "ncTp" );
                    var idSTnc = charIDToTypeID( "STnc" );
                    var idNCtwofour = charIDToTypeID( "NC24" );
                    desc33.putEnumerated( idncTp, idSTnc, idNCtwofour );
                var idSCnc = charIDToTypeID( "SCnc" );
                list5.putObject( idSCnc, desc33 );
                    var desc34 = new ActionDescriptor();
                    var idncTp = charIDToTypeID( "ncTp" );
                    var idSTnc = charIDToTypeID( "STnc" );
                    var idNCtwofour = charIDToTypeID( "NC24" );
                    desc34.putEnumerated( idncTp, idSTnc, idNCtwofour );
                var idSCnc = charIDToTypeID( "SCnc" );
                list5.putObject( idSCnc, desc34 );
                    var desc35 = new ActionDescriptor();
                    var idncTp = charIDToTypeID( "ncTp" );
                    var idSTnc = charIDToTypeID( "STnc" );
                    var idNCtwotwo = charIDToTypeID( "NC22" );
                    desc35.putEnumerated( idncTp, idSTnc, idNCtwotwo );
                var idSCnc = charIDToTypeID( "SCnc" );
                list5.putObject( idSCnc, desc35 );
            desc20.putList( idovNC, list5 );
            var idovCM = charIDToTypeID( "ovCM" );
            desc20.putBoolean( idovCM, false );
            var idovCW = charIDToTypeID( "ovCW" );
            desc20.putBoolean( idovCW, true );
            var idovCU = charIDToTypeID( "ovCU" );
            desc20.putBoolean( idovCU, true );
            var idovSF = charIDToTypeID( "ovSF" );
            desc20.putBoolean( idovSF, true );
            var idovCB = charIDToTypeID( "ovCB" );
            desc20.putBoolean( idovCB, true );
            var idovSN = charIDToTypeID( "ovSN" );
            desc20.putString( idovSN, """c:\photos""" );//Here's where the default folder is suppose to go.
        var idSaveForWeb = stringIDToTypeID( "SaveForWeb" );
        desc19.putObject( idUsng, idSaveForWeb, desc20 );
    executeAction( idExpr, desc19, DialogModes.ALL );
    
  • [Newbie question] How is-13:00 or by e-mail a link of Dell on the Community Council?

    [Newbie question] How is-13:00 or by e-mail a link of Dell on the Community Council?

    Once I click on a name of Dell link to access their profile. Currently, I don't see a where clause to send a private email Message. What Miss me? Thank you.

    A screenshot of the view that I see when I click on the link Dell profile is attached.

    My apologies, unlike most of us, DELL-Lorna M does not accept private messages. You will have to send him directly.

  • How to change the text after the script to the Calendar Wizard creates a calendar

    I mainly work with Photoshop, so I am new to the world of InDesign.  I put my options for the Calendar Wizard script, it goes through the motions, making the calendar and then shows my finished product.  The problem is that it lists the year alongside each month: may 2012 June 2012, etc, and I need to remove '2012' of each of them.  I know that the font styles updates the entire calendar when they are applied, so I hope that it works in a similar way.  I guess it is a very simple task if you are familiar with the program, haha!

    Thanks in advance for any help!

    It sounds more like you ask how to delete 2012 of several pages, and not how to change the script to not put 2012 in all first. If I'm wrong about this, you may want to ask on the Forum script.

    An easy way to remove 2012 is to use find/replace. If you are looking for 2012 and do not fill the field exchange, she will replace 2012 with nothing. In the Find/Replace window, there is a field that will allow you to search for the location of the cursor to the end of the current history, the history, the stories in the document or all open documents. If you set it to the Document, you can use the search button to find the first instance, and if you want to remove it, you can hit replace them, replace/find (what will change and find the next instance), or change everything. I would replace/find, in case you have 2012 on another part of the calendar that you want to keep. You can also have it search the text only when it has a particular paragraph or a character style and put in place the same or a different paragraph or character style. To do this, click in the boxes of Format change or find. To clear out them, hit the small icon of the Recycle Bin next to the field.

Maybe you are looking for