Arbitrary mask with capital letters

I have a text field where the entry needs to be AA99A, or A99A in arbitrary mask, but I want to have the letters in caps. If I use the arbitrary mask, I can't put in caps.
But if I use the custom keystroke script, I can change the letters in caps but then I don't know how to get that entry in the custom format script.

I get that I need to add a script in the custom keystroke, as a matter of fact I put this code in the custom keystroke: event.change = event.change.toUpperCase();
However I don't know how to write the script to only allow 1 or 2 letters, followed by 2 numbers and then another letter.

Similar Messages

  • Table entries only with capital letters

    Hi
    I have created a table with some entries.One of these is type char length 65.My problem appears when i try to add entries to my table in this field,it will automatically transform them in capital letters.Even if i write with small letters,when saving,it will save my text with capital letters.How can i change this?
    thank you.

    Hi Seba,
    Make below change in the DOMAIN for that field
    Domain
    Defination Tab
    Tick Lower Case Checkbox of Output Characteristics..
    Use
    When this attribute is activated, you can enter both upper and lower
    case letters; conversion to upper case does not then take place. Use of
    this attribute only makes sense with character formats.
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7
    ilesh Nandaniya

  • Issue with capital letters

    Hi folks!
    I usually make translations of video materials in my language (italian), so I usually open Word for Mac and Quick Time Pro together.
    Since I write these translations in capital letters, to make them easier to read by voice talents, I noticed that, in last Quick Time updates, with caps Lock inserted the transport keys J, K, L don't work, and the keys I and O (to loop a sequence) either.
    Have you ever heard about it?
    Is anybody able to suggest a work-out?
    Thanx in advance!

    Not really a workaround or a solution, but two things to consider...
    1) DOING SCRIPTS IN ALL CAPS IS AN ARCHAIC PRACTICE WHICH DATES BACK TO THE STONE AGES WHEN THE ONLY WAY TO GET LARGE TEXT WAS TO USE A PRIMARY TYPEWRITER WHICH WAS INCAPABLE OF PRODUCING LOWER CASE TEXT. I STILL DO NOT UNDERSTAND WHY MIXED CASE IN A LARGE FONT SIZE, WHICH IS ACTUALLY MUCH EASIER TO READ THAN ALL-CAPS, HAS STILL NOT BECOME THE WORLDWIDE STANDARD. THIS PARAGRAPH IS IN CAPS NOT BECAUSE I AM TRYING TO SHOUT, WHICH IS THE USUAL INTERPRETATION ON THE INTERNET, BUT TO DEMONSTRATE A POINT: READING THIS PARAGRAPH IS ACTUALLY MADE MORE DIFFICULT BECAUSE OF THE CAPS AS THEY OBSCURE THE SYMBOLS, THE SENTENCE ENDINGS, AND ANY OTHER METHODS WHICH MIGHT BE USEFUL FOR EMPHASIS.
    THAT SAID, IT MAY NOT REALLY BE YOUR CHOICE. OBVIOUSLY YOU HAVE TO LIVE WITH WHATEVER STANDARDS ARE ESTABLISHED BY YOUR CLIENT, EVEN IF THOSE STANDARDS DON'T REALLY MAKE SENSE.
    2) Have you considered getting yourself a Shuttle Express or Shuttle Pro controller? I'm trying to remember the manuf...I think it's Contour Design or something like that. Yeah, here it is: http://www.contourdesign.com It's a multimedia controller which plugs into the USB port and emulates a jog/shuttle control found on a professional VCR. The neat thing about it is that all of the buttons and functions are completely programmable, and you can even use it to fire off AppleScripts. I've got the Shuttle Express which has five buttons (the Shuttle Pro has "a whole bunch"), and the really cool thing about it is that because you can program it on a per-application basis or on a global basis. Even cooler is that the device focus does not necessarily follow the application focus, but it does follow the mouse pointer.
    (Okay, Dave, what the heck does all that mean?)
    What that means is that not only can you use it as a bi-directional jog/shuttle controller for QuickTime, not only can you program the buttons for, say, set-in, set-out, play-forward, loop, stop...but I'm pretty certain that you can set it up so that while you are TYPING MERRILY AWAY IN ALL CAPS IN MICROSOFT WEIRD, it can still control QuickTime Player *even though QuickTime Player is not the foreground application*.
    It isn't really a solution or a workaround to your problem, but it's a tool that might be beneficial to your workflow.
    Disclaimer: That's an unsolicited endorsement. I don't sell hardware, I have no connection whatsoever to Contour Design, and can't think of any possible way to benefit financially from giving this advice. I do own a Shuttle Express and think it's a cool little gadget.
    --Dave Althoff, Jr.

  • How to map small letters  with capital letters????

    Hi,
    In my application i have to filter the element in the JList.......
    The filtering techniques i used have done the correct job .....
    But i had the problem that Jlist contains the elements with Titlecase...when i give the small 'a' in the textfield i should require to display element with starting with A element
    DocumentListener listner = new DocumentListener() {
    public void insertUpdate(DocumentEvent e) {
    javax.swing.text.Document inse = e.getDocument();
    try {
    lastsearch = inse.getText(0, inse.getLength());
    filter(lastsearch);
    } catch (Exception tt)
    tt.printStackTrace();
    public void removeUpdate(DocumentEvent e) {
    javax.swing.text.Document inse = e.getDocument();
    try {
    lastsearch = inse.getText(0, inse.getLength());
    filter(lastsearch);
    } catch (Exception tt)
    tt.printStackTrace();
    public void changedUpdate(DocumentEvent e) {
    jTextField5.getDocument().addDocumentListener(listner);
    jList1.setModel(listmodel);
    the filter method contains the following code;
    void filter(String search) {
    listmodel.clear();
    for (Object element : collect) {
    if (element.toString().indexOf(search, 0) == 0) {
    listmodel.addElement(element);
    //fireContentsChanged(this, 0, getSize());
    private void fireContentsChanged(student aThis, int i, Dimension size) {
    // throw new UnsupportedOperationException("Not yet implemented");
    My listmodel and collect contains the following elements
    Aruna
    Anub
    Sivekumae
    pls help me out
    Shanthy

    you are comparing strings with
    if (element.toString().indexOf(search, 0) == 0) {what you can do is do something like
    if (element.toString ().toLowerCase ().contains (search.toLowerCase ())) {All the converting toLowerCase is just so the caps are ignored. If you really want starting strings only, you use startswith instead:
    if (element.toString ().toLowerCase ().startsWith(search.toLowerCase ())) {hope this helps!

  • AD accounts find users with all capital letters

    Hello ,
    I am a noob , am searching online but can't find exactly what i need.
    So am posting here in hope some one will help me. :)
    I what to make a short powershell script that finds all users with capital letters from the second letter on.
    Example
    first name = Bob last name =Red    corect
    first name = BOB last name =RED  wrong
    i want to extract all the wrong names with capital letters in text file
    So my question is that possible and how can i do it in server 2008 r2.
    Thanks in Advance for any answers

    This is obviously not an Exchange question, but a PowerShell question.  You should probably post it in the scripting forums for completeness.
    That being said, you can try using -cmatch against a regex.  I used  -cmatch '[A-Za-z]+[A-Z]+' to test a name with later capital letters, and it appeared to work.
    [PS] C:\Scripts> "Willard" -cmatch '[A-Za-z]+[A-Z]+'
    False
    [PS] C:\Scripts> "WILLARD" -cmatch '[A-Za-z]+[A-Z]+'
    True
    [PS] C:\Scripts> "WillARD" -cmatch '[A-Za-z]+[A-Z]+'
    True
    [PS] C:\Scripts> "WillarD" -cmatch '[A-Za-z]+[A-Z]+'
    True
    [PS] C:\Scripts> "WiLlArD" -cmatch '[A-Za-z]+[A-Z]+'
    True
    So for your test, and using the Exchange commands (you can change them to the Windows 2008 AD commands), you'd run:
    Get-User | ? { $_.DisplayName -cmatch '[A-Za-z]+[A-Z]+' }

  • Identifying capital letters in strings

    I need to read a string (in this case a sentence) and identify any 'words' in the sentence (excluding the first word of the sentence) that begin with capital letters OR are entirely made up of capital letters. I guess I use string tokenizer to braek the string into individual words, but how do I then 'spot' capital letters (either beginnig words or all through the word)?

    Here's the script that completes the task you describe (that is, to the best of my knowledge based upon your description). Enjoy!
    Regards,
    Brad Galiette
    (Note - create a CapsLetters object and call testString; for instance:
    CapsLetters myCaps = new CapsLetters();
    boolean result = myCaps.testString("Hello There");
    class CapsLetters{
         String caps[] = {"A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"};
         String notCaps[] = {"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"};
         public boolean testString(String sentence){
              StringTokenizer sentenceWords = new StringTokenizer(sentence, " ");
              String tempStr;
              if (sentenceWords.hasMoreElements()){tempStr = sentenceWords.nextToken();}
              boolean validSentence = true;
              boolean allCaps = true;
              boolean firstCap = false;
              boolean otherCaps = false;
              while (sentenceWords.hasMoreTokens()){
                   tempStr = sentenceWords.nextToken();
                   allCaps = true;
                   firstCap = false;
                   otherCaps = false;
                   int noCapsInc = 0;
                   for (int i = 0; i < tempStr.length(); i++){
                        System.out.println(isCaps(tempStr.charAt(i)));
                        if (isCaps(tempStr.charAt(i))){
                             if (i == 0){
                                  firstCap = true;
                             else{
                                  otherCaps = true;
                        else{
                             allCaps = false;
                             noCapsInc++;
                   if ((allCaps == false && otherCaps == true) || noCapsInc == tempStr.length()){
                        validSentence = false;
              return validSentence;
         public boolean isCaps(char letter){
              String letterStr = "" + letter;
              boolean capFound = false;
              for (int j = 0; j < caps.length; j++){
                   if (caps[j].equals(letterStr)){
                        capFound = true;
         return capFound;
    }

  • Getting rid of CAPITAL letters in names

    When importing a batch of contacts, the last name entered in capital letters. Would anybody know of a script to adjust that to normal letters as there are a couple of hundreds of them.
    thanks
    Filip

    What I have tried but does'nt seem to work: I exported those cards into word. Toggled the capital letters. exported it into a csv file and imported it back into address book. Address book recognized the duplicate files and merged them but....kept the one with capital letters....aaaaaahhhhh!
    scripting wizards around?

  • Text in capital letters only

    Hi all
    When I try to add text to a picture in my photoshop elements, then it only writes with capital letters.
    I guess I might have pushed some botton somewhere, but I can't find it.
    Anyone knows how to solve this?
    And before you think my caps is locked.. then no ;-)
    greetings from Sweden
    Christina

    As I have never used PSE, I am not sure if it has something like the Character Palette (probably similar, as the Options Bar above, seems similar), but in PS, there is a setting for All Caps in the Character Palette. That is where one could easily change things to Initial Caps, if that is what is desired.
    What happens is that one Opens an image, where All Caps was used, and then does some editing of Text. A good, and common, example of this is with many DVD Menus. The All Caps is a "sticky," and if used for that first Image, will "hang around," when the next Image is Opened. Often, the user is totally unaware that this change has been made - until they start typing and they are not getting what they desire. A simple reset takes care of it.
    Here's a look at PS CS2's Character Palette, w/ the All Caps icon active.
    I'm surprised that the PSE forum sent you here, as Barb_O and the rest are usually very quick to help with PSE issues.
    Good luck, and sorry that I cannot point you directly to a Character Palette in PSE, but I think that you have your answer above.
    Hunt

  • Capital letters issue with 'like'

    Hello
    Maybe it is simple but I cant find solution for this.
    For example I have table pets with column name
    "name" | "category"
    1. Tomcat | cat
    2. tomy | cat
    3. toM | cat
    4. tim | cat
    5. tOmi | cat
    query
    select name from pets where name like '%to%'
    results will give me
    2. tomy
    3. toM
    but i want as results all names wit 'to' no matter if it has capital letters or not
    1. Tomcat
    2. tomy
    3. toM
    5. tOmi
    How should i write this query ?
    please help

    Hi,
    Salski wrote:
    but I also have to remember to convert entered string in inputtext to uppercase as well
    someString.toUpperCase()You can also do that on the back-end, if that's better for you:
    select  name
    from    pets
    where   UPPER (name) like '%' || UPPER (someString) || '%'
    Thanks all for respondGlad to help!

  • Script to replace small caps that are typed as capital letters with non-capital letters (A = a, B = b, etc...)

    I'm looking for a way to replace small caps that are typed as capitals by their normal equivalent.
    I've got a text that contains a lot of names which should all be set in small caps.
    In fact they are, but because capital letters are used for first letters they don't scale.
    Short: I would like to be able to look for A, B, C... (in small caps) and replace them with (a, b, c...) in small caps in one go.
    (compare two arrays?? -> is this possible in indesign scripting)

    Hi,
    Actually, it works only with OpenType fonts and - in this case - can be managed by UI find...change feature.
    With other type of font we need a real change of contents (another keyboard hit).
    It could be done with this code (activeDocument is a target):
    -- works for Open Type as well --
    // For Latin Basic (ASCII from 65 to 90)
    // changes a "cap" letter to a "small" letter
    // if Capitalization.SMALL_CAPS is applied to
    app.findGrepPreferences = app.findGrepPreferences = null;
    app.findGrepPreferences.findWhat = "\\u";
    app.findGrepPreferences.capitalization = Capitalization.SMALL_CAPS;
    var
      mSTART = 65, // ASCII number for "A"
      Mstart = 97, // ASCII number for "a"
      mDiff = 0,
      mTarget = app.activeDocument,
      mFound = mTarget.findGrep(),
      len = mFound.length, cString;
    while (len-->0) {
      cString = mFound[len].contents;
      mDiff = cString.charCodeAt(0) - mSTART;
      if (mDiff > -1 && mDiff < 26)
      mFound[len].contents = String.fromCharCode( Mstart + mDiff );
    app.findGrepPreferences = app.findGrepPreferences = null;
    Jarek

  • Iphoto shows two photo libraries with the same name, one in small letters the other in all capital letters. they both open the same library and the only one in my computer. How do delete the capital letrs one as the one in the pictures folder is in

    In my  iPhoto application when I select switch libraries It shows 2 libraries with the same name, but one has the name is in Capital letters.
    They both open the same library which is in the Pictures folder. This is the only library I can see and the name is not in capital letters?
    How do I get rid of the one in capital letters

    What is your iPhoto version?
    when I select switch libraries It shows 2 libraries with the same name, but one has the name is in Capital letters.
    In the Library Chooser Panel look for the pathes to the two duplicate libraries. You will see the location of the libraries in the path bar at the bottom of the window when you select one of the libraries. Does it show both libraries in the same folder?

  • Spell Checking Text with All Capital Letters

    Is it possible to change a spell check option in Adobe, like you can in MS Word, to include words in all capital letters? we have thousnads of documents that require all text to be all capitals and spend an appreciable amount of time spell checking by copying to MS Word to discover errors. No one I've talked to seems to have an answer.

    As I understand it the spell check in Acrobat is for text in annotations only.
    It does not check PDF page content..
    Such content needs to be spell/grammer checked before converting to PDF.
    Be well...

  • TS1314 Dear all, greetings, I did not mean to offend anyone by typing all my texts in capital letters, I am just used to it and at my age (63) it is better and easier for my eyes to type all the texts in my messages in capital letters.I do apologize about

    Dear all, greetings, I did not mean to offend anyone by typing all my texts in capital letters, I am just used to it and at my age (63) it is better and easier for my eyes to type all the texts in my messages in capital letters.I do apologize about it all. I can assure you that I do respect all of you more that you maight me thinking of. i have the same difficulties in typing in small letters like yours in reading texts in CAPITAL letters.......tant pis, c' est la vie
    For web and computing experts I would like to remind them that all the peoples nowadays have the same needs (or hobbies if you wish) regarding the electronic devices, web, compouters, softwares and that sort of thing.
    If I WERE not to have technical support because of my prefiously used capital letters in me text messages, I have to confess that next time I will be more carefull about the devices producers........ I live and always learn (SOCRATES, girasko, aei didaskomenos)
    Two questions
    1. I noticed on the you tube videos about the new ipad that the main icons are more than mine (i.e. the icon of facebook and a number or others are missing)
    2. I would like to ask you to do me a favour, thanks for your patiene. Still I have not understood how (in which way, the pictures, transfered from my system or new taken by the ipad camera are uploaded directly to the FaceBook. I suppose that I will not have the same difficulties regarding the videos to both Facebook AND YoutTube. Thanks a lot for your patience with me, from now on I will be more carefull about posting messages to you referring to technical support
    Constantinos
    Athens, Greece

    Some of the apps shown in adverts / videos have been downloaded from the App Store, they don't come pre-installed e.g. the Facebook app is a free download the app store : 'official' Facebook app.
    To upload photos to Facebook you can use the above app - you can't, for example, use Safari on the iPad to upload content to sites.
    Not sure whether any apps allow you to upload videos to YouTube (I don't use the site).

  • Why capital letters change in lower after copying them from a PDF document, or otherwise, why some uppercase are in fact lowercase when I look in the Text Property in any PDF Reader.

    Why capital letters change in lower after copying them from a PDF document (Made by InDesign), or otherwise, why some uppercase are in fact lowercase when I look in the Text Property in any PDF Reader.

    your home page to get into your Web site should be index.html (for Mac) or index.htm  (on PC)
    You can name it something other than index, but will be harder to find.  when you create the subjects and link to them, they can can be named anything with the html extension  Or if your using PHP end in .php. There is a Microsoft type asp or aspx but your hosting service has to set up using windows server system.
    My hosting service use a Linux server normally but can convert Windows for a Fee.  UNIX Linux has no concept of asp or aspx.
    See this : https://skitch.com/pjonescet/8mnnx/dreamweaver

  • How do i get Rosetta stone to recognize capital letters in Rosetta stone

    Yeah, so how does this happen? Capitals worked with a PC, but not w/mac. any help?

    I second shldr2thewheel.
    I use Rosetta Stone and have no issues getting capital letteres recognized.
    But in the "writing" lessons the "soft keyboard" has a "shift" key for making the capital letters available.

Maybe you are looking for

  • Update terminate during return sales order creation (Delivery processing)

    Hi, I have having issues with a scenario while creating delivery in a 4.7 system. When creating a return order (using FM SD_SALESDOCUMENT_CREATE) our system is configured to automatically generate deliveries for the return SO. The scenario we are fac

  • How to go from 4.4 to 4.2.2?

    hello.i have the primo 81 with updated 4.4 kit kat and i will go back in 4.2.2 because i dont like.which is the way to do?

  • Gateway and database in a different oracle_home

    Hi:   my env : rhel5.8  oracle10G x86_64   the gateways 's version is  oracle11g   so I install the gateway into  another path   How to I configure the listener?   I mean which listenr.ora should I configure . [oracle@server1 bin]$ pwd /opt/app/produ

  • Link problem in Internet Exlporer

    A few months ago I launched a new Dreamweaver site for a client and all links were working. I recently added some thumbnail images (to those already there) and on the pages with the new images the 'Hotspot' links to the following pages do not work in

  • Magic Trackpad issue with Windows 7 Boot Camp

    Hi, I just cannot get the the magic trackpad to work with bootcamp in indows 7. 1) is it compatible? 2) I have already updated bootcamp to the latest version, installed driver software. It detected the trackpad once and worked but than on reboot just