Help with applying "Next Style"

Is there anyway to assign a keyboard shortcut that would apply a paragraph style and it's associated next style? Or, alternatively, is there a way to create a paragraph style that ALWAYS applies the next style assigned to it?
In short, I'm really just looking for a faster way to accomplish this than highlighting three graphs, then right clicking and choosing from a context menu over and over again. I'm working on a list of businesses, with contacts, phone numbers, address, websites, etc. all included, and can't set up a loop (or don't know of a way to do one) because the length of the list is variable at times (some don't have a fax number, some don't have a website, some have multiple phone numbers, etc.). So I'm just looking for a more efficient way to do this than having to go through the context menu for each of the 500 entries.
thanks in advance,
~k
Message was edited by: kris.clifford (fix typo)

kris.clifford wrote:
The data was placed from an excel spreadsheet, then I used find and replace to replace each tab stop (new cell) with a hard return, replaced soft returns with hard returns, and removed multiple returns and multiple spaces. All the data now is in the right order, it's just a matter of formatting.
I probably could find a way to do it using soft returns and nested styles, but I think making sure all the soft returns were in the right places and setting up the nested style options would take as much time as just going through applying next style manually through the context menu.
I've done more research since first posting, and it doesn't look like what I'm hoping for is possible without a script. Obviously I can create a shortcut for the first of the styles in each block (which I have), I just wish there was a way of telling it to apply the next style every time it's used. Oh well. Maybe in future versions. Thanks for the help though!
~k
If there's a consistent, unique, and identifiable feature in each paragraph, a multiple GREP search-and-replace operation might work. For example, if each line is labeled, like fax, phone, zip, etc, these can be found by GREP and a paragraph can be applied with the replace. If there are no labels, perhaps content might work. For example, names would have at least two consecutive capitalized words, with the exception of celebs like Bono, Madonna, Sade, etc. Addresses would begin with a number, single or multiple digits, then perhaps at least one capitalized word or capitalized initial for direction (North, N, etc,) and/or end in designators like Av., Ave., Avenue, Street, Lane, Terrace, etc. Phone numbers fit a pattern. If phones always precede fax numbers, and there's only one phone, thats a findable pattern. Zipcodes, also.
Look into the FindChangeByList.jsx sample script included with InDesign; in the Scripts folder, findchangebylist.txt has detailed instructions. If you're not familiar with using ID scripts, search Google for "indesign scripts how to use tutorials" without quotes, for resources. If you're not familiar with GREP, search Google for "indesign find replace GREP" without quotes.
EDIT: I forgot to mention that FindChangeByList.jsx can certainly do the multiple manual operations you've described.
HTH
Regards,
Peter Gold
KnowHow ProServices

