Help: How to fix a line in this script (well almost) on the change of the actual text capital LETTERS?

app.findGrepPreferences = null;

app.findGrepPreferences.findWhat = "\\l\\l+";

app.activeDocument.characterStyles.item ("SC");

foundList = app.activeDocument.findGrep (true);

for (i = 0; i < foundList.length; i ++)

foundList [i] .changecase (ChangecaseMode.UPPERCASE);

The idea is to choose the magenta words in salt to be set in uppercase.

The problem is the script (based in Jongware and P. Kahrel) is to convert all the texts for no capital letters not assuming that the condition to the style of characters 'SC'.

Instead, it evolves throughout the text:

upper.jpg

Try:

app.findGrepPreferences.appliedCharacterStyle = app.activeDocument.characterStyles.item ("SC");

* not tested

Tags: InDesign

Similar Questions

  • How can I identify all the words in capital letters and change to initcaps?

    Hello

    I'm using Oracle 11.g

    I have a table with multiple textual data varchar2 columns.  There are several words that are all uppercase.  In all cases, these capital words should be replaced by different cases (for example, HELLO Hello).  How find the capitalized words in all the lines and change them to mixed-case?

    Thanks for your help.

    The rownum in your update statement is probably taken as the virtual rownum http://docs.oracle.com/cd/E11882_01/server.112/e41084/pseudocolumns009.htm#SQLRF00255

    This is probably the reason why the script compiles, but the update does not work as there is no column named rownum in your table (even if it exists, rename it as is among the reserved words http://docs.oracle.com/cd/E11882_01/server.112/e41084/ap_keywd001.htm#SQLRF55621)

    trying to avoid loops to the extent possible, that I see it more as

    CREATE TABLE 'LITURGY_READING_COPY' ("ROW_ID" NUMBER NOT NULL ACTIVATE, VARCHAR2 (4000) 'TEXT')

    Table created.

    insert into liturgy_reading_copy

    Select 1, ' a reading from the letter of Saint PAUL to the Romans: BROTHERS and SŒURS: everything that has been written above... ". »

    of all the double union

    Select 2, "another text, less HOLY inspiration, containing all the WORDS in capital LETTERS

    of the double

    2 inserted rows.

    ROW_ID TEXT
    1 A reading from the letter of Saint PAUL to the Romans: BROTHERS and SŒURS: everything that has been written above...
    2 Another text, at least the HOLY inspiration, containing all the WORDS in capital LETTERS

    merge into liturgy_reading_copy lrc

    using (with

    init_capitalizer (RID, CBC, res) as

    (select row_id,

    substr (text, instr (text,' ') + 1) | '  ',

    -case when substr (text, 1, instr (text,' ')) = upper (substr (text, 1, instr (text,' ')))

    then initcap (substr (text, 1, instr (text,' ')))

    of another substr (text, 1, instr (text,' '))

    end

    of liturgy_reading_copy

    Union of all the

    Select RID.

    substr (src, instr (CBC,' ') + 1) | ' ',

    RES | -case when substr (src, 1, instr (CBC,' ')) = upper (substr (src, 1, instr (CBC,' ')))

    then initcap (substr (src, 1, instr (CBC,' ')))

    of another substr (src, 1, instr (CBC,' '))

    end

    of init_capitalizer

    where rtrim (src) is not null

    )

    Select RID, res

    of init_capitalizer

    where rtrim (src) is null

    ) ic

    on (lrc.row_id = ic.rid)

    when matched

    then update

    text = ic.res

    Statement processed.

    ROW_ID TEXT
    1 A reading from the letter of Saint Paul to the Romans: siblings: everything that has been written above...
    2 Another text, less Holy inspiration containing all the words in capital letters

    Concerning

    Etbin

  • How to fix error code: 805 has 8011, when you access the app Store?

    How to I get rid of this thing of code tries to download an application

    Post proposed by the facilitator for the appropriate forum placed

    The topic is edited for clarity by the moderator *.

    Hello

    To fix your problem, you can refer to the post Of Aurelia r on September 15, 2014 for fixing error code 805 a 8011 measures by clicking on this link.

    Let us know how it goes.

    Best regards

  • Microsoft Fix It does not "Windows Script Host gave me the error message: cannot find engine\ 'VBScript' Script script.

    installed Microsoft Fix It.  When I try to launch it I get the message that there is an error during the MicroFix troubleshooting it won't work.  I can only use the online version.

    I had a problem installing a program and products purchased for the program.  Windows Script Host gave me the error message: cannot find engine\ script 'VBScript' Script 'C:\Users\debra\AppData\roaming\MyEQBoutique\Boutique Registry Entries.vbs.  I uninstalled the program.  I ran the SCF.  Ran the clean boot, and then set back to normal. I restored to the previous day.  I ran the scan online to remove malicious whatevers, also, I went and changed all my default settings.  Windows tells me that it is up-to-date.  I have Windows Vista Home Premium, I use Microsoft defender and Microsoft Security Essentials.  What is going on? What can I do else?

    Hello

    (1) have you made changes before the start of this issue?

    (2) have what program you tried to install?

    (3) you are able to install any other software on your computer?

    (4) what fix - it you try to run?

    This occurs if the filevbscript.dll runtime script is not properly registered in the system.

    Try the steps below and check if you are able to run the Microsoft fixit.

    a. click the Start button, type cmd. In the result of the research with the right button on cmd and select run as administrator.

    b. type cd %windir%\system 32 (Note: there is a space between the system and 32) and press ENTER.

    c. type regsvr32 vbscript.dll in the command prompt, and then press ENTER.

    d. type regsvr32 jscript.dll in command prompt, and then press ENTER.

    If the registration was successful, you should now see the following message is displayed:

    DllRegisterServer in vbscript.dll successful.

    e. now, try to run the Microsoft fixit.

    See also:

    Solve problems with programs that cannot be installed or uninstalled

    http://support.Microsoft.com/mats/Program_Install_and_Uninstall

    After the question in the following forum if the problem with fix - it persists.

    http://social.Microsoft.com/forums/is/fixitcenter/threads

    Let us know if that helps.

  • How to get to GREP change all the words in capital letters to capitalize each word

    I'm working on a page 100 ePUB + and I need to change the titles of 20 chapter of capital letters only to capitalize every word in the title. Most of the chapter titles begin with a digit, but some are pure text. The chapter titles all use the same paragraph style.

    For example: 4 THE HERE AND NOW should be changed to 4. The here and now

    For example: EPILOGUE must be changed to epilogue

    I can't GREP to do this in the window search/replace suddenly? (I don't see anything in the change to: field that allows me to convert it to.)

    -Thanks for any help on this.

    Hi Peter,.

    Change_Case_With_Style.jsx, original screenplay written by Thomas Silkjær.

    Modified by Bruno Herfst in 2011 by adding new features: find a style, expression GREP and cancel.

    See: Novelty/Change_Case_With_Style.jsx at master · GitBruno/novelty · GitHub

  • How to cut a section out of a certain letter in the living text?

    Screen Shot 2013-04-18 at 10.13.22 AM.png

    As you can see from this image in InDesign, I want to have the last part of the skin of "N" behind this diagonal line. However, while it is hard to tell in this picture, the background color is a gradient, so that I can just do color box. Anyone know if it's possible to do? I want to keep the direct text, are not described if possible. Pathfinder does not seem to work.

    Draw a picture of hands on the top of this text box. Set it to no fill, no respect. Cut the block of text, select the new image, select "paste inside".

    (OT-thought #1).

    ... I did a picture to show you, but Jive is jiving place- new! Anyone else having problems? In IE9, Win 7, does not return the Return key, the cursor is sometimes upward and I cannot insert a picture - all I get is the error

    An error occurred trying to retrieve data from the server. Please try again in a few minutes. Error code: object does not support property or method 'createContextualFragment '.

    (OT-thought #2) F * IE. Switch to FireFox.

  • How can I validate a form if at least one of the three text fields is selected

    Hi all

    My form has many fields but 3 text fields here that I need to have the Viewer to enter text in a text field before hitting the submit button.

    Don't know how to do in this regard.

    Thank you

    Courier says:

    I can't understand how to ensure at least a field is selected by the Viewer on the three text fields, any thoughts?

    Yes, I played a bit with this idea earlier today, but got distracted by other things.

    What follows is based on the following:

    • There is only one form on the page
    • No validation is involved
    • Each of these fields in the group that needs at least a field has "data-req1" (without the quotes) in its opening tag

    For example, if you have a form like this:

    Add the following just before the closing on the page tag:

    If you try to send the form without find out the name or the email field, you will get an alert dialog box and will refuse to submit the form. But if one or the other or both fields have values, the form will appear.

    In other words, it will work with any number of fields that have "data-req1" in the opening tag. So much that one of these fields has value, submits the form.

  • Need help: I need a checkbox for auto fill a value defined in the separate text field.

    Hi, this is my first time with the inclusion of scripts in a PDF form.

    We have a form that requires the user to check a box on medical conditions, they have (e.g. asthma, diabetes, Hypertension).  Later in the form, you must type the same condition in a text box. (I know it's stupid to the double document, but it is necessary).  Y at - it a script that will automatically fill the text box when the check box?  For example, if they check the asthma, the text box on a page in the PDF file will say "Asthma, controlled."  Is this possible?

    In addition, if they don't click asthma and click on diabetes, could you add diabetes to the first text box, but if they check them both, he would add asthma in box 1 and box 2 diabetes?

    Any help would be GREATLY appreciated.

    I'm using Acrobat 9

    Thank you!

    You could try to penetrate into this scipt in the text box that will contain the word 'Asthma', as appropriate.

    The screenplay is based on the boxes with the names "cbAsthma" and "cbDiabetes".

    The script in its present form adds the text in a box.

    As always with these scripts, they are case-sensitive.

    var a =' '

    If (this.getField("cbAsthma").value is "Yes")
    {
    a = 'asthma (controlled).
    }

    If (this.getField("cbDiabetes").value is "Yes")
    {
    a = a + "Diabetes".
    }

    Event.Value = has

    Hope that it will be somewhere near you looking for

  • This script takes copies of the Image?

    RDBMS version: 11.2.0.3
    Platform: AIX 6.1

    Is the below mentioned the backup script taking copy of the image? What is the type of backup that is used in this script?
    recover copy of database with tag daily1 until time 'sysdate - 1';
    backup  incremental level 1 for recover of copy with tag daily1 database;
    backup as compressed backupset archivelog all not backed up;
    allocate channel for maintenance type disk;
    delete noprompt obsolete device type disk;
    release channel;
    -Another question on the above script
    If a data file is lost, would I be able to quickly restore, recover by using the following commands, if I use the above backup script?
    RMAN>sql ‘alter database datafile 7 offline’;
    RMAN>switch datafile 7 to copy;
    RMAN>recover datafile 7;
    RMAN>sql ‘alter database datafile 7 online’;

    This is the strategy of "Update backups gradually" what Oracle documents, but some of us are not comfortable with.

    See http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmbckba.htm#CHDEHBFF

    Why I'm not comfortable?
    (1) it causes the local backup on the database server - that is to say on the same SAN as the target database! (unless you connect two different San on database server)
    (2) it provides only 1 backup of the database to be available at any time (unless you do religiously the backups from this location on tape every day)
    (3) it offers the opportunity to move to the last backup, but not older backups (unless make you backups on tape and so make sure that you have backups of image on different days on different bands).

    It is too easy for a DBA / SA to not follow the three recommendations 'less' I added.

    Hemant K Collette

  • I need help, how to fix error engine.exe - application

    Engine.exe - Application Error

    The exception unknown software exception (0xc0000417) occurred in
    the application at location 0x094ff9a7c.
    Click OK to terminate the program

    Hi Soeslam,

    1. what program are you trying to install?

    2. when exactly do you get this error message?

    You can choose a different location to install the program. You can install in C: drive itself rather install in C:\Program files and check if that helps.

  • How to fix only sends do not picture to Mail using the share of Photos?

    System: With the help of pictures, Version 1.3 (350.23.0) on MBP 13 "with OSX El Capitan version 10.11.3 (15 d 21)

    When you try to share a photo of Photos at the Mall, he won't move a photo.

    t tends towards the system of pigs and lock it. This does not allow copy/paste to photo copy in Mail. It stops Quit form pictures.

    What can I do to fix this?

    It works well on my mini iPad, but want to be able to do it on the MBP as well.

    She used to do but don't know what that maybe I changed that stop now what happens?

    Thank you

    When you try to share a photo of Photos at the Mall, he won't move a photo.

    t tends towards the system of pigs and lock it. This does not allow copy/paste to photo copy in Mail. It stops Quit form pictures.

    What can I do to fix this?

    AER, you use only copy and paste? Have you tried the menu share photos?  Sharing > mail?

    If the message is missing from the share menu, see this bug fix:

    If the markup or stock options is missing after upgrade to OS X Yosemite or El Capitan - Apple Support

    In addition, instead of copy and paste, it should be enough to drag and drop a photo of your pictures window to the open form of mail to attach a photo.

    Or, if you're writing an email, you should be able to add a photo using the Photo browser in Mail:

    Click the photo browser icon in the new message window to browse your library of photos directly from Mail.

  • How can I get rid of this thing of tv with the symbol of the camera in my project window, it's too much space. Thank you

    How can I get rid of the TV with the symbol of the camera in my project window, it's too much space.

    This is the preview window.

    In your support, it is show a folder but if it's a media clip... It is playable (Source Bin overview of monitoring).

    Disable it in the drop-down Menu (three bars horizontal bit)

  • How can I create something like this... See the link

    Please see an example of a typical newsletter at this link: http://kW.com/OutFront/index.php?issue=may-Jun

    I really want to learn to do it (do the pages turn, have a menu visible in the background, etc...).  And, if possible, I would also like to be able to insert links in the document that take the reader to another location in the document (for example, links on a Table of contents page that brings the reader to a place in the document).

    Where should I start?  I have Adobe 8 Standard.  Can I first create the entire document in PDF format and then transfer on in InDesign to finish once I have the content?  (I just started learning InDesign, if I'm not even too quickly on this issue.)

    I could really use help and advice on that!   I'd even pay a tax of tutoring if someone would be willing to lead me through the steps I need to do!

    If you can help, I would really appreciate it.   Thank you!

    lablovr (at) gmail.com

    Your options are

    (1) you can use a service provider which converts your PDFS into flippage magazine as in your example, most of them are commercial. Usually, you pay some question of costs/published or that there may be some monthly payments so... They place your magazine in their own special server and give you a link to your Web site.

    (2) you can create your flippage magazine out of InDesign CS4 as mentioned Scot. If you do it directly from InDesign, it s very easy to produce, but there is no element of navigation such as zoom, go to the next/previous page etc.. You can do some of these elements of InDesign layout the buttons and links hypertext, but that s of your time.

    You can also view an add-on for InDesign called eDocWorkflow. It automatically brings a user interface to your SWF files after exported them from InDesign CS4: http://www.prepress.fi/eDocBrowser

    West trial to test...

  • Why does evrytime it there serch bar like google the background is always blue? It is difficult for me to see my text, how do I get rid of this? as he wrote the bar all im is blue. It's not white like its supposed to be.

    Whenever I type in a search like Google bar, then click the bar the bar immediately turns blue it is particularly difficult to see my text that I write. It happens on any type of google search bar, ask, yahoo, msn, facebook, even when im trying to connect to different sites or signature upward for things the bar turns blue. It is extremely annoying and I tried several times to uninstall and re install fire fox and the problem persists. I have fire fox on my other computer and it does not happen on this computer.

    Perhaps this issue with Comcast constant Guard (protection of hits)

  • How to make a site like this on adobe muse? the effect of sliding page...

    Something like this site... http://www.razvangarofeanu.com/#the-g is this possible on muse adobe? Thank you!

    You can design probably the horizontal content, but with that page, you will need to link this anchor specific to another separately created page as as in case you use a single provision for all the contents of the page then you can not keep a different dimension to the same section of the page as a landscape and another section vertical. So it would create the content with content horizontal and vertical content and then link them with anchor points.

    I recommend you to try this out and check.

    Thank you

    Sanjit

Maybe you are looking for

  • Pavillion 500-056: memory

    My office has four ram slots. Two blue and two back. Right now I have 8 GB of ram in the blue slot of Babu. I'll add another 8 GB of ram. Should I put it in the second blue slot? Not sure if I use the blue or black slot or is it important.

  • 1. Windows cannot verify the 2 updates. Unable to connect to a windows service

    Hello, I need help, I tried a few KB. I have Windows Vista 64 bit version 6 build 6002 SP2 It is a tower only normal windowsupdatelog it on ad turn it off 2010-05-04 07:23:44:649 616 a7c Misc = logging initialized (build: 7.4.7600.226, tz:-0400) =.20

  • Received the call from someone claiming to be with Microsoft asking to pay for an upgrade

    and press END and then entered Microsoft View and request if there are errors. Said that I have to pay for an upgrade to my computer or my hard drive will crash.   IS this CORRECT are of yourselves or a scam.  They asked for money to upgrade. * origi

  • Console port (serial) on Powerconnect 6248 switch

    Hi all I have two powerconnect 6248 s. The first I've had for several months. The second, I just ordered recently. I can't go to the console in to the second switch. I use the same settings (minicom) and cable that I use regularly to connect to the f

  • Z10 blackBerry not recognized in text messaging contacts

    I noticed that when I receive text messages on my Z10, my saved contacts are not recognized. the sender comes in the form of number with the prefix of the country. However when I tried to save my numbers of contacts with the country code, when I reci