Character count

Hi,
As most of the InDesign User know info window show text box character count, words even the paragraphs their in selected text box.
I want to know is their a way to see these all text layer stats in Photoshop?
Thanks
Jamal

You could probably use a Script to evaluate a selected Type Layer. (It may be difficult, though, to get the word count depending on your definition of word.)
To have that feedback on display permanently you probably would have to create an html5 Panel.

Similar Messages

  • How do I limit the character count in a text field?

    I'm creating a form for co-workers to use when creating web content. I need to restrict their character count for items like headlines, titles, subtitles, etc. Any suggestions on a ready-made form to use out there? And how can I limit those fields so they don't generate content that will then need to be edited down?
    Thanks,
    EAW

    Check out this post:
    http://forums.adobe.com/message/4364378
    Randy

  • How do I found the character count in a document

    How do I find character count and word count in a doumen on my IMc?

    Created with which application?

  • Character counter does not display data on IE when counter is 0

    Hi,
    I am implementing a character counter in ADF using Javascript (referencing this http://www.oracle.com/technetwork/developer-tools/adf/learnmore/10-char-input-counter-169133.pdf).
    I display the string --> 'x' characters left
    The problem that I am facing is: when my character counter becomes 0 (can no longer enter any text, the maxlimit of the input field is reached) then on IE browsers, it does not show the character '0'. It displays a blank. On Firefox and Chrome, however, the UI gets displayed as expected i.e. 0 characters left.
    Can I get any pointers how to fix this on IE. Have tested with IE versions 7,8,9. JDev version is 11.1.1.5.0
    Here is the code snippet that I am using:
    Javascript:
    function showCharacterCount(event) {
    var keyCodePressed = event.getKeyCode();
    if (keyCodePressed == AdfKeyStroke.TAB_KEY
    || keyCodePressed == AdfKeyStroke.ARROWLEFT_KEY
    || keyCodePressed == AdfKeyStroke.ARROWUP_KEY
    || keyCodePressed == AdfKeyStroke.ARROWRIGHT_KEY
    || keyCodePressed == AdfKeyStroke.ARROWDOWN_KEY) {
    event.cancel();
    else {
    textfield = event.getCurrentTarget();
    textfieldValue = event.getSource().getSubmittedValue();
    textfieldLength = textfieldValue.length;
    textfieldMaxLength = textfield.getMaximumLength();
    o = AdfPage.PAGE.findComponent('characterCounter');
    characterCounterValue = o.getValue();
    characterCounterValue = textfieldMaxLength - textfieldLength;
    o.setValue(characterCounterValue);
    UI:
    <af:panelGroupLayout id="pgl3" layout="horizontal">
    <af:outputText id="characterCounter" clientComponent="true" value="325"
    inlineStyle="text-align:right; display:block; width:100.0px;"
    binding="#{viewScope.myBean.characterCounterBndg}"/>
    <af:outputText value="characters left" id="ot7"
    inlineStyle="padding-left:5.0px;"/>
    </af:panelGroupLayout>
    <af:inputText id="it2" rows="4" columns="53"
    value="#{viewScope.myBean.text}" maximumLength="325" clientComponent="true"
    simple="true">
    <af:clientListener method="showCharacterCount"
    type="keyUp"/>
    </af:inputText>
    Thanks in advance.

    Try converting from dynamic data, that seems to take care of the problem. Also, you could use the regular field point VIs instead of the FP express VI. Check out the attached VI.
    -Alan A.
    Attachments:
    FP_Read.vi ‏30 KB

  • Inserting new line in script output based on character count

    Dear All,
    I want to print amount in words on cheque. Condition is if on the first line the character
    count reaches 40 the rest words should be printed in next line. Also amount in word
    should be printed  on the same line. 
    I have the internal table values itab-amtwords(amount in words and ) itab-rbetr(amount in number)
    I want to print them something like this -
       Sixty seven crore eighty five lakh twelve thousand     
       fourty five                                                                678512045.00
    the amount in word should come in second line only. The amount in word if reaches certain point
    the rest word should print in second line.
    How to write the logic in script editor
    Regards,
    Sandeep

    the amount in number should print in the second line.
    2163126312.00
    regards
    sandeep
    Edited by: Sandeep Sahoo on Apr 17, 2009 4:34 PM
    Edited by: Sandeep Sahoo on Apr 17, 2009 4:38 PM

  • Inserting new line in output based on character count +sapscript

    Dear All,
    I want to print amount in words on cheque. Condition is if on the first line the character
    count reaches 40 the rest words should be printed in next line. Also amount in word
    should be printed  on the same line. 
    I have the internal table values itab-amtwords(amount in words and ) itab-rbetr(amount in number)
    I want to print them something like this -
       Sixty seven crore eighty five lakh twelve thousand     
       fourty five                                                                678512045.00
    the amount in word should come in second line only. The amount in word if reaches certain point
    the rest word should print in second line.
    How to write the logic in script editor
    Regards,
    Sandeep
    Moderator message - Cross post locked
    Edited by: Rob Burbank on Apr 17, 2009 10:46 AM

    the amount in number should print in the second .
    2163126312.00
    Regards,
    Sandeep

  • Character Counter for ADF 11g RichTextEditor

    I am rewriting an application in 11g RichFaces. The original app had a text area that had a maximum allowable length and used a Javascript function to display to the user how many characters they had left as they were typing. In the new app, I have replaced this functionality with the WYSIWYG RichTextEditor, but would like to give them the same functionality that they had before. I would like to display, as they type, a character count. The count needs to be of the actual displayed characters, not the count of HTML characters that are generated behind the scenes by the RichTextEditor.
    Is this possible?

    huh? waking up a 1-year-old thread to ask an unrelated question (and a demand for us to write your code for you to wit)?

  • Character Count Bug? (IDCS4 WinXPSP3)

    Here's a little bug. Apologies if it's been mentioned before.
    The Info palette tells you how many characters your selection contains. If you select the word "hello" the Info p. says: "Characters: 5"
    If you select an entire line that happens to contains a foontnote marker, the character count includes all the characters in the footnote itself. So while an average line might have 70 characters, a line containing a footnote might appear as though it has 1000 characters or more (depending on the length of the footnote).
    Now, as scripters will be aware (and please correct me if I'm wrong), the footnote marker is the parent of the footnote text. So that's probably where the bug comes in.
    But I don't think this should be reflected in the Info palette.
    Thanks,
    Ariel

    Have you reported it? Adobe - Feature Request/Bug Report Form

  • Dynamic character count

    Is it possible to have a display of how many characters are showing in a text box (without highlighting text) and when the size of the box is changed the character count is updated.
    For example if I have a text box and I have more text in that box then can fit so it is "busting out of the box"... can I get a character count display telling me how many characters are in the text box disregarding the overflow text... and as I pick up the text box handles and start resizing the text box the character count display updates on the fly... only counting the characters visible in the text box and not the ones that have busted out of the box.
    Regards, Tim

    There appears to be something wrong with your InDesign. This is what it looks like for me:
    Try resettting your preferences.

  • Character count display problem in IE

    Hi all,
    I have implemented a character counter in ADF using Javascript (referencing this http://www.oracle.com/technetwork/developer-tools/adf/learnmore/10-char-input-counter-169133.pdf).
    The problem that I am facing is: when my character counter becomes 0 (can no longer enter any text, the maxlimit of the input field is reached) then on IE browsers, it does not show the character '0'. It displays a blank. On Firefox and Chrome, however, the UI gets displayed as expected i.e. 0 characters left.
    Let me know how to fix this on IE. Have tested with IE versions 8,9. JDev version is 11.1.1.7.0.
    Thanks,
    Anu.

    Hi,
    debugging the JavaScript to see what the value of the variable really is is a good start. If it turns out that it is becoming null, then you could use a if() case in that whenever the value is null you set it to 0. If the value however is correct but just doesn't render then you can try and transform it to a character instead of a number to see if the numeric output is the problem. This is how I would address the problem
    Frank

  • Character counting (count down) in Acrobat

    I have a PDF file with text fields that is going to be used by some of our writers and integrated into presentation decks across multiple programs. We have a lot of it working well and I've been able to piece some bits of code together here and there but I'm no programmer. Where I've hit a roadblock is with adding a visual character counter to the file.
    The file is set up to reflect an actual printed piece where there are limitations on line counts and characters per line. The line counts we aren't as concerned with but having a counter display how many characters you've typed to a line is important. I hope this makes sense. So basically we have one area where you can have a total of 10 lines and 30 characters (including spaces) on each line for a total of 300 characters. What would be great for us is if the text field could have a counter pop up showing something stating that the writer has entered "10 out of 30" characters for the particular line they're on.
    Is this a simple fix or something where I could be pointed somewhere to put a script togeteher? I've tried for a few days now and frankly this is like launching a missle into space for me. I'd greatly appreciate any help/insight you could offer and would be glad to share my expertise on any design or experience issues you may be having.

    Those are all great ideas Max and certainly stuff we can consider for building on this.
    The reason we need to block the characters after a certain count is due to a system this will be entered into. Our client will be copying and pasting the blocks of text into a technology platform that will then print the info. We were given a specific set of instructions for how many characters and lines the printed piece could hold.
    The fun part is that before this goes into production it has to first be presented several times in different presentation decks (some integrated into Powerpoint, others just PDFs). We've tried similar exercises in the past with Word and other programs with not a lot of satisfaction from our client. So, no pun intended, but Acrobat offered the most portable file format to accomplish our needs.
    Though the original code posted above doesn't exactly solve our problem it's a great start for us and gives us somethign to build off of.
    This is a simple one I think. What's the command to add text to a field? So if I wanted to add the character "\n" once the text was full. I guess that would be something like (just a note, not real code)…
    var hardreturn = \n;
    if (max == 25) {
    addText.value = hardreturn;
    (sorry a million times for my horrible programming skills)
    Thanks for everyone's input thus far. This is a great and informative discussion.
    Message was edited by: b.whitham

  • APEX_ITEM.textarea with character count in a SQL Report

    This seems like a simple question but where is the function to have APEX draw the textarea but with a maximum number of characters from within a SQL report.
    I am building a parameter entry form but the number of parameters is dynamic so my best option was to use a SQL based report. I have looked though the APEX_ITEM package and found the textarea function but there is no options to draw the version of it that limits character count. Is there a way to have it draw that textarea instead of the unlimited one. In my case I have a length limit that I must enforce.

    The only solution that comes to my mind is to use Javascript. Define a JS function in page header that will check the length of text in textarea and if it exceeds the limit then it will trim it.
    Then, when creating textareas using APEX_ITEM add paramater onChange="callToYourJSFunction()"

  • Character counter in ABAp Webdynpro

    Hi everyone,
    I have a table with an editable field.
    I'd like to have a "Character counter" over the table, which displays the remaining characters of the field.
    Example:
    The field length is 100, but there is a limit for the maximum length e.g 70. When the field is empty the counter is 70, if the user starts to type, after every character the counter is decreased, until the counter reaches 0.
    My question is:
    Is this possible? If yes then how?  I can't find "onType" event in the Table properties
    Thanks & Bye
    N.

    Hi,
    The requirement looks very interesting...But I really wonder there is such event to handle the things as the user types the characters..There is no such event  to handle this.. You need to have a button and everytime user has to click to increase/decrease the counter...check if TIMER UI element can be used in this case because to record the user inputs we can set the timer and then try to have the character count...But this is really not a solution. just try it out...
    Let Thomas provide some inputs on this.
    Regards,
    Lekha.

  • Character Counter for a Rich Text Editor

    Version  4.1.1.00.23
    Hello,
    I'm hoping that someone has a solution for a character counter/validation to use on the Rich Text Editor.
    Thanks,
    Joe

    Hi,
    Happy New Year.
    Ok.
    Well, I'm not expert on this, but this peace of code might help you get started.
    Code should go to page JavaScript -> Execute when Page Loads
    var lEditor=CKEDITOR.instances.Px_YOUR_EDITOR;
    lEditor.on('contentDom', function() {
    lEditor.document.on('keyup', function(e) {
    var len=lEditor.getData().replace(/<[^>]*>|\s/g, '').length;
      /* do here something. JavaScript valiable "len" holds editor text length e.g. */
    /* alert(len); */
    Replace Px_YOUR_EDITOR with your editor name.
    I do not have any idea does it work on all browser. I did test with Firefox.
    Regards,
    Jari

  • Script that will show the character count of all carriage resturns

    I have found a bug when exporting an indd to idml. If a a carriage return falls in a character count that is a multiple of 8000 + 1 it is converted to a paragraph separator (u2029). I am in the process of mass exporting around 3000 files to idml for a project. I am trying to come up with a way with a script to check the files to see if carriage returns exist in these locations. I am fairly new to scripting and don't know how this would be done. I know it is possible to get character counts but is it possible to check if a character exists in a certain character count from the beginning of a story? Any help on this would be appreciated.
    Also has anyone else ran into this with exporting to idml? I have submitted a bug report. This is can be recreated across multiple computers, OS's and versions of InDesign.

    @Blujely – about your initial question about showing a specific character at an n-th position in a story, you could use a simple GREP search in InDesign and restrict that search to a specific story (e.g. the story of a selected piece of text):
    Search for the n-th position with the formular in dummy-syntax:
    Positive look behind of any character in the exact length n-1 + character
    E.g. if you want to look for a "carriage return", defined in GREP as \n at every 10th position, search for:
    (?<=.{9})\n
    In your case that would be:
    (?<=.{8000})\n
    Uwe

Maybe you are looking for