Changing case in a style ?

In IDCS2, is there a way of using a style to change case of a piece of text, or would this have to be done by scripting?
Anyone know, please ?
Bran

You're right, mate, and I realise in hindsight I was inspecific in the wording of my first post.
What I was hoping to be able to do was toggle the case between lower, upper and title case, as needed.
I'm out of my depth with scripting -- I wouldn't have a clue where to start. But in any event, am I wrong in thinking that, except in cases where the required change was regular and predictable, a script would have to be invoked manually anyway ? For my purposes, for ad-hoc sub-editing and formatting, I'm guessing it would be just as easy to use the menu.
But thanks, jongware. I appreciate your comments.

Similar Messages

  • Change case in paragraph style option

    I use different types of headng styles in my document. I use ALL CAPS for my first level heading and TITLE CASE for second level heading and SENTENCE FOR third level heading. It will be helpful if I have change case options in paragraph sytle
    Upper case
    Lowera case
    Title case
    Sentence case
    in paragaph style just like "BASIC CHARACTER FORMATS".
    Thanks
    Regards
    arul

    I think that's the wrong paradigm.
    Styles are for changing the look of text -- not the content. the way change case works (in every app I've ever seen) is by changing the encoding of the text.
    FWIW. I have a utility in my "Style Utilities" which can change case based on style: http://in-tools.com/products/plugins/style-utilities/
    Harbs

  • Updating Dave Saunders find style/change case script

    How can I update a Dave Saunders script from CS1 and CS2 to CS5?
    he wrote a brilliant script which searches for a paragraph style and changes the case to upper or lower.
    However, it was for CS1 and CS2.   I can 't get it to run on CS5.
    it trips up on
      app.findPreferences = null;
    object does not support 'findPreferences'
    here is the script.  thanks for your help!
    //DESCRIPTION: Converts text in designated parastyle to designated case
    if ((app.documents.length != 0) && (app.selection.length != 0)) {
    myDoc = app.activeDocument;
    myStyles = myDoc.paragraphStyles;
    myStringList = myStyles.everyItem().name;
    myCaseList = ["Uppercase","Lowercase", "Title case", "Sentence case"];
    myCases = [ChangecaseMode.uppercase, ChangecaseMode.lowercase, ChangecaseMode.titlecase, ChangecaseMode.sentencecase];
    var myDialog = app.dialogs.add({name:"Case Changer"})
    with(myDialog){
      with(dialogColumns.add()){
       with (dialogRows.add()) {
        with (dialogColumns.add()) {
         staticTexts.add({staticLabel:"Paragraph Style:"});
        with (dialogColumns.add()) {
         myStyle = dropdowns.add({stringList:myStringList,selectedIndex:0,minWidth:133});
       with (dialogRows.add()) {
        with (dialogColumns.add()) {
         staticTexts.add({staticLabel:"Change Case to:"});
        with (dialogColumns.add()) {
         myCase = dropdowns.add({stringList:myCaseList,selectedIndex:0,minWidth:133});
    var myResult = myDialog.show();
    if (myResult != true){
      // user clicked Cancel
      myDialog.destroy();
      errorExit();
      theStyle = myStyle.selectedIndex;
      theCase = myCase.selectedIndex;
      myDialog.destroy();
      app.findPreferences = null;
      app.changePreferences = null;
      myFinds = myDoc.search('',false,false,undefined,{appliedParagraphStyle:myStyles[theStyle]});
      myLim = myFinds.length;
      for (var j=0; myLim > j; j++) {
       myFinds[j].texts[0].changecase(myCases[theCase]);
    } else {
    errorExit();
    // +++++++ Functions Start Here +++++++++++++++++++++++
    function errorExit(message) {
    if (arguments.length > 0) {
      if (app.version != 3) { beep() } // CS2 includes beep() function.
      alert(message);
    exit(); // CS exits with a beep; CS2 exits silently.

    I've adapted seddybell's new script so that it works with paragraph styles instead of character styles. Hope that's useful to someone.
    //DESCRIPTION: Update of Dave Saunder's ChangeCaseOfSelectedStyle script for CS5 and later
    //jblondie: Fork of seddybell's update so that you can select by Paragraph Style instead of Character Style.
    if ((app.documents.length != 0) && (app.selection.length != 0)) {
    myDoc = app.activeDocument;
    myStyles = myDoc.paragraphStyles; //jblondie: replaced character with paragraph
    myStringList = myStyles.everyItem().name;
    myCaseList = ["UPPERCASE","lowercase", "Title Case", "Sentence case"]; //jblondie: Changed myCaseList so it's consistent with InDesign's built in Change Case tool
    myCases = [ChangecaseMode.uppercase, ChangecaseMode.lowercase, ChangecaseMode.titlecase, ChangecaseMode.sentencecase];
    var myDialog = app.dialogs.add({name:"Case Changer"})
    with(myDialog){
      with(dialogColumns.add()){
       with (dialogRows.add()) {
        with (dialogColumns.add()) {
         staticTexts.add({staticLabel:"Paragraph Style:"}); //jblondie: replaced Character with Paragraph
        with (dialogColumns.add()) {
         myStyle = dropdowns.add({stringList:myStringList,selectedIndex:0,minWidth:133}) ;
       with (dialogRows.add()) {
        with (dialogColumns.add()) {
         staticTexts.add({staticLabel:"Change Case to:"});
        with (dialogColumns.add()) {
         myCase = dropdowns.add({stringList:myCaseList,selectedIndex:0,minWidth:133});
    var myResult = myDialog.show();
    if (myResult != true){
      // user clicked Cancel
      myDialog.destroy();
      errorExit();
      theStyle = myStyle.selectedIndex;
      theCase = myCase.selectedIndex;
      myDialog.destroy();
      app.findTextPreferences = NothingEnum.NOTHING;
      app.changeTextPreferences = NothingEnum.NOTHING;
      app.findTextPreferences.appliedParagraphStyle = myStyles [theStyle]; var myFinds = myDoc.findText(); //jblondie: replaced Character with Paragraph
      myLim = myFinds.length;
      for (var j=0; myLim > j; j++) {
       myFinds[j].texts[0].changecase(myCases[theCase]);
    } else {
    errorExit();
    // +++++++ Functions Start Here +++++++++++++++++++++++
    function errorExit(message) {
    if (arguments.length > 0) {
      if (app.version != 3) { beep() }
      alert(message);
    exit();

  • Question for scripting gurus: GREP search, change case make Smallcaps

    I have no knowledge of scripting at all, but this question keeps coming up during training sessions: is it possible to (java)script this:
    - Do a GREP search \u\u+
    - Change case to lowercase
    - Apply SmallCaps (or: apply character style)
    this would allow to search for acronyms and change them to smallcaps (or, even better: apply a character style with small caps and tracking)
    I know it is easy for OpenType smallcaps (do a GREP search, change to OT smallcaps) but this doesn't really change case. And some fonts used aren't OT.
    Anyone?
    Would be VERY apreciated!!

    But Harbs is a seasoned scripter who knows he'll get flamed if one of his scripts "just does not work" ;)
    Well, now that you mention it, the script is not really foolproof. It's a quick and dirty script which I threw together very quickly. It's missing any error checking, some of the variables global, and it's not in a private namespace. These are all things which could cause it to "just not work" ;-)
    Here's a more foolproof construct... (and it'll work on the current story if selected, or the whole document if there's no story selected) It will create a new character style if one does not exist and work on character styles within style groups as well. I wrapped the whole script in an anonymous function to give it a unique namespace as well.
    (function()
    if(app.documents.length==0){return}
    var doc=app.documents[0];
    // Change the following to your style name!
    var character_style_name = 'Small Caps';
    try{var range = app.selection[0].parentStory}
    catch (err){var range = doc}
    //comment out next line if you do not want styles.
    var charStyle = GetCharacterStyle(character_style_name,doc);
    app.findGrepPreferences = null;
    app.findGrepPreferences.findWhat="\\u\\u+";
    var finds=range.findGrep();
    for (var i=0;i<finds.length;i++){
    finds[i].changecase(ChangecaseMode.lowercase);
    //comment out next line if you do not want styles.
    finds[i].applyCharacterStyle (charStyle)
    //uncomment next line if you do not want styles.
    //finds[i].capitalization=Capitalization.smallCaps;
    function GetCharacterStyle(styleName,doc){
    var charStyles=doc.allCharacterStyles;
    for(var i=0;i<charStyles.length;i++){
      if(charStyles[i].name==styleName){
       return charStyles[i];
    return doc.characterStyles.add({name:styleName,capitalization:Capitalization.smallCaps});

  • How to change font size and style in keynote for ios

    How to change font size and style in keynote for ios

    Same situation for report parameter input value font. What ever we do , it is still Arial and size 10.

  • "completion insight" and "change case as you type" won't work for sql file

    Hi there,
    Just updated to 3.1 on my Mac Lion. It's very likely a bug since it used the work with 3.0.
    I have a "temp.sql" file where I store several queries. I start SQL Developer, open "temp.sql", connect to a DB but "completion insight" and "change case as you type" won't work anymore.
    If I click in "Unshared SQL Worksheet", the new worksheet tab will work fine with completion and change case, but I want to use my temp.sql and save things there when closing the application.
    To reproduce yourself the issue:
    Open SQL Dev, connect to a DB (it will open a worksheet), do some queries and check that change case and completion are working, quit SQL Dev, but save the worksheet in a sql file before. Re-open SQL Dev and open the sql file. Connect to the same DB and try to change the queries or create another. Completion and change case won't work anymore.
    About
    Oracle SQL Developer 3.1.07
    Version 3.1.07
    Build MAIN-07.42
    Copyright © 2005, 2011 Oracle. All Rights Reserved.
    IDE Version: 11.1.1.4.37.59.48
    Product ID: oracle.sqldeveloper
    Product Version: 11.2.0.07.42
    Version
    Component     Version
    =========     =======
    Java(TM) Platform     1.6.0_31
    Oracle IDE     3.1.07.42
    Versioning Support     3.1.07.42

    Well, it's partially working, if your sql file is big (like mine), say with more than 1000 lines, then, maybe because of memory usage, the automatic completion won't work as expected, though, sometimes, after a while, crtl-space would stil work.
    So, the problem may have been addressed, but I believe this feature can be definitely improved.

  • Change Case in Column header when designing reports in BIDS

    Hi
    I have used a key short-cut to change the case of headers when adding them to the header of a Tablix, but I can't remember the key combination,
    Any help much appretiated
    Regards
    Andy
    CRM 4, SQL Server and .Net developer using C#

    Hi Andy,
    If I understand correctly, you want to know the shortcut key combination to switch the case of words in column headers of a tablix in Reporting Services Report Designer. As far as I know, there is no such key combination. In Microsoft Word/Outlook/PowerPoint,
    we can use the Shift + F3 to change case of words. However, this doesn’t work in SSRS Report Designer.
    To change the case of the words in column headers, you can either copy the text to Word and perform the case change there or use built-in functions such as LCase, Ucase, or StrConv to perform the case change by using expression. Here are the examples for
    the three functions:
    Expression: =LCase(“Sales territory country”)                           Result: sales territory country
    Expression: =UCase(“Sales territory country”)                           Result: SALES TERRITORY COUNTRY
    Expression: =StrConv(“Sales territory country”, vbProperCase)   Result: Sales Territory Country
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • Changes to [No Paragraph Style] causing unwanted style overrides

    Hi fellow InDesigners
    I'm using InDesign CS6. I'm working with long documents that were originally created in previous versions (CS4 and possibly earlier). My standard workflow for these jobs is to do the bulk of the text formatting in a newly created, bare-bones, single column document. First, I load the paragraph and character styles from the template, and when I'm done I copy and paste the formatted text back into the template for final layout and typesetting. This used to work fine in CS4, but in CS6, all my paragraphs show the plus sign in the Paragraph Styles panel, indicating that they have been overridden. They should be identical, since I imported the styles from one file to the other. The overrides include drop cap alignment, and even more obscure things like 'IdeoSpaceBehavior' and 'Diacritic Positioning'.
    It seems likely to me that this problem is due to Adobe having changed the definition of the mysteriously ubiquitous '[No Paragraph Style]' style between versions. The template file has carried over the definition from CS4, but the newly created working files have the new definition, and since [No Paragraph Style] is not included when importing styles from one document to another, the inconsistency remains. Copying and pasting text with no overrides in one document, shows overrides in the other.
    So the simplest solution I can think of, would be to change the [No Paragraph Style] in the template to match the definition of new CS6 documents. Is this even possible? My Googling thus far suggests that [No Paragraph Style] is pretty much untouchable.
    Is there nothing for it but to create the template files again as new documents in CS6?

    No worries Michael. Yes, I vaguely remember the change too.
    My understanding is, [No Paragraph Style] is very much a style—a paradoxically named style to be sure, but a style nonetheless. Check out the [Basic Paragraph] style definition by double clicking on it in the Paragraph Styles panel. It's style definition is: '[No Paragraph Style] + next: [Same style]'. That's it. Minion Pro 12 point, with auto leading—and every other conceivable paragraph attribute—all handled by [No Paragraph Style]. Adobe needed some defaults, and that's what [No Paragraph Style] is—just a default style. You can never escape it either, since every style, no matter what it's based on, has [No Paragraph Style] as its most senior ancestor.
    So that's essentially my problem. Adobe has, in their wisdom, changed the [No Paragraph Style] style between versions, so that a document originally created in an earlier version and a document created in CS6 have different [No Paragraph Style] settings. I'm pretty confident this is the cause of my problems.
    Lots of my paragraph styles inherit from other styles. Why would I not want that? My custom 'Paragraph' style has lots of other styles based on it—from typesetting variations, to quotes, lists, etc. But the 'Paragraph' style itself is based on [No Paragraph Style]. As I said, you can't really escape [No Paragraph Style].

  • The Strange Case of Change Case

    My company's name is MCS.  When I'm writing in caps, and then I want to re-use that text in sentence case I use Indesign's change case feature to change caps to sentence case.  When ever my company's name is in the copy, I always have to go back and re-write it as upper case.  I'm afraid that one day Ill forget to do it. 
    Is there a setting that I could choose so that this particular combination of letters is always written in caps?

    MagicToaster wrote:
    My company's name is MCS.  When I'm writing in caps, and then I want to re-use that text in sentence case I use Indesign's change case feature to change caps to sentence case.  When ever my company's name is in the copy, I always have to go back and re-write it as upper case.  I'm afraid that one day Ill forget to do it. 
    Is there a setting that I could choose so that this particular combination of letters is always written in caps?
    In Preverences > Autocorrect, enter the lowercase as wrong and uppercase as correct.
    Enable Edit > Spelling > Autocorrect - a check mark indicates it's enabled.
    An alternate is to create a text variable and insert it where needed. You can speed up inserting a text variable by using Quick Apply.
    Search Google for terms like "InDesign autocorrect tutorial," "InDesign text variable," and "InDesign preferences," without quotes, for details.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices
    Message was edited by: peter at knowhowpro

  • Bug: Change Case as you Type

    For some reason the option "Change case as you type" (Preferences > Code Editor > Completion Insight) keeps changing. It will remain the same for a while but changes at some random point. Each time I restart SQL Developer it seems to go back to "+Lower Keywords, Upper Identifiers+".
    Here's the information about the current version that I'm using:
    Oracle SQL Developer 3.0.04
    Version 3.0.04
    Build MAIN-04.34
    OS: Windows 7 - 64bit
    Martin
    http://www.ClariFit.com
    http://www.TalkApex.com

    Try to set it right also at Preferences - Database - SQL Formatter - Oracle - Edit - Other - Case change.
    Hope that helps,
    K.

  • Illustrator CC Type "Change Case" keyboard shortcut not working

    In Illustrator CS6 I established a keyboard shortcut of Alt+Shift+Ctrl+= to the command Type-->Change Case-->UPPERCASE (and Alt+Shift+Ctrl+- to Type-->Change Case-->Title Case). In Illustrator CC, these two keyboard shortcuts are not working. They are displaying in the Type menu correctly, and the menu commands themselves work correctly, but the shortcuts do not work. Any ideas?

    Well, as I stated, the = worked fine in CS6 on Windows. I just tried to changing it to Alt+Shift+Ctrl+U and that one does work correctly. I would prefer that Adobe minimizes functionality regressions in new releases, even if there are conceivably workarounds that I could employ.
    Would somebody be willing to try Alt+Shift+Ctrl+= on a PC and see if they can get it to work on their system?

  • How can change Case Sensitivity in MS SQL 2008

    hi expert,
    I want to change Case Sensitivity to Case Insensitivity  in MS SQL 2008.
    how can I do??
    any help please
    thanks and regards
    jun

    Hello,
    there is no way to change this. The SQL Server itself and the SAP Database are installed in an case sensitive collation. If you were albe to change this, your installation will be no longer supported and will, in the worst case, generate incorrect data within the SAP database.
    So, start live with it, there is no way to change it.
    Best regards
    Clas

  • Applying keyboard shortcuts to Change Case Commands?

    Could someone check to see if they can do this as I can't do it with either CS5 or CS5.5.
    Open the keyboard shortcuts dialog box and under the Type menu, apply a keyboard command to Change Case>Title Case. (I used Control-T)
    At first, on my machine, the command was listed, but didn't apply to the selected text. Manually applying the command from the menu did work.
    Later, I couldn't get the shortcut to appear at all. I've rebuilt the preferences twice.
    Could someone see if they can do this. Then I'll know it's something on my machine.

    Is it perhaps the known "CS5 plugin installed on CS5.5" issue?
    (That can cause numerous problems because although it seems the older plugins work just fine, but it's not supposed to work.)
    ((Just to soothe the Conspiracy Theorists out there: it's not supposed to work because of many changes in the internal code of CS5.5. Usually, InDesign checks plugins for its own version number, but somehow that was bodged in the CS5.5 upgrade.))

  • Change case app download?

    Just wondering if anyone knows of an app (similar to LittleIpsum) that performs a change case function?
    I was thinking of something less intensive than opening inDesign.

    Might try...
    http://www.tuaw.com/2010/08/13/change-case-uses-os-x-services-to-expand-textedit /
    http://lifehacker.com/5612341/set-up-keyboard-shortcuts-to-easily-change-text-ca se-with-change-case

  • Change the ITS applicatino style

    HI
    I created ITS service and when I use it in the browser i look exactly like the
    sap gui in the backend ,
    my question is if there is option to change the theame or style
    do something diffrent and what is the values that i can put
    now i use ~STYLE DHTML
    regards
    alex

    Hi,
    Try with these parameters:
    ~webgui = 1
    ~generatedynpro = 1
    Hope this helps,
    Iván.

Maybe you are looking for

  • Using JPA Entity-Objects defined in other EJB-Development Component

    Hello Community, I'm working on a Java-Application on NW CE 7.1, using JEE5 Beans in the Business-Logic-Layer and WebDynpro/Java in the UI-Layer. I designed a Bean for working with data, stored in a database-table of the system-database. For that add

  • How to unlock a disabled iphone 5

    I recently just recieved an iPhone 5 and forgot my password and was wondering how I could redeem my password?

  • Oracle License

    Hi, I have query regarding Oracle Licensing. Do we need to purchase oracle License if i am using Oracle 10g release 2 enterprise edition for Developing and testing purpose in my organisation. Thanks in advanve. BR, Rajesh Rathod.

  • Ipod touch stuck in recovery

    first it is not jailbroken, tried to update it with new version from itunes that failed try to restore it that failed about halfway error message and when i connect it it comes up ipod decteded in recovery mode whats next THANK YOU

  • Apps won't download from CC

    Please help!  I'm trying to download Photoshop CC and Illustrator CC and they stop at 42%.  The error message says zero errors.  What's up? This first happened trying to download the free trial.  Foolishly I thought if I went ahead and subscribed it