Change the paragraphs found in the standard paragraph style?

I have look here for about an hour and could not find a discussion for this.  I see where it clears the substitutions but not change Style all together.  Here's what I need help do.  If I left saying text 4 selected boxes, I want the power to change the standard paragraph to paragraph and character set to None style style. If there is already can a discussion that I missed in this regard you point me in that direction.  If this is not the case, can I please help with this.

You can usetpk1982of script to change all the paragraphs of the standard paragraph. But if you only want the block of selected text, then you will need to adjust thescript to change paragraph styles in the selected text frames.

basically replace line 2 by var allTFrames = app.selection;
Also, if you need to clear character styles need to do before you change the paragraph style or character styles will be removed and the formatting will be left as a local override.  Your final script after that these changes would be:

myDoc var = app.activeDocument;

var myTFrames = app.selection;

for (var i = 0; i)< mytframes.length;="" i++)="">

var tFrame = myTFrames [i];

pStory var = tFrame.parentStory;

var allParas = pStory.paragraphs.everyItem ();

pStory.characters.everyItem () .appliedCharacterStyle = app.activeDocument.characterStyles [0];

allParas.appliedParagraphStyle = app.activeDocument.paragraphStyles [1];

}

Note: instead of simply replacing the 2 wire I also changed the name of the variable to reflect rather than leave it in the form allTFrames; and add line 7... Other than these two changes everything was the script of tpk1982

Tags: InDesign

