Apply the paragraph using Enter/Return style works only on empty paragraphs

The InDesign CS4 document, I'm working on that has paragraph styles based on other paragraph styles. For example, the following chapter for BodyFirst style is body. Hit Enter/Return after typing a BodyFirst applies in subsection empty body, no problem.

However, I sometimes already existing text that needs to be reformatted. For example, BodyFirst may be followed by Heading1, but Heading1 must be changed in body.

I'm used to FrameMaker, where you can go back the Heading1 paragraph so that BodyFirst and Heading1 are in the same paragraph and then press enter/return to change quickly the correct paragraph style Heading1, body style. However, InDesign repeat the last style when I press enter/return, so that in this example, I find myself with followed BodyFirst of another BodyFirst.

Is it possible to change this so that the following paragraph style is correct by hitting enter/return by using already existing text?

Select the paragraphs, and then right-click (ctrl-click on Mac) on the name of the paragraph style in the paragraph Styles Panel. It should give you the possibility of style "of paragraph 1 ', then the following Style.

Tags: InDesign

Similar Questions

  • Follow-up of the steps to install the hp wireless printer and it worked only once. Now he says it is "offline."

    Original title: the computer geek

    Follow-up of the steps to install the hp wireless printer and it worked only once. Now he says it is "offline." Convenience store said that it cannot solve the problem. That's happened?

    Hello

    1. What is the brand and model of the printer?
    2. don't you make changes on the computer recently before this problem?
    3. What is the full and exact error message?

    Step 1: The procedure below can help you to fix this problem.

    a. Click Start > Control Panel > printer and faxes
    b. now right-click on computer and select the printer to use online

    Step 2: Update printer drivers.

    To install new or updated printer drivers to update
    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/print_drivers_install_updatew.mspx?mfr=true

  • Script will not apply the paragraph style

    Hello

    I'm new to scripting in InDesign (CS3), and I'm trying to understand why the scipt below does not apply a style in the following text file? :

    < ASCII-WIN >

    < ParaStyle: Heading 1 > who are we? < ParaStyle >:

    For ease of reading, I have shortend the text file to just two lines.

    The script that I use to open and to format the text file is:

    Create a new document.

    myDocument var = app.documents.add ();

    Set the units of measure and the origin of the rule.

    myDocument.viewPreferences.horizontalMeasurementUnits = MeasurementUnits.points;

    myDocument.viewPreferences.verticalMeasurementUnits = MeasurementUnits.points;

    myDocument.viewPreferences.rulerOrigin = RulerOrigin.pageOrigin;

    Get a reference to the first master spread.

    var myMasterSpread = myDocument.masterSpreads.item (0);

    Get a reference to preferences on the margins of the first page in the Master spread.

    var myMarginPreferences = myMasterSpread.pages.item (0) .marginPreferences;

    Now set up the page margins and columns.

    myMarginPreferences.left = 4;

    myMarginPreferences.top = 70;

    myMarginPreferences.right = 70;

    myMarginPreferences.bottom = 78;

    myMarginPreferences.columnCount = 2;

    myMarginPreferences.columnGutter = 14;

    The margins of page and columns for the right-hand page.

    var myMarginPreferences = myMasterSpread.pages.item (1) .marginPreferences;

    myMarginPreferences.left = 48;

    myMarginPreferences.top = 70;

    myMarginPreferences.right = 70;

    myMarginPreferences.bottom = 78;

    myMarginPreferences.columnCount = 3;

    myMarginPreferences.columnGutter = 14;

    Adding Master Page items

    var myMasterSpread = myDocument.masterSpreads.item (0);

    var myLeftPage = myMasterSpread.pages.item (0);

    var myRightPage = myMasterSpread.pages.item (1);

    var myLeftFooter = myLeftPage.textFrames.add ();

    myLeftFooter.geometricBounds = [70, 742, 728, 528];

    myLeftFooter.textFramePreferences.firstBaselineOffset = FirstBaseline.leadingOffset;

    myLeftFooter.contents = SpecialCharacters.autoPageNumber;

    myLeftFooter.parentStory.characters.item (0) .pointSize = 11;

    myLeftFooter.parentStory.characters.item (0) .leading = 14;

    var myRightFooter = myRightPage.textFrames.add ();

    myRightFooter.geometricBounds = [48, 742, 728, 542];

    myRightFooter.textFramePreferences.firstBaselineOffset = FirstBaseline.leadingOffset;

    myRightFooter.contents = SpecialCharacters.autoPageNumber;

    myRightFooter.parentStory.characters.item (0) .pointSize = 11;

    myRightFooter.parentStory.characters.item (0) .leading = 14;

    myRightFooter.parentStory.characters.item (0) .justification = Justification.rightAlign;

    Adding master text frames

    var myLeftPage = myMasterSpread.pages.item (0);

    var myRightPage = myMasterSpread.pages.item (1);

    var myLeftTextFrame = myLeftPage.textFrames.add ();

    myLeftTextFrame.geometricBounds = [70, 70, 714, 528];

    myLeftTextFrame.textFramePreferences.firstBaselineOffset = FirstBaseline.leadingOffset;

    myLeftTextFrame.textFramePreferences.textColumnCount = 3;

    myLeftTextFrame.textFramePreferences.textColumnGutter = 14;

    Add a label to make the image easier to find later.

    myLeftTextFrame.label = "BodyTextFrame";

    var myRightTextFrame = myRightPage.textFrames.add ();

    myRightTextFrame.geometricBounds = [70, 48, 714, 542];

    myRightTextFrame.textFramePreferences.firstBaselineOffset = FirstBaseline.leadingOffset;

    myRightTextFrame.textFramePreferences.textColumnCount = 3;

    myRightTextFrame.textFramePreferences.textColumnGutter = 14;

    Add a label to make the image easier to find later.

    myRightTextFrame.label = "BodyTextFrame";

    Link the two frames using the nextTextFrame property.

    myLeftTextFrame.nextTextFrame = myRightTextFrame;

    The substitution of Master Page points and adds text

    var myTextFrame = myDocument.masterSpreads.item (0).pages.item (1).textFrames.item (0) .override (myDocument.pag es.item (0));

    Add text by setting the contents of the insertion of a string.

    In JavaScript, "\r" is a return character.

    .silence myTextFrame.insertionPoints.item (0) = "dok\r";

    Adding and applying a paragraph Style

    var myParagraphStyle = myDocument.paragraphStyles.item ("title 1");

    try {}

    var myName = myParagraphStyle.name;

    }

    {} catch (MonErreur)

    //The style of paragraph don't have not exist, so create it.

    myParagraphStyle = myDocument.paragraphStyles.add ({name: 'Title 1'});

    }

    We need to create a color. Check if the color already exists.

    myColor var = myDocument.colors.item ("Green");

    try {}

    myName = myColor.name;

    }

    {} catch (MonErreur)

    //The color have not exist, so create it.

    myColor = myDocument.colors.add ({name: 'Green', model: ColorModel.process, colorValue:[100,0,100,0]});})

    }

    Now set the formatting of the paragraph style.

    myParagraphStyle.appliedFont = "Arial";

    myParagraphStyle.fontStyle = "Bold";

    myParagraphStyle.pointSize = 24;

    myParagraphStyle.spaceAfter = 24;

    myParagraphStyle.spaceBefore = 24;

    myParagraphStyle.fillColor = myDocument.colors.item ("Green");

    Apply the style to the paragraph.

    myDocument.pages.item (0).textFrames.item (0).paragraphs.item (0) .applyParagraphStyle (myParag raphStyle, true);

    You can also use:

    myDocument.pages.item (0).textFrames.item (0).paragraphs.item (0) .appliedParagraphStyle = //myParagraphStyle;

    Import a text file

    Display a standard dialog box open the file to select a text file.

    var monFichierTexte is File.openDialog ("choose a text file");.

    If you selected a text file, and if you didn't press Cancel,

    Place the file of text on the first insertion point after the title.

    If ((monFichierTexte! = "") & & (monFichierTexte!) (= null)) {}

    myTextFrame.insertionPoints.item(-1).place (myTextFile);

    }

    Place a graphic

    Display a standard dialog box open the file to select a graphic file.

    var myGraphicFile is File.openDialog ("choose a graphic file");.

    If you have selected a graphics file, and if you didn't press Cancel,

    Place the graphic file on the page.

    If ((myGraphicFile! = "") & & (myGraphicFile!) (= null)) {}

    var myGraphic = myDocument.pages.item (0) .place (myGraphicFile);

    //Since you can place multiple graphics at once, the place method

    //returns a table. For the graph you have placed, get the first

    //item in the table (beginning of JavaScript arrays with element 0).

    myGraphic = myGraphic [0];

    //Create a style object to apply to the graphic image.

    var myObjectStyle = myDocument.objectStyles.item("GraphicFrame");

    try {

    var myName = myObjectStyle.name;

    }

    catch (MonErreur) {}

    //The an object style have not exist, so create it.

    myObjectStyle = myDocument.objectStyles.add({name:"GraphicFrame"});)

    }

    myObjectStyle.enableStroke = true;

    myObjectStyle.strokeWeight = 3;

    myObjectStyle.strokeType = myDocument.strokeStyles.item("Solid");

    myObjectStyle.strokeColor = myDocument.colors.item("Green");

    //The frame containing the graphic is the parent of the graphic.

    myFrame var = myGraphic.parent;

    myFrame.applyObjectStyle (myObjectStyle, true);

    //Resize the frame to a specific size.

    myFrame.geometricBounds = [0,0,600,600];

    //Fit the graph in the image proportionally.

    myFrame.fit (FitOptions.proportionally);

    / / Next, mount the frame to the resized image.

    myFrame.fit (FitOptions.frameToContent);

    var myBounds = myFrame.geometricBounds;

    var myGraphicWidth = myBounds [3] - myBounds [1];

    //Move the graphic frame.

    var myPageWidth = myDocument.documentPreferences.pageWidth;

    var myTopMargin = myDocument.pages.item (0).marginPreferences.top;

    myFrame.move ([myPageWidth-myGraphicWidth, myTopMargin]);

    //Apply a wrap to the graphic frame.

    myFrame.textWrapPreferences.textWrapType = TextWrapTypes.boundingBoxTextWrap;

    myFrame.textWrapPreferences.textWrapOffset = [12, 24, 12, 24].

    }

    I hope someone can point me in the right direction.
    Thanks in advance.
    Ron

    Hey, Ron.

    The problem has nothing to do with your script. You can see if you attempt to place the file from indesign tagged text by hand.

    Your instinct for divide and conquer for debugging is a good - have a short text file to work with is very useful - of course this is also true for the script.

    During the validation of the scripts on the forum, please do not use the syntax insert > feature Java which lies behind the > arrow in the toolbar. Otherwise, cut and paste your script are difficult requiring manual corrections.

    Anyway, your problem is that each paragraph can have only a single paragraph style, and it's the last one that you define.

    So in your IDTT file, you set the heading 1 paragraph style, enter the content of the paragraph and then set the style of paragraph votes to zero.

    If you have included a line break before setting the style of paragraph votes to zero, you must set the None style for the following paragraph. But since you have not, it resets just the style to the current paragraph.

    In short: success back before .

  • ID CC 2015 crashes as soon as I (try to) apply the paragraph style to the text.

    I work on a Mac Pro (mid-2009), OS X 10.10.4, 16 GB of RAM

    Original hard drive is 1 TB (where applications are installed), second drive (designated as working drive, and where all the work files are housed) is 2 TB.

    Currently subscribe to Adobe CC 2015, using InDesign with last update

    I have been working for several days on a long paper (paper) and have developed 12 paragraph styles, using two fonts - Garamond first Pro and Helvetica Neue LT and the document has facing pages.

    Yesterday, my client (the author) has asked all text flow on the odd pages, for illustrations on all pages, so I did all the text boxes thread directly downward of pages on the right (odd pages).

    The first three chapters were style before I changed the threading of text box. Now, when I open the document and begin to apply styles to paragraph for the rest of the text (nine more chapters, which automatically adopted the style of main text as soon as I stuck in the newly-threaded text boxes), ID crashes when I highlighted a section of text and click a paragraph style.

    I checked the permissions and preferences. The only thing I can think is from the document from scratch.

    Any other suggestions?

    Thread the text boxes only on odd pages cause the problem, since it does not have facing pages?

    Thank you.

    There could be corruption in the document.

    Save the document with IDML and reopen the IDML in InDesign.

  • Apply the paragraph style instead of runned text simply by clicking on the text box

    I'm changing the style of the text entity. Is there another way to change it to select all the text, and then set the style?

    Capture.JPG

    IT is threaded text block (not a box!) you have to select all the blocks of text at a time in the thread (which is impossible if they are on different spreads) or you must select all of the text to apply a style.

    If the text block is not passed, you can select and apply the text.

    I do not see a problem to select all the text. Use the text tool, click in the text and the cmd/ctrl + A and apply the style. Not a problem, not a lot of work.

    A box is something like BleedBox, CropBox or something like that. Objects in InDesign are still frames or paths.

  • Automatic table row apply the paragraph style

    Hello

    I am new to scripting in Indesign. I would like to write a script to apply a paragraph on a line style in a table like this:

    1 search for the string 'XX' in a table

    2. when the 'XX' string is found, apply a paragraph style named "ParA" to the line that contains the string "XX".

    3. apply a cell style named "CellA" to the cell that contains the sting "XX".

    4. apply the style of paragraph called 'Service' to the string "XX".

    5 search for the string "XX" to the end of the table

    Can someone help me?

    Hi Syd,

    For the selected table, use the below a.

    var doc = app.activeDocument,
        _tables = app.selection[0],
        i, j, k, l, a =0, _rows,_cells, rowlen; 
    
    _rows = _tables.rows;
    for(k =0;k<_rows.length;k++)
    {
        _cells = _rows[k].cells;
        for(l =0;l<_cells.length;l++)
        {
            if(_cells[l].contents == "xx")
            {
                rowlen = _cells[l].parent.cells.length;
                a = 0;
                while(rowlen--)
                {
                      _cells[l].parent.cells[a].paragraphs.everyItem().appliedParagraphStyle = doc.paragraphStyles.item("ParA");
                      a++;
                    }
                _cells[l].paragraphs.everyItem().appliedParagraphStyle = doc.paragraphStyles.item("ParB");
                _cells[l].appliedCellStyle = doc.cellStyles.item("CellA");
                }
            }
        }
    

    Kind regards

    Cognet

  • retention of the words italic when you apply the paragraph style

    When you place text in InDesign, I want to apply a paragraph style, but keep some (foreign) words in italics without having to search for each word and apply the italic character style. Texts are long and not originated by myself.

    The most recommended book for beginners here on the forum is Visual QuickStart of Sandee Cohen for InDesign. The 'bible' in my opinion, for very advanced users is Real World InDesign.

  • How to apply the paragraph style to all paragraphs

    Hi people,

    Simple question. New to JS script here (but so far love it).

    I am trying to apply a paragraph (myTextStyle) style to all paragraphs in a story.

    Right now, I set it up as follows:

    tabletDocument.pages.item (0).textFrames.item ("story").paragraphs.item (0) .applyParagraphSty (myTextStyle, true);

    Obviously, it's just the first paragraph - item (0)-, but no changes to the code it throws.

    Can I implement something to it or a beach (first to last), so it will apply to all of them?

    Thanks in advance!

    N

    Just set the property .appliedParagraphStyle on the whole story.

  • Apply the effect using PlayActionEvent

    Hello

    I am applying the effect revolution 3D using PlayActionEvent. Because the effects are not recordable, I added it using «Insert Menu Item»... "and file .aia saved, which contained 3 params (itnm, lcnm and cmid). These params were sufficient to call 3D Revolve Options dialog box by using the SDK, but nothing more. Two questions:

    1. Is it possible to remove the Options dialog box? I used kDialogOff, but without effect. I assume this dialog box because I haven't specified an additional parameter (like x, y, z rotation, angle, surface, etc.), which leads to the second question
    2. How to know the list of settings that are needed for a particular effect?

    As a general rule, it is at all possible to apply effects using PlayActionEvent?

    TNX

    Zdravko

    Sorry, I should have been more clear. The discharge I posted wasn't for actions - I don't know how we're going to apply a live effect through PlayAction. Those who entered the direct effect settings. If you create and assign a direct effect in action, the parameters are accessible in the form of a dictionary. If you get the settings like an AIDictionaryRef and you would set & get entries of the dictionary by using the display names.

    Here are a few (very very) rough code showing how you would:

    Sub ApplyLiveEffect (AIArtHandle art)

    {

    Assert (art);

    AIArtStyleHandle style = 0;

    Error AIErr = sArtStyle-> GetArtStyle(art, &style);)

    THROW_EXCEP_IF (Error);

    Assert (style);

    AIStyleParser parser = 0;

    error = sArtStyleParser-> NewParser (& parser);

    THROW_EXCEP_IF (Error);

    error is sArtStyleParser-> ParseStyle (parser, style);.

    THROW_EXCEP_IF (Error);

    ASSERT (sArtStyleParser-> IsStyleParseable (parser));

    AILiveEffectHandle liveEffectId = 0; WHICH MUST BE FILLED IN

    AIParserLiveEffect parserEffect = 0;

    NOTE: AILiveEffectParameters is actually a typedef for AIDictionaryRef!

    Parameters AILiveEffectParameters = 0;

    Error AIErr is sLiveEffect-> CreateLiveEffectParameters(¶meters);.

    THROW_EXCEP_IF (Error);

    AIDictionarySuite allows you to set values of parameter here

    error = sArtStyleParser-> NewParserLiveEffect (liveEffectId, settings, & parserEffect);

    THROW_EXCEP_IF (Error);

    const ai::int32 count is sArtStyleParser-> CountPostEffects (parser);.

    You can also use pre-effect, but I find his usual poster; I'm a little

    blurry on the difference, but you can read about it in the docs

    error = sArtStyleParser-> InsertNthPostEffect (parser, count, parserEffect);

    THROW_EXCEP_IF (Error);

    style = 0;

    error = sArtStyleParser-> CreateNewStyle(parser, &style);)

    THROW_EXCEP_IF (Error);

    Assert (style);

    error is sArtStyle-> SetArtStyle (art, style);.

    THROW_EXCEP_IF (Error);

    error = sArtStyleParser-> DisposeParser (parser);

    THROW_EXCEP_IF (Error);

    parser = 0;

    }

    To change the settings, you can use AIArtStyleParserSuite::GetLiveEffectParams() & SetLiveEffectParams(). For the use of AILiveEffectHandle something like that at startup:

    AILiveEffectHandle FindLiveEffect(const char* name)

    {

    AILiveEffectHandleresult = 0;

    AI::Int32 count = 0;

    Error AIErr = sLiveEffect-> CountLiveEffects (&count);)

    THROW_EXCEP_IF (Error);

    for (ai::int32 i = 0; i)< count;="" i++)="">

    Effect of AILiveEffectHandle = 0;

    Error AIErr = sLiveEffect-> GetNthLiveEffect (i, & effect);

    THROW_EXCEP_IF (Error);

    const char * effectName = 0;

    error = sLiveEffect-> GetLiveEffectName (indeed, & effectName);

    THROW_EXCEP_IF (Error);

    Assert (effectName);

    TRACE ("effect of living found ' % s ' \n", effectName);

    If (strcmp (effectName, name) == 0) {}

    result = effect;

    break;

    }

    }

    return the result;

    }

    In this case, the effect name is "Adobe 3D Effect.

  • keyboard shortcut to apply the paragraph tag

    I am experienced with FrameMaker 8, but just to start getting used to FrameMaker 9. A keyboard shortcut that I use constantly in FrameMaker 8 is Ctrl-9, type the first letter of the paragraph tag, and then press ENTER. If there is more than one, starting with the same letter, I keep just hitting this letter until it appears the tag I want. For example if there is a title 1 and a Title2, I type 'h' twice to get Title2. With FrameMaker 9, it seems that I have to type the whole word "Title2" before hitting entry.

    Frustrating when shortcuts favorites are messy. Is it possible to recover my old shortcut? Is there a quick way to apply paragraph tags in FrameMaker 9?

    Jay fresno wrote:

    I am experienced with FrameMaker 8, but just to start getting used to FrameMaker 9. A keyboard shortcut that I use constantly in FrameMaker 8 is Ctrl-9, type the first letter of the paragraph tag, and then press ENTER. If there is more than one, starting with the same letter, I keep just hitting this letter until it appears the tag I want. For example if there is a title 1 and a Title2, I type 'h' twice to get Title2. With FrameMaker 9, it seems that I have to type the whole word "Title2" before hitting entry.

    Frustrating when shortcuts favorites are messy. Is it possible to recover my old shortcut? Is there a quick way to apply paragraph tags in FrameMaker 9?

    Type down arrow after selecting the first of similar format names. For example, Ctrl + H 9 DnArrow moves to Title2, or whatever the second format that begins with "H".

    Consider using format names that have less of the same main characters. For example:

    Title 1 H 1

    2 H Title2

    1N Numbered1

    Numbered N

    1 typo displays 1 H Heading1; DnArrow moves to 1N Numbered1.

    Some people separate the abbreviation of the full name with an underscore instead of a space; i. e., 1H_Heading1, instead of 1 H Heading1.

    HTH

    Kind regards

    Peter

    _______________________

    Peter gold

    Know-how ProServices

  • How to apply the expression using script?

    I use a script and an expression to automate all the layer selected to attend the control layer. So, I've do it now in two steps, first make a layer of control using this script:

    {

    model var = app.project.activeItem;

    var slctd_layer = comp.selectedLayers;

    var new_adjustment = comp.layers.addSolid ([1,1,1], "Control", comp.width, comp.height, comp.pixelAspect, comp.duration);

    new_adjustment.adjustmentLayer = true;

    var addSlider1 = app.project.activeItem.selectedLayers [0]. Effects.addProperty ("ADBE Slider Control");

    addSlider1.name = "time";

    addSlider1.property (1) .setValueAtTime (0, 0.06);

    var addSlider2 = app.project.activeItem.selectedLayers [0]. Effects.addProperty ("ADBE Slider Control");

    addSlider2.name = "opacity";

    addSlider2.property (1) .setValueAtTime (2, 0);

    addSlider2.property (1) .setValueAtTime (2.03, 100);

    }

    Then, I select all the layer under the control and apply the expression, for example:

    delay = thisComp.layer("Controler").effect ("delay") ("Slider") * index;

    t = time + delay;

    exp = thisComp.layer("Controler").effect ("opacity")("Slider").valueAtTime (t);

    exp;

    I'm working on an animation of the tight timelines and tons of materials with tons of layer for each model now. So I think that if it is possible to combine this stage two in a script that will automate this work for me. I'm still new to scripts and none need help with it. Thank you

    Like this:

    var ease = new KeyframeEase(0,100/6);    // speed (0 for easeIn or easeOut, influence range: 0-100)
    var addSlider1 = new_adjustment.effect.addProperty("ADBE Slider Control");
    addSlider1.name = "delay";
    // 1st key: value + ease
    addSlider1.property(1).setValueAtTime(0, 0.2);
    addSlider1.property(1).setTemporalEaseAtKey(1, [ease], [ease]);
    addSlider1.property(1).setInterpolationTypeAtKey(1, KeyframeInterpolationType.LINEAR, KeyframeInterpolationType.BEZIER);
    // 2nd key: value + ease
    addSlider1.property(1).setValueAtTime(2.03, 0.03);
    addSlider1.property(1).setTemporalEaseAtKey(2, [ease], [ease]);
    addSlider1.property(1).setInterpolationTypeAtKey(2, KeyframeInterpolationType.BEZIER, KeyframeInterpolationType.LINEAR);
    

    (The use of setInterpolationTypeAtKey is not necessary, it is only there to do things similar to what you would get by doing things by hand).

    Xavier

  • Is it possible to add pictures to the collection used in Photomerge Style Match?

    When using the menu: enhance-> Photomerge® Style Match, there will be six images to choose from. The path that is (Mac):

    / Applications/contents/resources/models/while this menu is only available in Expert mode, you find yourself in guided when you choose. I therefore assume that there is actually an Action or at least a script.

    Simply by adding an image wouldn't work, that I confirmed. Even reconstruct the MediaDatabase.db3 did not help. But there must be more than the simple jpeg that the application uses to accomplish the effect... or maybe not! ;-) All I want to know is if there is a way to add images to the list of choices.

    Thank you!

    What version of photoshop elements and mac os x are you using?

    Once your in the Style game screen you add pictures using the green button

    (the screenshot is Photoshop elements 12)

  • [CS3/4, JS] Apply the pen with an object style

    I was hoping to apply transparency via an object style effects using this:

    myObjectStyle.objectStyleContentEffectsCategorySettings.enableFeather = true;

    But "object does not support the property or method...". "etc.

    I would be very grateful if someone could point me in the right direction.

    Thanks in advance - Jeremy

    I had this same problem with the bevel and emboss effect and I just thought about it!

    Here is the code for my style of object and bevel/stamping out perfectly.  The key is the last line.  You must set the parameter applied to true so he could check the box and actually apply the effect.

    var myObjectStyle = myDocument.objectStyles.item ("FamilyOfFrame");
    try {}
    var myObjectStyle.name = MyName;
    }
    {} catch (MonErreur)
    myObjectStyle = myDocument.objectStyles.add({name:"FamilyOfFrame"});)
    }
    myObjectStyle.strokeWeight = 0;
    myObjectStyle.transparencySettings.bevelAndEmbossSettings.size =. 09;
    myObjectStyle.transparencySettings.bevelAndEmbossSettings.style = 2020618852;
    myObjectStyle.transparencySettings.bevelAndEmbossSettings.applied = true;

    But as I learn... not all effects include the "applied"... property

    Alex

  • To apply the logic using Last_Value

    First of all sorry about the description of poor in the subject.
    I must apply the logic to a working procedure, and I'm not entirely sure about how best to manage it. I don't have a solution of coding here, just in what way you guys could address the issue.

    I get about 1000 lines ETL every 10 minutes for a specific table, here's one for example

    TXN_SEQUENCE | LOT_ID | ACTIVITY | STEP | OUT_STEP
    623277664 |      K7231P | TrackOut | MEAS_MON_SRHO | MEAS_MON_SRHO
    * 623277665 |      K7231P | ModAttr: Stadium | MEAS_MON_SRHO |      *
    * 623277666 |      K7231P | MoveToLocation | MEAS_MON_SRHO |      *
    * 623277801 |      K7231P | MoveToLocation | MEAS_MON_XRF |      *
    * 623277802 |      K7231P | Memorize | MEAS_MON_XRF |      *
    * 623278799 |      K7231P | TrackOut | MEAS_MON_XRF | MEAS_MON_XRF *.
    623278800 |      K7231P | ModAttr: Stadium | MEAS_MON_XRF |
    623278801 |      K7231P | MoveToLocation | MEAS_MON_XRF |
    623279281 |      K7231P | MoveToLocation | DEP_METAL |
    623280453 |      K7231P | MoveToLocation | DEP_METAL |
    623356496 |     K7231P | TrackOut | DEP_METAL | DEP_METAL


    || is supposed to be a column delimiter in the case where these messages in a strange format.

    The logic is that the field step updates not fast enough. When a lot_id has a "TrackOut" an Out_Step is created. So, I read this that which is between 623277665 and 623278799 belongs to the MEAS_MON_XRF out_step (we read froom low up - sorted by Date).
    When it is not equal to step I want to change so that it matches OUT_STEP
    i.e. 623277665 should have a value of MEAS_MON_XRF No.

    I wrote the code to do this, use the LAST_VALUE function. My problem is when I get 2 "TrackOut" within the ETL. LAST_VALUE will only give me an incorrect value for some or all will be DEP_METAL.
    I'm bundling by Lot_ID as a typical etl will be for several different lot_ids lines throughout, this does not allow me the failure that I need.

    So I tried the CASE statements, create table tmp with a kind of counter, i.e. the number of TrackOuts for each Lot_ID, but I do not know how to handle those with more than one.

    I appreciate what can be as plain as if mud if you need please ask any clarification or if you feel my attempts at codification would help I'll also post them to the top.
    I'm curious to see how you guys would approach a problem like this and advice on how break you the logic would be appreciated I think I'm missing a little in this area at the minute.

    See you soon,.
    Gerard.

    If 'TrackOut' activities have always an outstep, then:

    with my_tab as (select 623277664 txn_sequence, 'K7231P' lot_id, 'TrackOut' activity, 'MEAS_MON_SRHO' step, 'MEAS_MON_SRHO' out_step from dual union all
                    select 623277665 txn_sequence, 'K7231P' lot_id, 'ModAttr : Stage' activity, 'MEAS_MON_SRHO' step, null out_step from dual union all
                    select 623277666 txn_sequence, 'K7231P' lot_id, 'MoveToLocation' activity, 'MEAS_MON_SRHO' step, 'FRED' out_step from dual union all
                    select 623277801 txn_sequence, 'K7231P' lot_id, 'MoveToLocation' activity, 'MEAS_MON_SRHO' step, null out_step from dual union all
                    select 623277802 txn_sequence, 'K7231P' lot_id, 'TrackIn' activity, 'MEAS_MON_SRHO' step, null out_step from dual union all
                    select 623278799 txn_sequence, 'K7231P' lot_id, 'TrackOut' activity, 'MEAS_MON_XRF' step, 'MEAS_MON_XRF' out_step from dual union all
                    select 623278800 txn_sequence, 'K7231P' lot_id, 'ModAttr : Stage' activity, 'MEAS_MON_XRF' step, null out_step from dual union all
                    select 623278801 txn_sequence, 'K7231P' lot_id, 'MoveToLocation' activity, 'MEAS_MON_XRF' step, null out_step from dual union all
                    select 623279281 txn_sequence, 'K7231P' lot_id, 'MoveToLocation' activity, 'DEP_METAL' step, null out_step from dual union all
                    select 623280453 txn_sequence, 'K7231P' lot_id, 'MoveToLocation' activity, 'DEP_METAL' step, null out_step from dual union all
                    select 623356496 txn_sequence, 'K7231P' lot_id, 'TrackOut' activity, 'DEP_METAL' step, 'DEP_METAL' out_step from dual)
    ---- end of mimicking your data; USE SQL below:
    select txn_sequence,
           lot_id,
           activity,
           step,
           out_step,
           last_value(out_step ignore nulls) over (partition by lot_id order by txn_sequence desc) new_step,
           last_value(decode(activity, 'TrackOut', out_step) ignore nulls) over (partition by lot_id order by txn_sequence desc) new_step2
    from   my_tab
    order by txn_sequence;
    
    TXN_SEQUENCE LOT_ID ACTIVITY        STEP          OUT_STEP      NEW_STEP      NEW_STEP2
    ------------ ------ --------------- ------------- ------------- ------------- -------------
       623277664 K7231P TrackOut        MEAS_MON_SRHO MEAS_MON_SRHO MEAS_MON_SRHO MEAS_MON_SRHO
       623277665 K7231P ModAttr : Stage MEAS_MON_SRHO               FRED          MEAS_MON_XRF
       623277666 K7231P MoveToLocation  MEAS_MON_SRHO FRED          FRED          MEAS_MON_XRF
       623277801 K7231P MoveToLocation  MEAS_MON_SRHO               MEAS_MON_XRF  MEAS_MON_XRF
       623277802 K7231P TrackIn         MEAS_MON_SRHO               MEAS_MON_XRF  MEAS_MON_XRF
       623278799 K7231P TrackOut        MEAS_MON_XRF  MEAS_MON_XRF  MEAS_MON_XRF  MEAS_MON_XRF
       623278800 K7231P ModAttr : Stage MEAS_MON_XRF                DEP_METAL     DEP_METAL
       623278801 K7231P MoveToLocation  MEAS_MON_XRF                DEP_METAL     DEP_METAL
       623279281 K7231P MoveToLocation  DEP_METAL                   DEP_METAL     DEP_METAL
       623280453 K7231P MoveToLocation  DEP_METAL                   DEP_METAL     DEP_METAL
       623356496 K7231P TrackOut        DEP_METAL     DEP_METAL     DEP_METAL     DEP_METAL    
    

    had to do it.

    If 'TrackOut' activities could have out_steps null, then change

    last_value(decode(activity, 'TrackOut', out_step) ignore nulls)
    

    TO

    last_value(decode(activity, 'TrackOut', nvl(out_step, step)) ignore nulls)
    

    (assuming that it is allowed to use step instead of the out_step in this situation)

    Published by: Boneist on June 24, 2009 11:49

  • Apply the hotfix using ADOPTION in R12.2.4

    Hi all

    EBS R12.2.4

    OEL 6.5

    11 GR 2

    The consultant encoutered issue in the setup and asked me to apply the p18955265_R12 patch. HZ. C_R12_GENERIC.

    I want to apply this fix by using "adoption." I understand that in R12.2.4, you can not apply a patch using adpatch? but only adopt?

    Patch adoption cycles mentioned the following:

    Phases:

    adoption phase = prepare-> copy the code of the application

    adoption phase =-> apply patch in PATCH environment

    adoption phase = finalize-> makes it ready for the failover system

    adoption phase = failover-> bounce the transition to the system of system files and. FS2 becomes runtime environment.

    adoption phase = cleaning-> withdrawal of obsolete objects.

    adoption phase = fs_clone-> synchronize file systems

    Do I have to perform the steps above to apply the p18955265_R12 hotfix. HZ. C_R12_GENERIC?

    Thanks a lot for your kind cooperation.

    MK

    MariaKarpa (MK) wrote:

    Thanks hussein,.

    I think that these phases are carried out in complete sequence if you apply major patches as 12.2.2 12.2.3 and 12.2.4?

    Well, these phases are applicable to the 12.2.x

    Thank you

    Hussein

Maybe you are looking for

  • TB check gmail, said there are 88 messages then download any.

    For some reason any TB stop working with gmail. It goes on the site, says there are 88 messages then will then send. I have unread messages in gmail. I put gmail to delete messages when they are downloaded from the server and it does not happen eithe

  • Changed my dock color. How can I change them back?

    Docking station went dark grey transparent semi and brightness and the volume of the GUI changed from white to gray as well. Cannot find anywhere to change their return.

  • Satellite L100-130: every moment of sound when start the computer

    I have a Toshiba Satellite L100-130 (my first laptop and my first experience with Windows XP). When I start my computer I hear the Microsoft Windows XP, but after that I have to manually set the volume, because it is set to 0 whenever I start my lapt

  • Blue error screen of death repeatedly at startup

    I have the error on blue screen of death on my Dell laptop. It gives me an error Stop: 0x0000007E (0xC0000005, 0x82E51AD2, 0xF89C729C, 0 x I89C6F98). I've heard various solutions to this problem, but I don't know that we'll fix it. The system specifi

  • WEBSCAN

    A common question that I see on the forums occurs when the computer cannot communicate with the scanner. Now, these issues can be caused by a number of issues of the connection method (i.e. wirelesss Ethernet, USB) for programs that the printer inter