Similar Messages

  • Having problem with applying layer style "stroke" to group

    - Windows 8.1 / 64bit
    - i3-4150 / 4GB / Geforce GTX 750 TI
    - Photoshop CC 2014
    Hi!
    I don't know why, but there is some problem that applying layer style "stroke" to group.
    When i make a group with some layer and apply to group a layer style-stroke with inside option,
    the strokes looks like grid are generated inside.
    Why i said that stroke cross to ㅎrid, because it looks like grid if i make that group bigger.
    (that black square is 'Rectangle 1' layer. Just resizing bigger than before)
    Does anyone have same problem with me?
    Please, I need your help..

    pillfish wrote:
    I am having the same problem. it happens every time in cc and cc 2014. I am back using cs6. Which seems to run better on the whole.
    That's interesting. And this is happening with CC and CC 2014?  Do you have all the updates for the Photoshop CC versions?
    I've just tried to duplicate it without success, (windows 7, GTX570) so I wonder if there is a condition that triggers it?  Unfortunately, with this being such an old thread, the only person still around is R Kelly.
    OK, I just thought to try it on my Cintiq Companion 2, which has Windows 8.1 and Intel 5100, and the bug occurred. I actually got as far as firing up my Win 8.1 laptop before remembering that I had to sign out of CC to put it on my Cintiq, so I only have CS6 on it.
    Anyway....  looks like the bug is still there.  Are you using Win 8.1?

  • Need help with a Spreadsheet style app

    I was just wanting some help in working with developing an app for my iphone... i had previous experience in microsoft visual basic but i don't quite understand this code....
    I am in flight school and trying to develop an app that reflects the weight an balance forms we do... I am stuck on how to do basic multiplication and division with xcode, i have viewed several videos and tutorials but they each do things differently and i can't seem to bring it together into this app.
    So in the picture below.... what i need help with is how to do the following
    from
    aircraft weight * arm = Moment outbound
    front seats * arm = Moment outbound
    to fuel @ landing
    "0" fuel weight = aircraft weight + front seats + rear seats+ Baggage 1 + baggage 2
    If anyone has any ideas or can lend me some tip or places that deal with stuff like this that would be great

    A character class [...] robs some otherwise special codes from their magic. The +, for instance, is interpreted as a plus, not as "repeat ad nauseum" anymore.
    So your try [\d+] will simply match either a single digit or a single plus. The solution is to move the + outside of the character class
    [\d]+
    .. and in that case there is no reason anymore to create a class for just digits, as you got it already.
    The period *needs* to  be escaped, because otherwise it will match *any* character.
    Try this for a change:
    \d+\.\d+

  • Need help with different link styles on same page

    Hello,
    I'm using Dreamweaver CS4 on a PC.
    I have searched through a lot of posts over the last couple of days, I've tried the projectseven.com tutorial, google'd, etc. but still can't figure it out.....
    All I want to do is apply a different link colour to some links in the footer of my page. Elsewhere through the site I have set the colour to blue (for the link) and orange (for the hover) - for the footer links I want the link to be white and the hover colour to stay orange.
    The problem with the projectseven tutorial is that it doesn't seem to apply to CS4 and I kept getting error messages when trying to apply a new CSS rule - there's no Class|Tag|Advanced options as per the instructions ....
    I've copied the code of my page to this. The links which I want to apply a different style to are contained in the Div Tag called "Footer-Navigation-Bar" .
    Could someone please give me some instructions or point me in the right direction please??
    Many thanks,
    Vickie
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <!-- saved from url=(0014)about:internet -->
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Subscribe to Family Australia - it's free!</title>
    <!-- TemplateEndEditable -->
    <link href="../family-subscribe.css" rel="stylesheet" type="text/css" />
    <script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    <style type="text/css">
    <!--
    a:link {
    color: #30C;
    text-decoration: none;
    a:hover {
    color: #F30;
    text-decoration: none;
    a:visited {
    text-decoration: none;
    a:active {
    text-decoration: none;
    -->
    </style></head>
    <body>
    <div id="container">
      <div id="banner">
        <ul id="family-subscribe-menu" class="MenuBarHorizontal">
          <li><a href="../index.html">Home</a>      </li>
          <li><a href="../subscribe.html">Subscribe</a></li>
          <li><a href="../family-advertise.html">Advertise</a>      </li>
          <li><a href="../family-articles.html">Articles</a></li>
    <li><a href="../family-sign-in.html">Issues</a></li>
          <li><a href="../family-contribute.html">Contribute</a></li>
    <li><a href="../family-contact.html">Contact</a></li>
        </ul>
    </div>
        <div id="sidebar"><a href="../family-sign-in.html"><img src="../images/launch-issue.jpg" alt="launch-issue" width="220" height="380" hspace="4" /></a>
          <div id="sidebar-image2">
            <p><img src="../images/Sleeping bag for web.jpg" width="220" height="151" alt="sleeping-bag" /></p>
            <p>Kozy Koala™ Pillow Sleeper is ideal for those  summer nights when the kids want to sleep out or when you go camping. The  all-in-one pillow camper consists of …. [MORE]</p>
          </div>
          <div id="sidebar-image3">
            <p><img src="../images/solrx for web.jpg" width="220" height="164" alt="sunscreen" /></p>
          SolRX® Sunscreens are very sweat and water  resistant – ideal for anyone who leads an active outdoor lifestyle … whether  you’re in the water or not! [MORE]</div>
      </div>
        <!-- TemplateBeginEditable name="main-content-region" -->
        <div id="main-content">main content</div>
        <!-- TemplateEndEditable -->
      <div id="footer">
    <div id="footer-navigation-bar"><a href="../family-about.html">about</a> | <a href="../family-advertise.html">advertise</a> | <a href="../family-contribute.html">contribute</a> | <a href="../family-contact.html">contact</a> | <a href="../family-unsubscribe.html">unsubscribe</a></div>
          <div id="footer-text">Family Australia | ABN 33150685385 | For all advertising enquiries please contact <a href="mailto:[email protected]">[email protected]</a><br />
    Copyright © 2010 Family Australia. All rights reserved.
    </div>
      </div>
      </div>
    </div>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("family-subscribe-menu", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </body>
    </html>

    The links which I want to apply a different style to are contained in the Div Tag called "Footer-Navigation-Bar" .
    a:link {
    color: #30C;
    text-decoration: none;
    a:hover {
    color: #F30;
    text-decoration: none;
    a:visited {
    text-decoration: none;
    a:active {
    text-decoration: none;
    Hello
    You can see above the CSS that applies to your links.  If you have links that you want to style in a diferent way, just write the rule Like this:
    #Footer-Navigation-Bar a:link {
    color: red;
    text-decoration: none;
    Or whatever.  There are other ways but this will do you as you already have those links you want styled differently in a div with its own ID.  The new rule should come after the other rules in your CSS I think to make sure of the cascade although thinking about it,  there's something called specificity in CSS which means that the rule that I suggest will win out anyway.  All that you are doing in my suggestion is selecting the a:link that is a descendant of an element with that particular ID.
    I hope that helps.  I'm a bit of a novice and might have got a bit jumbled with the cascade/specficity thing but hey, I reckon that will get you where you want to go....
    Martin.

  • Need help with installing Yahoo style flash menu CS5

    I downloaded the Yahoo style menu bar from the the available widgets.  I got the menu bar to show in Dreamweaver, but need help:
    I have trouble understanding how to use the f-source  flash editor to edit the links.
    I don't seem to be able to drop the  f-source.com button from the menu bar.
    The bar  shows up as a tiny bar in IE8, not as I had programmed it in the widget programmer.
    I was instructed to Insert ==> f-source menus ==> Edit menu in Dreamweaver.  Doing this leads to the following message: "Install at least one f-source menu'.  I did install the f-source-UI G file in the Adobe Extension Manager CS5.  What else needs to be installed?  
    My OS is Windows7 and I am working with Dreamweaver CS5.  Please help.
    Thanks,
    Tony Uythoven

    Flash menus (Flash navigation, period) is a terrible thing from a functional standpoint. It looks really nice, but the honeymoon ends there. As far as SEO goes, your entire site, beyond the landing page, is invisible. A search robot will only see an embeded Flash object.
    You have to ask yourself a basic question.
    1. What is the purpose of building a website and putting it online?
    If it's for your own personal enjoyment and nothing more, then a Flash menu may be for you. If it's for a business or band, or a political group or social group, and you want people to be able to find it in Google, Yahoo, Bing, etc. then you want as many indexible links as possible on your landing page so they will show up in related searches like schedules, articles, galleries, etc.

  • Need help with my layer styles pop up!!!

    Hello,
    Hopefully someone can help me out here. I am currently running the new creative suite 6. Everything works perfectly fine but when I am in photoshop trying to open my layer styles it will not pop up...but I know it's there because the hand shows up and I can't click anything else until I click enter which would mean im done in the layer styles. I restarted my computer/re-installed photshop/downloaded the update...still doesn't work but it once did. Does anyone have any clue why this would happen.
    Thank you,
    Kevin

    You might also reset the photoshop cs6 preferences and see if that clears things up.
    (preferences are not reset when reinstalling the software)
      Restore all preferences to default settings   
         Press and hold Alt+Control+Shift (Windows) or Option+Command+Shift (Mac OS) as you start Photoshop. You are prompted to delete the current settings. 
    New Preferences files are created the next time you start Photoshop. 

  • Need help with media-print style sheets

    I am trying to create a style sheet for printing only for pages on my site. I have found a lot of the same information describing how to remove unwanted items, and change colors and so forth for the items to be printed. My problem is that after the unwanted parts of the page are removed, the remaining test to be printed does not "flow" into the areas previously occupied by other elements. The printed text remains in the location on the page that it occupies on the webpage. How do I get the text to "take over" the whole page?
    Below is the style definition for the text content as it is displayed on the screen:
    div.mainBody {
         position:absolute;
         left:210px;
         top:145px;
         width:640px;
         height:595px;
         background-color:#000000;
         font : normal normal normal/normal Book Antiqua MS Sans Serif Times New Roman;
         text-align: justify;
         color:#CCCCCC;
    And here is the "new" definition for the text as it should be printed:
    .mainBody {
         position: absolute !important;
         left: 0px;
         top: 0px;
         width: 100%;
         margin: 0;
         padding: 0;
         background: white;
         font: normal normal normal/normal Book Antiqua MS Sans Serif Times New Roman;
         text-align: justify;
         color: #000;
         float: none;
         display: inline;
    All other elements on the page are "turned off" with "{ display: none; }"
    Why am I having so much trouble with such a simple thing?
    Thanks for any help!
    Mark

    Hello Mark,
    why do you think a feedback forum for Oracle forums is the right place to ask this question?
    Regards
    Marcus

  • Need help with exporting graphic styles

    Hi all.
    I'm designing a game for iPad and am using Illustrator CS3 to create the graphics. I created lots of card sized graphics and gave them all the 'RGB Parchment' graphic style which comes with Illustrator.
    The document in the picture is (part of) an illustrator file that I created these cards in. If I take one out to another document to edit it and save it as a .png - it comes back different. As you can see in the picture, in the centre are two mock ups I made for a card. The left is an illustrator file 'placed' in the document and the right is the same file but exported as a .png and then placed in.
    The .png keeps the transparencies but the shadow is completely different, it's a horrible brown as well as the shape being slightly different and the quality quite low.
    I sent the whole mock up picture (which is much bigger) to my iPad and I can still see the lower quality in the right, .png card.
    If I want to bring graphics into some software to build the app I can't bring in illustrator files so I cant to create them as .pngs but when they're so different / low quality I don't know what to do. I just want to be able to use that 'RGB Parchement' graphic style and not have it changed so much when I export it.
    Can anyone suggest anything? Thanks!

    I really am baffled myself this was a drop shadow applied to a rectangel wit the parchment style applied to it on a brown background and the drop shadow was applied with the multiply as the mode.
    And then exported from AI as a png?
    Why is there an issue and exactly what that issue is I can't see can you explain it or show it better maybe other people have a better idea.
    Here it is after being saved without a background but with a dropped shadow created with a multiply blend and then placed on a brown background color? ( iagve it a feather and blur just to see what it looked like.

  • Help with determining next Saturday of the week in GMT

    Hi All,
    Here's a quick newbie question:
    What's a quick way to determine the next Saturday of the week in GMT?
    Thanks!

    Start with today.
    Add one day.
    If day == Calendar.SATURDAY, return value.

  • Need help with sliding-doors style menu

    Hi everyone I have designed a top header section for my site
    which includes a horizontal list menu which I want to add two
    "sliding-doors" style images to -
    http://www.siteoftom.com/thisisatest/thisisatest.html
    I have a horizontal menu called "leftmenu" which has the
    -"Home", "Products", "Services", "Support", "Order" horizontal
    menu. I would like this menu to have a "sliding-doors two-image"
    style background which is as wide as the menu items go, as the png
    fiile below shows -
    http://www.siteoftom.com/thisisatest/img_thisisatest_with_white_tab.png
    Can anyone help me position and create the correct images eg
    short left image and long right image or vice versa? Im not sure
    how to do it! All the images I have are in the "thisisatest"
    directory.

    See if this helps you:
    http://www.projectseven.com/tutorials/css/qtabs/index.htm
    Al Sparber - PVII
    http://www.projectseven.com
    Extending Dreamweaver - Nav Systems | Galleries | Widgets
    Authors: "42nd Street: Mastering the Art of CSS Design"

  • Problem with Next Style in Paragraph Style

    The "Next Style" function is not working for me anymore! As an example, when  I make a subhead with a first paragraph specified as the Next Style, the specification for that paragraph does not take effect upon specifying the subhead in the previous paragraph. Anybody else having this problem, or am I just losing it, which is entirely possible! Thanks. DL

    Hi,
    Are you expecting it as some kind of dinamic tool?
    As far as I know it works in at least 2 situations.
    1. If you are typing text with paraStyle, defined with filled "Next Style" field, and you press "Enter" ==> next para will be formatted (during typing) with "Next Style".
    2. If your textFrame is set by ObjectStyle, and its textFrame.paragraphStyle property is choosen, and "next Style" checkbox is checked
         ==> you can build a logic chain of paraStyles which will be automatically applied to textFrame contents, when placed into.
    thanks

  • Using "Next style" with the same paragraph style for more than one paragraph

    Hi.
    I have been using paragraph styles with the "next style" option, it's a huge help. But I need a bit more. So I have the following paragraph structure: ABCCCABCCCAB...
    I defined paragraph styles for each kind of paragraph, then in paragraph style A, I added paragraph style B as the next style, and so on. However, when I get to paragraph style C I reach a dilemma. Should I define the next style as the same, or define three paragraph C styles (C1, C2 and C3), link them to each other with next style, and then loop the C3 style into the A style again?
    My hope is that there is a way, something like the nested style options, that allows me to define that style C should be used for 3 paragraphs and then the next style becomes style A again.
    Thanks.

    You just need two styles, almost identical, you can duplicate one.  The only
    difference is one has the next paragraph c and one has the next paragraph
    a.  After that I don't see the problem.

  • InDesign crash while applying character style

    Hi all,
    A)I have problem with applying character style to selected text.
    when character style is applied to selected text indesign get crashes.
    my code snippet is as follow
    input parameters
    1.RangeData paraRange // start and end index of paragraph
    2.storyUIDRef // uidref of current story
              code snippet
              // valid text model
              InterfacePtr<ITextModel> textModel(storyUIDRef, UseDefaultIID());
              if (!textModel)
       break;
              //wax strand
              InterfacePtr<IWaxStrand> waxStrand(((IWaxStrand*)textModel->QueryStrand(kFrameListBoss, IID_IWAXSTRAND)));
              if (waxStrand == nil)
       break;
              //WaxIterator
              K2::scoped_ptr<IWaxIterator> waxIterator(waxStrand->NewWaxIterator());
              if (waxIterator == nil)
        break;
              //first wax line of paragraph
              IWaxLine* waxLine = waxIterator->GetFirstWaxLine(paraRange.Start(nil));
              //iterate each waxline
              while (waxLine != nil && (waxLine->TextOrigin() < paraRange.End()))
        //Iterate for all runs
       K2::scoped_ptr<IWaxRunIterator> waxRunIter( waxLine->QueryWaxRunIterator() ) ;
       IWaxRun * waxRun = waxRunIter->GetFirstRun();
       while (waxRun)
       int32 startPos  = waxRun->TextOrigin();
       int32 endPos = startPos + waxRun->GetCharCount();
       RangeData textRange(startPos ,endPos);
       ISelectionManager* selMgr = m_activeContext->GetContextSelection();
       if(!selMgr)
        break;
       //get valid textselection suite
      InterfacePtr<ITextSelectionSuite> suite(selMgr, UseDefaultIID());
                                  if (!suite)
       break;
                                  //select  text
      suite->SetTextSelection(storyRef, textRange, Selection::kScrollIntoView, nil);
                                  //created style from selection using  " SnpManipulate::TextStyleCreateStyleFromSelection" method.
    my code get crashed at highlighted text( int32 startPos  = waxRun->TextOrigin();).
    B)my next question is how to get textstyle ranges of a selected paragraph.
    please help me.
    Thanks
    Tahir

    A) Make sure that the all parcels of the text is composed before you iterate it, see ITextParcelListComposer. I don't quite understand what you are trying to achieve. You want to apply a character style to a range of text, but the code iterates wax lines and iterate the runs of each line  and sets the current selection to be the run on each iteration. Why not just:
    InterfacePtr<ICommand> icmd(textmodelCmds->ApplyStyleCmd(index, length,styleUID,kCharAttrStrandBoss,kFalse));
    B) Walk the kCharAttrStrands to the get information:
    InterfacePtr<IStrand> strand((IStrand*)textmodel->QueryStrand(kCharAttrStrandBoss,IStrand::kDefaultIID));
    then call stand->GetRunLength() a number of times until, you are through the selected part of the text / paragraph

  • Quick Apply with Next Style

    I did a google search and didn't find anything on how to do this. A few minutes later i stumbled on a way however and thought i would share.
    Create an Object style that only specifies paragraph style and check the next style box...
    Assign a hotkey

    Hi Fred,
    I think the problem exists also with CS6 on Windows 8. The new CC SciptUI is completely rewritten, and was probably tested on Windows 8 as well.
    If you've got Windows 8 installed and ID CS5 or CS6, you should be able to test this and see what, if anything, can be done.
    I doubt that Adobe are going to fix it, of course, because as far as they're concerned CC is probably the "fix" they want people to use!
    Actually, Microsoft are probably the people to blame, as their aim is always backwards compatibility with new Windows releases, and this is broken for ScriptUI.

  • How do I (or can I) apply alternating para styles (using "next style") to existing text?

    I am trying to apply background shading to alternate lines of text by creating two paragraph styles and naming each as the "next style".
    This works when manually entering text - but I can't figure out if it is possible to apply it to existing copy with out applying the styles to each line individually.
    Thanks for any help
    d

    Select multiple paragraphs of text, then right-click on the name of your first style in the Paragraph Styles panel. "Apply Style, Then Next Style" should be one of the options.

Maybe you are looking for

  • How to get XML output from a stored procedure

    I have a very simple question: I would like to write a stored procedure (SP) that will return results in XML format (as a string). My tables in database are not of XML TYPE. But I need XML output. ie, SP will run like a typical SP but the only differ

  • Can I shoot tethered with my D3x to Lightroom 3.6 on my Macbook Pro OS 10.7?

    I'm getting conflicting information on whether or not I can shoot my D3x camera tethered to my laptop with the new Lion operating system directly into Lightroom.  Any suggestions?

  • How do I Sync a set of pictures from iphoto..?

    I am new to Apple TV. Very nice divice and implementation. But I do have a question. When I was trying to Sync pictures with iTunes. I get an option to sync Iphoto, but it idoes not let me select which set of pictures to sync. It would be nice to be

  • Flash CS5.5 Display Bug

    Have just installed CS5.5 on Windows XP3 - opened flash and tried to select a colour from the colour picker and saw the window in the screengrab. More often there are no colours displayed. However it recognizes that I am hovering over different colou

  • Unable to download OS X 10.6.8 and iTunes 5

    I have a MacBook Pro running OS X 10.6.7. When I run Software Update, I'm unable to complete a successful download of now seven software updates, including OS X 10.6.8 and iTunes 10.5. Consequently, I can't update to IOS5 and iCloud. I've run cleanin