uppercase to lowercase in the list 'false. '

http://InDesignSecrets.com/convert-text-to-lowercase-with-grep-utility.php

Is a thread that I found. It converts the first char in a paragraph style "list bullet" in lowercase.
Works very well, but often we have lists for that, for several reasons, we cannot use the automatic feature 'list' (copy paste issues with other programs, etc.). The first tank is the - (alt + 0151) followed by a space (no tab) or • tank (alt + 0149).
I can't understand it with grep function, because there is no mention of the possibility of "tiny".
Any suggestions?

I was able to change the script of Peter Kahrel quite easily to change the third character instead of the first, which I think would be to do what you want.

Change the THIRD character lowercase

Peter Kahrel wrote the original of the present.

app.findGrepPreferences = app.changeGrepPreferences = null;

app.findGrepPreferences.appliedParagraphStyle = "list";

Third paragraph lowercase letter:

app.findGrepPreferences.findWhat = "^.» {3}";

found = app.activeDocument.findGrep ();

for (i = 0; i< found.length;="">

found [i] .characters [2] .changecase (ChangecaseMode.lowercase);

I changed

app.findGrepPreferences.findWhat = "^." TO

app.findGrepPreferences.findWhat = "^.» {3}"; If she takes the first three characters of the paragraph instead of a single

and

found in [i] .characters [0] .changecase (ChangecaseMode.lowercase); TO

found [i] .characters [2] .changecase (ChangecaseMode.lowercase); then, it changes the third character instead of the first.

The script always depends on the text aving a named style applied (in this case I left it to the 'list') you may need to further modify to change the name of style to match your situation.

And if you wanted, I think you could probably change app.findGrepPreferences.findWhat = "^." for app.findGrepPreferences.findWhat = "^.» + » ; to find all of the paragraph, and then change the index in the table to match any character position of your choice, but I don't think that a lot of purpose. One of the Scripting Guys could probably Jazz with an interface that asks the character you want to change.

Tags: InDesign

Similar Questions

  • Add IDM to the list of add-ins checked

    Older versions of Mozilla Firefox allowed for Internet Download Manager module and I used it frequently, but with the last update I can use it is no longer. When will this fix?

    Thank you!

    Hi ragempa, Mozilla announced a procedure for publishers of extensions to submit them and get them signed by the team of modules. No doubt IDM will do it later. But it shouldn't be compulsory...

    In the final version of Firefox 40 and 41, the signature requirement is not applied, there is only a warning. If your says the extension is blocked because it is not signed, please check the following parameter:

    (1) in a new tab, type or paste Subject: config in the address bar and press enter/return. Click on the button promising to be careful.

    (2) in the search above the list box, type or paste the xpi and make a pause so that the list is filtered

    (3) if the preference xpinstall.signatures.required is in bold and "user set" true, double-click on it to set it to false

    If that is already set to false, then another problem with the add-on that is originally not not to work. Could check you updates IDM?

  • Entrust G2 root is not in the list of Mozilla's CA certificates

    We noticed that Entrust G2 root certificates only are not in the list of Mozilla's CA certificates. We contacted Entrust and they confirmed that the certificates were sent to Google, Microsoft and Mozilla, and there was nothing they could do to solve the problem.

    Are there plans to update the list with new root SHA2 certificates? We are having problems with false positives vulnerability and problems due to not having Mozilla do not these certificates in the trust store.

    https://www.Mozilla.org/en-us/about/governance/policies/security-group/certs/included/

    Hello, the root certification authority should work with mozilla to get these certificates in the store of the browser trusts. This question seems to be tracked in bug # 849950.

  • CouponPrinter.exe does not work. I can download and run the program, but does not, print already added the file name to the list of java exceptions

    running windows xp, update java 7 51, norton antivirus says file is ok, please help

    HI DJDOLLARROB,

    Thanks for posting, as you might expect, there are troubleshooting you can undertake to check why the download does not work. It is highly possible that the source that you have downloaded from cannot be no longer works. Is there a site that you can check to see if it does not work for them either? Also where it is downloaded from?

    Otherwise please see if scanitemswhendone is enabled: change what Firefox does when you click on or download a file

    If download hangs at the last minute (just before reaching 100%), the cause may be an antivirus software that tries to parse the file and during this process the instance of Firefox crashes.

    To resolve the issue, try disabling the analysis as follows:

    1. In the address bar, type Subject: config and press enter. The subject: config "this might void your warranty!" warning page may appear.
    2. Click on I'll be careful, I promise!, to continue on the subject: config page. A list of parameters must appear
    3. Filter the list by typing in the search bar at top. Enter scanWhenDone. Now you should find the "browser.download.scanWhenDone" preference.
    4. Double-click this preference to set the value to false.
    5. Then, try to download something and see if it still crashes.

    Please reply and let us know if this helped you!

  • The new tab behavior is driving me crazy. It keeps re-centering on legs closest to the top of the list when I move a tab. How can I change this?

    The new tab behavior is driving me crazy. It keeps re-centering on legs closest to the top of the list when I move a tab. How can I change this?

    I don't want to download an application. I would rather add a new string in any config or just change those there to false. It makes my life as a rather hard work, to be forced to go all the way back at the end of my list after you move a tab just to have to do it again. I mean it's to the point where I could consider changing browsers if they had tab scrollbars.

    Edit: Now I will download any application. Please stop this stupid feature.

    I downloaded the beta version and it stopped. Thank you all for trying to help anyway. I probably didn't explain my problem very well in the first place, but you tried to help him. Thank you.

  • Developer toolbar do not disable - custody arise when I hit shift and is not visible in the Extensions list, or the list of Add-ons. How to uninstall

    for some reason, I now have a developer toolbar, even if I have not installed myself. What's even stranger, is that it appears each time I hit shift - thus the lack of capital letters in this post - and it does not appear on my extention - or plugin list, so I have no idea how turn it off. It appears under the Tools tab and I can stop it here, but it appears again whenever I hit shift.

    Hello Kuzuri, firefox has a built-in Developer toolbar which can be high with keyboard shortcut shift + f2. so, that's just a guess, but perhaps the key f2 on your keyboard is suspended...

    in case you can not solve in this way, please enter Subject: config in the bar firefox address (confirm the message information where it appears) & get preference named devtools.toolbar.enabled - double-click on the entry and toggle the value false. Usually, this will disable the developer toolbar after restarting the browser.

  • How can I control the list of the available in the message SSL Client Hello cipher suites? I want to ban the MD5 and RC4.

    How can I control the list of the available in the message SSL Client Hello cipher suites?
    I want to limit my browser to negotiate the cipher suites fort. I would like to prohibit, MD5 and RC4.

    Set the SSL3 preferences related to false on the subject: config page (filter: security.ssl3.).

  • Marked sites icons have disappeared since the Firefox 9.0.1, update - in the list of the bookmarks-how can I get the icons back?

    The icons that are presented for each bookmark site - in the list of bookmarks - disappeared (only the name of the site, no associated icon is shown) since I've upgraded to Firefox 9.0.1.

    I use a Mac with OS X 10.7.2 (Lion). I used previously 8 Firefox without any problems.

    See:

    Set the image.mem.decodeondraw pref Boolean False on the topic: config page via the address bar.

  • I accidentally entered my password in the field 'user ID' a website connection, and pre-populating it now appear in the list of suggestions for that field. Is there a way to make the pre-fill 'forget' a specific entry?

    While connecting to a secure Web site, I was typing too fast and accidentally included my password in the field ID used while connection and press enter before I realized my mistake. I then connected properly, but now Firefox include this false entry (with another entry accidentally misspelled) in the list of suggestions of pre-filling every time I go to this page. I prefer not to cut completely from pre-filling, but obviously I don't want my password to be specified. Can I delete the wrong entry in the list of suggestions as pre-filling watch somehow? (I use Firefox 6.0 on Windows 7)

    Select the entry in the drop-down menu and press "DELETE", Mac users, press 'Shift + Delete '.

  • I'm doing a script that takes a list of e-mail from a text file and then allow me to select a save as a string. I found some ways to get the path of the file, but I'm in check by pulling the list

    I found some ways to get the path of the file, but I am defeated by pulling the list from that. the function of the path get gives me the path as "Macintosh Users:: Documents: extractedb.txt (myUsername).

    What I can't understand is how to get a dialog box to display a list that represents the content in the text file, I need to change the contents of the text file, I need the box to show me what I chose and I want to save my selection as a single string.
    e '.

    example of extractedb.txt information:

    [email protected]

    [email protected]

    [email protected]

    * has a random number of emails as well *.

    I want this is to pull those emails from the text file and turn them into a list so I can get to be a selection in my dialog box.

    Any help would be great = D

    Assuming you have a text file with your example e-mail addresses, the following AppleScript will read this file in a list (mf_List) and then use this list as input to choose among the list. Because multiple selection is allowed (control button), the output is sent to a list (sel_addr). We check if the Cancel button was pressed by testing for false and if this condition is met, we the script error.  Based on a single or multiple list item content of the list, display accordingly.

    game of mf to ((path to the folder as text) & "mail_list.txt")

    the value mf_List to {}

    the value sel_addr to {}

    the value mf_List to paragraphs of (read file mf)

    the value sel_addr to (choose from the list mf_List with title ¬

    ('Mail list' with multiple selections allowed without empty selection allowed)

    If sel_addr is equal to false then

    Error number-128

    return

    end if

    If length of sel_addr is equal to 1 then

    sel_addr display dialog box as text

    on the other

    the value Point to the text of TID to AppleScript delimiters

    the value Point text in AppleScript return delimiters

    display the dialog box elements of sel_addr in the text

    the value Text of point AppleScript delimiters to TID

    end if

    return

  • Satellite L40 - 16 d psl48e is not in the list of drivers

    I'm trying to find the drivers for satellite L40 - 16 d psl48e I can't fint the model in the list of series L, or I am wrong?
    also I search with n serial and I can not find the ither model is: Y7040435R

    Why is not? THA laptop is false?

    Hello

    Search the Archives of the driver download page!
    In product type choose Archive ;)
    Everything what it what s, you will find all the drivers!

    Welcome them

  • How is it when I try to open one of my favorte often visited Web sites I get a blank page with only the word 'false' in the upper left?

    How is it when I try to open one of my favorte often visited Web sites I get a blank page with only the word 'false' in the upper left?

    This just started happening the last two days.  I tried to add the url to my list to activate in Internet Options, also to accept the list for windows firewall. I rebooted and restored.

    It is annoying when I can't access Web sites on my PC.  There is no control parenting, nor is it a reason to be since I'm 57 years old, single, live alone and have no children, and not to mention that this isn't a single adult site. This is an auction site.  The same thing happens on a site of sports too.

    Hello

    Thank you for writing to Microsoft Communities.

    I understand how it could be frustrating when things do not work as expected. Please, I beg you, don't worry I'll try my best to resolve the issue.

    1. what operating system is installed on the computer?

    2. what version of Internet Explore do you use?

    3 have there been recent changes to the computer before the show?

    Please go ahead and follow the steps mentioned and later a update on the State of the question.

    Method 1: Start Internet explorer with the mode without modules and check.

    Click Start, all programs, accessories, System Tools, and click Internet Explorer (No Add-ons).

    If the problem does not persist in Internet Explorer (No Add-ons), then it is one of the Add-ons at the origin of this problem. Please follow the steps below to locate the problem the weak module:

    a. restart IE normally.

    b. click on tools.

    c. click on Manage Add-ons.

    d. disable add-ons by clicking on them one at a time to highlight and then click Disable.

    e. reactivate modules one by one and check with what add-on, you get this error message.

    f. turn off the add-on at the origin of the problem.

    For your reference: http://Windows.Microsoft.com/en-us/Windows7/Internet-Explorer-Add-ons-frequently-asked-questions

    (For Windows Vista)

    Method 2: How to optimize Internet Explorer:

    http://support.Microsoft.com/kb/936213/no

    Important: Reset Internet Explorer to its default configuration. This step will disable also any add-ons, plug-ins or toolbars that are installed. Although this solution is fast, it also means that, if you want to use one of these modules in the future, they must be reinstalled.

    Follow these recommended steps and after if you still experience the problem.

  • How can I change all uppercase to lowercase in word processor cant do any word perfect step HELPS!

    How can I change all uppercase to lowercase in word processor cant do any word perfect step HELPS!

    Nothing to do with Windows; view the perfect Word Help files, or ask this question in one word perfect forum.

  • Change the State of all the Image inside the list view toggle button when a list is tap

    Hi, please help, is there a way to change the State of a toggle button to image inside the listview where in when you type a list, the toggle button in the list state change and the other toggle button will be set to their default image? the list has a defined Image toggle button to check both...

    
    ListView {
    
                        layout: GridListLayout {
                            cellAspectRatio: 1.4
                        }
    
                        id: denominationList
                        dataModel: _model.denominationModel
    
                        listItemComponents: [
    
                            ListItemComponent {
    
                                id: component
                                type: "item"
                                CustomListItem {
    
                                    id: itemRoot
                                    dividerVisible: false
                                    highlightAppearance: HighlightAppearance.None
    
                                    Container {
                                        id: fieldContainer
                                        topPadding: 5
                                        leftPadding: 10
                                        rightPadding: 10
                                        bottomPadding: 5
                                        //maxWidth: 270
    
                                        layout: DockLayout {}
    
                                        Container {
                                            id: amountContainer
                                            //topPadding: 
    
                                            layout: DockLayout {}
                                            background: Color.create("#ffffff")
                                            horizontalAlignment: HorizontalAlignment.Center
                                            verticalAlignment: VerticalAlignment.Center
    
                                            ImageView {
                                                id: amountBorder
                                                preferredWidth: 400
                                                imageSource: "asset:///images/flux/amount-border-other.png"
                                            }
    
                                            Container {
                                                horizontalAlignment: HorizontalAlignment.Center
                                                verticalAlignment: VerticalAlignment.Center
                                                layout: StackLayout {
                                                    orientation: (!(ListItemData.name > 4) ? LayoutOrientation.TopToBottom : LayoutOrientation.LeftToRight)
                                                }
    
                                                Container {
                                                    horizontalAlignment: HorizontalAlignment.Center
                                                    verticalAlignment: VerticalAlignment.Top
                                                    visible: (ListItemData.name.length > 4)
    
                                                    preferredHeight: 60
    
                                                    Label {
                                                        id: loadPromoName
                                                        textFit.mode: LabelTextFitMode.FitToBounds
                                                        //multiline: true
                                                        visible: (ListItemData.name.length > 4)
    
                                                        textStyle{
                                                            fontSize: FontSize.Medium
                                                            fontWeight: FontWeight.W300
                                                            color: Color.create("#b9babe")
                                                            textAlign: TextAlign.Center
                                                        }
    
                                                        text: ListItemData.name
                                                    }
                                                }
    
                                                Container {
                                                    verticalAlignment: VerticalAlignment.Center
                                                    topPadding: 8
                                                    rightPadding: 0
                                                    ImageView {
                                                        visible: (ListItemData.name.length <= 4)
                                                        preferredHeight: 40
                                                        imageSource: "asset:///images/flux/pesosign-amount.png"
                                                    }
                                                }
    
                                                Container {
                                                    verticalAlignment: ((ListItemData.name.length > 4) ? VerticalAlignment.Center : VerticalAlignment.Bottom)
                                                    horizontalAlignment: HorizontalAlignment.Center
                                                    leftPadding: 0
    
                                                    Label {
                                                        id: amountLabel
                                                        textFit.mode: LabelTextFitMode.FitToBounds
    
                                                        textStyle{
                                                            fontSize: FontSize.XLarge
                                                            fontWeight: FontWeight.W300
                                                            color: Color.create("#b9babe")
                                                            textAlign: TextAlign.Center
                                                        }
    
                                                        text: ListItemData.amount
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        ]
                        onTriggered: {
                            var selectedItem = dataModel.data(indexPath);
    
                        }
                    }
                }
    

    link the button to a property of an element, and then change all the elements in the datamodel. ListView reflects these changes.

  • Images in the field of the list does not

    Hello

    I create a list field that contains 10 lines and four fields in each line. The first field is the field of the image. But the image does not come. Other three fields (label field) do very well. I use the simulator of 4.7 and 9530.

    I give my code here also. Please help me.

    class TaskListField extends ListField implements ListFieldCallback {
         private Vector rows;
         private Bitmap _mReceiveAmount;
         private Bitmap _mSentAmount;
        private boolean hasfocus=false;
    
         public TaskListField() {
          super(0, ListField.MULTI_SELECT);
          setRowHeight(60);
          setEmptyString("It is Empty!", DrawStyle.HCENTER);
          setCallback(this);
    
          String images[]={"amount_received.png","amount_sent.png"};
    
          _mReceiveAmount = Bitmap.getBitmapResource("amount_received.png");
          _mSentAmount = Bitmap.getBitmapResource("amount_sent.png");
          BitmapField bitmap;
    
          rows = new Vector();
    
          for (int x = 0; x < 10; x++) {
           TableRowManager row = new TableRowManager();
    
           // SET THE  BITMAP FIELD
           // if amount received, display bitmap
         //  if (x % 2 == 0) {
            //bitmap=new BitmapField(_mReceiveAmount);
            row.add(new BitmapField(Bitmap.getBitmapResource(images[0])));
          //}
           // if amount is sent, set bitmap
           //else {
           // bitmap=new BitmapField(_mSentAmount);
              // row.add(new BitmapField(Bitmap.getBitmapResource(images[1])));
          // }
    
           // SET THE DATE LABELFIELD
    //
           LabelField _mDateField = new LabelField("OCT 10,2010", DrawStyle.ELLIPSIS);
           row.add(_mDateField);
    
           // SET THE LIST NAME
           row.add(new LabelField("Details" ,DrawStyle.ELLIPSIS) {
            protected void paint(Graphics graphics) {
             graphics.setColor(0x00878787);
             super.paint(graphics);
            }
           });
    
           // SET THE DUE DATE/TIME
           row.add(new LabelField("$220",DrawStyle.ELLIPSIS | LabelField.USE_ALL_WIDTH | DrawStyle.RIGHT) {
            protected void paint(Graphics graphics) {
             graphics.setColor(0x00878787);
             super.paint(graphics);
            }
           });
           rows.addElement(row);
          }
          setSize(rows.size());
    
         }
    
         // ListFieldCallback Implementation
         public void drawListRow(ListField listField, Graphics g, int index, int y,int width) {
    
            // g.drawBitmap(0, 0, _mReceiveAmount.getWidth(), _mReceiveAmount.getHeight(), _mReceiveAmount, 0, 0);
             TaskListField list = (TaskListField) listField;
    
             TableRowManager rowManager = (TableRowManager) list.rows.elementAt(index);
             rowManager.drawRow(g, 0, y, width, list.getRowHeight());
         // g.drawBitmap(0, 0, _mReceiveAmount.getWidth(), _mReceiveAmount.getHeight(), _mReceiveAmount, 0, 0);
         }
    
         public class TableRowManager extends Manager {
          public TableRowManager() {
           super(0);
          }
    
          // Causes the fields within this row manager to be layed out then
          // painted.
          public void drawRow(Graphics g, int x, int y, int width, int height) {
           // Arrange the cell fields within this row manager.
           layout(width, height);
    
           // Place this row manager within its enclosing list.
           setPosition(x, y);
    
           // Apply a translating/clipping transformation to the graphics
           // context so that this row paints in the right area.
           g.pushRegion(getExtent());
    
           // Paint this manager's controlled fields.
           subpaint(g);
    
           g.setColor(0x00CACACA);
           g.drawLine(10, 0, getPreferredWidth()-10, 0);
    
           // Restore the graphics context.
           g.popContext();
          }
    
          // Arranges this manager's controlled fields from left to right within
          // the enclosing table's columns.
          protected void sublayout(int width, int height) {
           // set the size and position of each field.
           int fontHeight = Font.getDefault().getHeight();
           int preferredWidth = getPreferredWidth();
    
           // start with the Bitmap Field of the priority icon
           Field field = getField(0);
           layoutChild(field, 32, 32);
           setPositionChild(field, 10, 20);
    
           // set the task name label field
           field = getField(1);
           layoutChild(field, 120, fontHeight + 1);
           setPositionChild(field, 70, 3);
    
           // set the list name label field
           field = getField(2);
           layoutChild(field, 150, fontHeight + 1);
           setPositionChild(field, 190, 3);
    
           // set the due time name label field
           field = getField(3);
           layoutChild(field, 150, fontHeight + 1);
           setPositionChild(field, preferredWidth - 172, 3);
    
           setExtent(preferredWidth, getPreferredHeight());
          }
    
          // The preferred width of a row is defined by the list renderer.
          public int getPreferredWidth() {
           return Graphics.getScreenWidth();
          }
    
          // The preferred height of a row is the "row height" as defined in the
          // enclosing list.
          public int getPreferredHeight() {
           return getRowHeight();
          }
         }
    
         public Object get(ListField listField, int index) {
          // TODO Auto-generated method stub
          return null;
         }
    
         public int getPreferredWidth(ListField listField) {
          // TODO Auto-generated method stub
          return 0;
         }
    
         public int indexOfList(ListField listField, String prefix, int start) {
          // TODO Auto-generated method stub
          return 0;
         }
    
         public void onUnFocus(){
             hasfocus=false;
             invalidate();
    
         }
    
    }
    

    your code is quite a mess, and you probably have a misconception on the listfield.

    in drawListRow you paint directly the object to the line. no need to use fields or similar, graphics methods.

    If you have different objects in your listfield you need to branch in your drawListRow method (if bitmap instanceof object etc.).

    your brief description, it appears you want to have the bitmap in the same line as your other information.

    create a bean with the attributes class, that you need, including the bitmap.

    put objects of beans in your listfield and the data structure (vector).

    drawListRow check that it is a bean and draw it.

    for example (rough code, no control null etc.):

    drawBitmap (0, bean.getBitmap ());

    drawText (bean.getBitmap (.getWidth () + 5,) bean.getText ());

Maybe you are looking for