How do I make no a character style color

I gave a red color to a character style
That you get a script
Click I get no color
Click again when I get back to the original color
is it possible

Your current code in main_pkg wouldn't throw a NO_DATA_FOUND exception. Looks like you just want to check if any row exist in the table. You don't need to use cursors for that.
Modify your main_pkg so that it can have only the SELECT statement, OR you can just eliminate the package in this case, and move your select statement to the calling program.

Similar Messages

  • How can I make the background one solid color?  It is too difficult and noticeable when I use the retouch button and try to erase all the creases in my backdrop.  So, how can I have just a solid white background?

    How can I make the background one solid color?  It is too difficult and noticeable when I use the retouch button and try to erase all the creases in my backdrop.  So, how can I have just a solid white background?

    When talking about a specific image posting the image may be useful.
    One can use a Layer Mask and add a white Layer underneath.

  • In photoshop, how do you make a background a solid color?

    In photoshop, how do you make a background a solid color?

    Select all then edit fill is one way.
    However if you mean the background behind a subject you need to separate the subject from its background the change just the background.  Look for tutorials on replacing background and extracting subjects

  • The white background makes my eyes hurt. How can I make the background a different color?

    The white background makes my eyes hurt. How can I make the background a different color?

    http://www.itworld.com/development/351097/setting-active-menu-item-based-current-url-jquer y

  • How can i make simple program to match colors ?(photos taken by camera)

    how can i make simple program to match colors ?(photos taken by camera)

    Hi khaledyr,
    use a "random number" and compare for ">0.5" to get a (1 or 0) signal
    What exactly are you searching for?
    - Hints for choosing hardware?
    - How to output voltage or relais signals?
    - Help on using DAQ(mx)?
    - Help on generating (boolean) waveforms?
    Message Edited by GerdW on 04-16-2010 08:15 AM
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • [JS InDesign CS3] Style groups, begone! (or: How do I take paragraph and character styles out of style groups?)

    Sorry for this question (and my terrible English, by the way), I'm a javascript noob and I know when I've reached my limits.
    Well, I'm trying to take a set of paragraph and character styles out of the style groups they are placed in, in hundreds of InDesign documents (that cannot be treated as a book). As far as I've tried (thanks to the invaluable help of previous posts in this forum) I've been able to move a style into a group and change it's position inside the group, inside the root level or even between groups. But it doesn't matter how I try, I don't know which move reference should I try in case I want to take every style out of their style group and place them after their original group folder, at the [Root] style level .
    I have tried:
    var doc=app.activeDocument;
    var pGroups=doc.paragraphStyleGroups;
    for (i=pGroups.length-1; i>=0; i--){
         var pStylesInGroup=pGroups[i].paragraphStyles;
         for (j=pStylesInGroup.length-1; j>=0; j--){
    // Here I am, trying to move a style outside the folder that contains it, and failing miserably.
              pStylesInGroup[j].move (LocationOptions.after, pGroups[i]);
    It didn't work, the script sent an invalid parameter value in the reference field, so I cant use the group folder itself as reference.
    Tried other (obviously wrong) solutions, like use the first available style as reference. Therefore, my second script was
    var doc=app.activeDocument;
    var pStyles=doc.allParagraphStyles;
    var pGroups=doc.paragraphStyleGroups;
    for (i=pGroups.length-1; i>=0; i--){
         var pStylesInGroup=pGroups[i].paragraphStyles;
         for (j=pStylesInGroup.length-1; j>=0; j--){
    // Now I try placing the styles after the [Basic Paragraph], that is, the second paragraph style in the document style list
              pStylesInGroup[j].move (LocationOptions.after, pStyles[1]);
    It didn't work either, another invalid parameter in the reference field. Similar results with my other attempts (I even tried "[Root]" as literal with similar luck).
    So, my question is: Which command (or script, in case my whole approach is utterly wrong) should I use to achieve my goal?
    Thanks in advance to whoever decides to spend more than a minute thinking about my humble worries, and my apologies for shamelessly ripping some of your lines of code for my purposes.

    Okay, tried a few things and got really weird results!
    1. You can move a style around inside its group.
    2. You can move a style out of a group "to" another, but it will appear 'inside' that style. I got my test style as a sub-item of [Basic Paragraph], using index #1. With index #0 ([No Paragraph Style]) InDesign crashed.
    3. You can duplicate the style, but then you get a copy in the same group. Still no luck.
    4. Finally! What is the parent of a paragraph style?
    Document | Application | ParagraphStyleGroup
    "Application" is easy -- that's when you make a style global. So what's the difference between 'Document' and 'paragraphStyleGroup'? Simple -- well, when you finally get it...
    pStylesInGroup[j].move (LocationOptions.AT_END, doc);
    moves the style out of the group and to the end of the list in the document. I don't think it's possible to move it directly to a specific position into the main style list -- you first have to move it out of a group, then move it around in its own list.
    Fortunately, it returns its new position as a ParagraphStyle again, so if needed, you can use
    newStyle = pStylesInGroup[j].move (LocationOptions.AT_END, doc);
    newStyle.move (LocationOptions.AFTER, pStyles[1]);
    -- I didn't really try that out, but it should work.

  • How do I apply a specific character style to specific text?

    Long-time Photoshop and Illustrator user. New to Indesign.
    Fortunately, this isn't an issue of how to go about creating fractions. I've already chosen a route for that. I'm simply applying a Character Style that checks the opentype "fractions" box.
    Here's an example of the content I'm dealing with:
    Above is my styled table in Indesign, after pasting in data I'm being given data in excel spreadsheets.
    How might I quickly apply my "ptable_BODY FRACTIONS" style to only certain text, like: "1/2"  +  "1/4"  +  "1/8"  & preferably random arbitrary fractions like "34/69"?
    GREP can do some great things, but can it selectively apply character styles?
    This might be a job for a paragraph style. I'm not sure.  . .

    @ John
    That's exactly what the GREP Styles feature does. Arriving at a GREP expression that accurately targets your fractions may be another matter considering your screen shot shows your content to have no space between whole numbers and fractions.
    Right. It keeps including the whole number preceding the fraction.
    I'm dead set on there not being a space between the whole number and fraction, too.
    I'm trying to figure out how to tell Indesign to take all fractions and give them opentype fractions settings.
    I'll only be dealing with standard fractions I'm hoping, so arbitrary fractions shouldn't be necessary.
    Just halves, quarters, eighths, and sixteenths should be ok. These are likely the only fractions I'll ever need to deal with: 1/2, 1/4, 3/4, 1/8, 3/8, 5/8, 7/8, 1/16, 3/16, 5/16, 7/16, 9/16, 11/16, 13/16, 15/16.

  • How to write script to apply character style?

    Hi,
    I'm on a Macbook pro and without a number pad so I can't assign a shortcut for the character styles. I did hear of a roundabout solution where you can assign a shortcut to a script which applies the character styles. Can anyone write this script?
    My character style is called 'Features bold'.
    I'm new to scripting, sorry if this is a dumb question.
    Cheers

    Hi,
    1. Save this code as .jsx file inside your Script Panel folder
    2. Apply a shortcut using Edit:Keyboard shortcuts... menu
    Option to choose:
    suggest to choose an option "context": "Text", so you can use more shortcuts which are busy with other contexts.
    #target indesign
    if (app.selection && app.selection[0].hasOwnProperty ("baselineShift") ) {
      var cName = "Features bold";
      var mCstyle = app.activeDocument.characterStyles.item(cName);
      if (mCstyle.isValid)
           app.selection[0].applyCharacterStyle(mCstyle);
      else
           alert ("CharStyle: " + cName + " not found");
    else
      alert ("Some text supposed to be selected...");
    Jarek

  • How to use AppleScript to set "character fill color" in Pages 5.2?

    For Pages 5.2 on OSX 10.9.3, what is the correct applescript for changing the "character fill" of text in pages. 
    If you highlight text, you do this via your mouse in the inspector by clicking "style," "advanced option (the gear wheel to the right of bold, italics, and underline), "character fill color (clicking on the multi-color circle, not the dropdown menu), and then choosing a color that comes up in the "colors" dialogue box.
    I've looked all over and cannot find how to use applescript to set the character fill color in pages. 
    In some examples (not directly related) I see "character fill" used. 
    In others, I see "colorfill." 
    Basically, I want to use applescript, embedded in a keyboard maestro macro, to change the background color of the text (not the text color itself) to particular colors. 
    Given the changes and updates to Pages this year, and to applescript, what's the easy way to do this?
    Thanks!
    Chuck

    Pages v5.2 still does not include selection-object, or character background color entries in its AppleScript dictionary, as does Pages ’09. Indirectly, using System Events, you can get the text selection in Pages v5.2, but then you can do nothing to change the selection. No assurances as to if or when Apple will mature the AppleScript dictionary support for Pages v5 series.

  • How do you make the background all one color without disturbing the subjects?

    I shot a wedding this past weekend.  Where the bridal party walked in there was an acrhway with christmas lights as the only lights.  It made the background all splotchy.  I have tried the paintbrush tool, but only preset choices, such a textures and such.  Won't help.  I need to work around people and make the background all one color.  I've tried using a vignette, but it made it too dark, and when you lighten the exposure you see all the splotches.  Does anyone have any advice.  I am in a  jam, I want the colors to be uniform for all the bridal party....and not look like someone threw paint on the wall.  HELP PLEASE!
    I'm using Adobe Photoshop Elements 10.

    You'll need to post an example so we can figure out the best way.
    Ken

  • How do I make my vector character shrink well?

    I created a character in illustrator that I plan to use in animations and on the web. When I shrink the vector to the size of, for example, a small avi picture for social media, I significantly lose line quality. How can I maintain the quality of detail? Is there a specific way that I should save or setup the document?

    dustycanvas,
    If you get distortions when scaling down, you may be facing the Align to Pixel Grid issue; you can turn that off in the Transform panel (two places).
    If this is about a general degrading at small sizes, you may have to simplify the character so it is suitable for the size.
    An image illustrating the issue might help helpers help you.

  • How can I see where Paragraph / Character Styles are used?

    I am editing a 40-page document and have many Paragraph styles. I have already deleted unused paragraph styles and now would like to see where are the remaining styles used to edit the text directly. IS there a way to see it? (InDesign CS4 or CS5)
    Thanks,
    Marina

    Marine von Koenig wrote:
    I am editing a 40-page document and have many Paragraph styles. I have already deleted unused paragraph styles and now would like to see where are the remaining styles used to edit the text directly. IS there a way to see it? (InDesign CS4 or CS5)
    Thanks,
    Marina
    Save two copies of the file.
    Close the original file. In a saved copy, [EDIT] use the paragraph style panel to [/EDIT] change the text color of every paragraph style to a new color whose swatch you name for the paragraph style. For example, Head1 paragraph style's text color becomes your newly-made swatch Head1color.
    Every paragraph in the document will appear in the color you assigned. This should give you a picture of which paragraphs are which style.
    Save the colored version of the file if you want to keep it.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices
    Message was edited by: peter at knowhowpro

  • How can I make a link a different color than the other links according to the current page?

    Hello.  I have created a navigation bar.  And I would like to style the links to have the current page link a different color than the other links.  For example, if all of the links have a black background, I would like to have the current page link to have a white background.  The reason that I would like to style them this way is so that the visitor knows what page is being visitied.
    I tried different ways but all of them did not show to make any change to the links.  This is what I have so far.  The links work, but all of them have the same color and background.  When on the home page, I would like to have the home page link to have a white background with black letters.  I would appreciate your advice.
    <head>
    ul {
        list-style-type: none;
        text-align: right;
        padding-top: 10px;
        padding-bottom: 6px;
        padding-right: 10px;
    li {
        display: inline;
    a:link {
        color: #FFF;
        background-color: #000;
        text-align: center;
        padding-top: 8px;
        padding-right: 8px;
        padding-bottom: 8px;
        padding-left: 7px;
        text-decoration: none;
    a:visited {
        color: #FFF;
        background-color: #000;
        text-decoration: none;
    a:hover {
        color: #000;
        background-color: #FFF;
        text-decoration: none;   
    a:active {
        color: #FFF;
        background-color: #000;
        text-decoration: none;   
    a.menu:link {
         color: #000   
         background-color: #FFF;
         text-decoration: none;
    </head>
    <body>
    <div class="navigation">
        <ul>
            <li class="menu"><a href="index.html" target="_self">HOME</a></li>
    </body>
    Thank you very much.

    http://www.itworld.com/development/351097/setting-active-menu-item-based-current-url-jquer y

  • How do you make a SpryMenuBar a different color for each page?

    Hey everyone. I'm new to web design and dreamweaver is definitly kicking my butt. Anyway, I'm trying to create a simple website for a foundation and I want to make each page have a different color Sprymenubar to match the color theme of the different pages. The site will only have about 6 color themes max so this shouldn't be a huge undertaking. The trouble I'm having is I have created the home page (the color green) and right now I'm working on the second page (the color blue). When I added a new sprymenubar and changed the CSS Rule to make the color of the menu blue and the hover color light blue it then changes the color of the menu on the home page from Green to Blue. How annoying! I even tried starting from scratch and inserting another horizontal sprymenubar but I can't seem to make another horizontal sprymenubar with a whole new set of rules independent from the first one. What can I do? Do I have to make an editable region or am I just not clicking a certain button to make the new menubar independent from the first one?
    Examples
    First this
    Then this
    And then this happens 
    Let me know!!

    Ok I found a similar question on this forum that was answered and helped. If anyone comes across this wondering the same thing, copy and paste your SpryMenuBarHorizontal.css file and rename the copy to something like "(Title_Of_Page)SpryMenuBarHorizontal.css" and then replace "SpryMenuBarHorizontal.css" in your code to <link href="../SpryAssets/(Title_Of_Page)SpryMenuBarHorizontal.css" and then you are good to go.

  • How can I make the new update more colorful my mother can't read the white pages with tiny lines we hate it

    How can get the color back on my iPad 2 retina  my mother can not read the new white pages with tiny line or the text messages

    You can go into the settings and make the fonts bigger, also in the accessibility, make the contrast better and fonts bolder.
    There is also the 'invert colors' but it's not the best thing since it inverts everything.
    unfortunately this doesn't seem to be a good update for those with visual issues.
    http://www.apple.com/feedback/
    You can let Apple know. They won't answer but at least you can be added to the talley of those that have issues.

Maybe you are looking for

  • Email remittances to vendors/suppliers for voided cheques

    Hi Masters, I will highly apprecaite if someone can help me with the following issue : The system is sending email remittances to EFT vendors for voided cheques. For example: Cheque number 343028 was voided in the system sent an email to the vendor i

  • How to get IDES version for training !!

    Hi,    I like to train SAP SD module, for that how to get IDES vesrion, is it available in the net. Thanks, Senthil

  • SQLPLUS multiple data entry. Very easy question for experts.

    Hi sorry to bother you again but is it the same method as in MySQL to enter multiple data at once? I am trying to save time by entering all the contents of a table all at once, For example; INSERT INTO Borrower (BorId, BorName, BorMaxBooks) VALUES (

  • Formatting the x axis

    How can I format the x axis to show whole numbers only?  I have a simple chart that is counting incidents and if there is only one during that time period, it will list .1 increments. Here is a sample chart of what I am getting on the left, and what

  • How to enable Browser View option in Performance Scorecard

    Hello Experts, I am working on Hyperion Performance scorecard 11.1.1.1.0.I can navigate the scorecard from the workaspace.I am not getting any documentaion which can give me the crystal idea about the steps need to follow to create scorecards,measure