Similar Questions

  • How to change the standard browser

    How to change the standard browser on iPhone IOS 9.2 6s

    Clearly not exactly what you're asking.  If you want to use a different web browser to the standard Safari, you get one from the App Store.  Search with 'web browser' will list for you.

  • all my components are grey in multisim11. Path to my configuration in the global preferences file is also grayed out, can not change the standard cfg

    all my components are grey in multisim11. Path to my configuration in the global preferences file is also grayed out, can not change the standard cfg

    Hi Escapermark,

    Take a look at these articles to the knowledge base, one should set the gray on the problem:

    http://digital.NI.com/public.nsf/allkb/609A763289E6E81D8625739F0052151F

    http://digital.NI.com/public.nsf/allkb/2719D00E36A4D53A8625721300685B3F

    http://digital.NI.com/public.nsf/allkb/B3D720348D55D0C5862575BA00560908?OpenDocument

  • Change the standard account to the administrator account.

    * Original title: user account

    I allowed someone on my laptop under my user account which I was administrator they changed me user standard and made their administrator with a password I don't know & its my laptop. Anyway to fix this?

    Hi Elizabeth,.

    Thanks for posting your query in Microsoft Community Forum!

    According to the description of the problem, it seems that you want to change the standard account to the administrator account.

    I will certainly help you with this issue.

    I suggest you to refer to the articles and check if it helps.

    Change the type of user account

    How to determine your type of user account in Windows

    Note: If you are prompted for a password, please enter in contact with the person who changed the password.

    Microsoft's strategy concerning lost or forgotten passwords

    http://support.Microsoft.com/kb/189126

    If you have any questions on Windows, feel free to let us know. It is our pleasure to be of service.

  • Change the color and style of the chips

    Nice day. I know this may seem like a stupid question, but I need help to change the color and style of the points in Captivate 5.5. How do I do that?

    Thank you

    No, but you can insert a picture or a symbol in a separate legend (or rectangle / other object drawn) on the top of the text caption.

    Just out of curiosity, because it is a new version of the Forum and I have a strange behavior: you you yourself mark the original question and your second question as "useful answer? This seems very strange, the fact that you can mark your own question as a 'useful response', totally unexpected.

    Lilybiri

  • Need to change the standard when error message no data found in a window

    Hi all

    We have a button in our screen, clicking on, we show a window with details of a record selected in the screen view using master / detail.


    But, if I don't have all the data to display, it gives a standard message,

    "Request FRM-40350 caused no records to be found" in a separate window,.

    And if I click on Ok then the window opens without documents/data.

    My requirement is

    1. I need to display a custom message (some friendly mesg) instead of mesg standard
    2 and the window should not open at all.

    I tried to put it with: system.message_level = 5 to remove the standard mesg. But how can we achieve two other requirements.

    And this should occur at the level of the blocks not only at the level of the form.

    Please suggest me in the present.

    Thank you
    Pavan

    OK, but you must navigate back to the block you just, otherwise forms wil make sure that the window where the blocks will be displayed first element is placed on.

  • How can path constantly return to the standard settings, I change the standard settings?

    Hello

    I'm having some trouble with the drawing of the traces in Illustrator. Whenever I draw a new path, this new path appears in the standard settings. The definition "brush" turns back to 'base' and the 'variable width profile' return to the 'uniform '.

    It would save me a lot of time if I could change these standard settings in that I prefer.

    Can someone explain to me how to do this?

    Thanks in advance!

    Nina,

    What happens if you toggle the setting of appearance Art palette button base Apopearance/New Art maintains nine aspect?

  • change the standard earpiece

    Hello

    I upgraded from 12.1.0.1 to 12.1.0.2. So I created a new listener, LISTENER_2. But on each newstat computer, the former auditor will be responsible. I want to change to LISTENER_2 to start and do not want to change the LSNRCTL listener.

    How can I make the change permanent?

    Thank you for your help.

    Siegwin

    Did you check the listener.ora file? Should he entrance to the listener? A way to remove the listener uses Net Configuration Assistant. Check the Listener.ora file and see if entry is always there.

    Thank you

    Navneet

  • Detailed fonts change in paragraph styles

    Hello

    I have a script to change A B police police in all paragraph Styles in a document, but is it possible to go a little further with it?, so;

    Change font "BOLD" "" ""

    Police B "SemiBold".

    Change font a "SemiBold".

    Police B "regular."

    No help at all on this one would certainly help me.

    See you soon,.

    Littlemookie

    Oh!

    Well, I checked the parameter "appliedFont" in JS help, and it seems to be able to accept two different types: a string (which is what I did), or a font type.

    The font type is an object - it contains all kinds of important things, like what type it is (TrueType, etc.), as well as a full name. I think that you can not compare the fonts using a string, so I tried this on [*]:

    If (app.activeDocument.paragraphStyles [i].appliedFont.fullName is "Arial Bold")

    ...

    and that, finally!, works. The other lines can stay as they were.

    [*] Excuses for not testing the previous suggestion. Usually, I do this, but in this case, I was so sure ...

  • good way to change the standard administrator accounts

    I'm looking for the right way to change some of the administrative accounts on macs, I support since administrative Standard.

    the systems in question have at least two accounts of adminsitive and I only will this happen to one of these accounts.

    Currently, there are data for users (images, music, etc.) in their accounts of the House.

    Is it simply a matter of the past as long as administrator on a single account, by selecting the other account and by unchecking the box "allow user to administer this computer" or is it more than that, such as the creation of accounts entirely new?

    It is also mainly a matter of 10.9, but I have a system running 10.10, which must also be addressed.

    He need only disable this checkbox.

    (141917)

  • How can I change the standard account on behalf of Administrator without administrator privileges?

    Original title: uac is restricting my access Add or change account

    My uac has no opition for Yes just not how to change my standard account to administrator account

    and how would I do that I deleted my hidden administrator account and my off my guest account so if I didn't change anything, I have to be an administrator if he allows me to have Yes tab revealed to a click...

    When you say that you moved your hidden administrator account, are you talking about the account named "Administrator"? Since it is a built-in account, Windows won't let you remove it.

    If you are referring to your own admin account then removing would be to throw out your safe master key. I can't quite work on how you could do that, but you can get it from this reckless action as follows:
    1. Set your BIOS so that it uses the DVD drive as its primary boot device.
    2. Start the computer with your Windows 7 repair CD.
    3. Press a key when prompted to boot from the DVD.
    4. Select 'PC Repair' in the menu.
    5. Select 'Repair' when prompted.
    6. When you are prompted, select System Restore.
    7. Configure Windows to a point before you did what you did.
    8. Plan ahead a little and create, test and document an alternative admin account, same as you have a spare emergency House key. This will save you a lot of trouble.
  • Tips on how to change the standard business event.

    Hi all

    I was wondering if anyone here has never changed a standard corporate event in workflow calls. Is it advisable? If Yes, what is the best way to go about this? If not, what is the workaround.

    Responsibility: Workflow Administrator Manager of events
    Navigation: Administrator Workflow-> log sales
    Research Oracle Standard event like oracle.apps.ap.oie.creditcard.transaction.error

    Go to the subscription tab and select 'Create Substription' and define
    System
    Type of source
    Event filter
    Phase of
    Status
    Rule data
    Type of action
    In case of error
    If the Action of Type = "Start workflow" can set the Workflow Type
    Workflow process

    Disable the old and add the new Workflow process

    NOTE: you must create the new process of workflow with EVENT activity to RECEIVE.

    See you soon

  • Satellite 1800-804: how to change the standard screen?

    Hello. I'd be very grateful if someone out there could help me. I have a 1800-804 Satellite which I removed the screen and instead connected to a screen size of Compaq and it works very well for the last 12 months so much so that I use it as my main office.

    My problem started when I downloaded a movie and I wanted to watch it on my tv. I went in the set up screen and it goes from 1 to 2 (because told me in this way that would turn screen to the TV screen).
    It was my mistake.

    Now I can't get it reversed back to the normal screen. The on-screen display, it's as if it is in ECONOMY MODE (large icons) that can only make?

    Thank you.

    Hello

    Which screen has low resolution? The external monitor or laptop screen?
    I guess you display resolution has been set to the lowest value.
    The resolve you should go in the graphic properties and select the view then increase the screen area and colors.

    Also check the advanced option. In the peripheral view tab, you will find the different options and device monitoring multi section where you can set the parameters on screen LCD/CRT or LCD/TV

    Check it out.

  • I continue to put my password. says locked and the user swithch. I tried to change the standard account and it won't let me. How to unlock it?

    It is a novelty that has begun.  I have to put my password because it says "locked" under my user name and it says change user.  I can't open my account.  I tried to change it to 'standard', which I don't know how it changed? or did my computer to do this.  If I clicked on "lock computer", how I to unlock?

    Ma-donna

    He stopped to do so, so do not know what happened.

    Thanks anyway

    Madonna

  • I changed the standard program for opening .exe

    I had a huge problem! all my .exe program has changed and now I can't change their back and im unable to open anything! Please help im worryd Yes! Help me!!

    This Microsoft Support article contains a download that solves this problem:

Maybe you are looking for