Changing all the names of layers in capital letters

I tried to clean the layers in a document (s) with the following script.  Everything works except for the line in capital LETTERS.

Someone at - it ideas?

function standardizeLayerNames()

{

var myDoc7 = app.activeDocument

var myLayerCount7 = myDoc7.layers.length

for (var myCounter7 = 0; myCounter7 < myLayerCount7; myCounter7 ++) {}

var selectLayer7 = myDoc7.layers [myCounter7]

selectLayer7.visible = true

selectLayer7.locked = false

selectLayer7.name = selectLayer7.name.replace (' '-', '_')

selectLayer7.name = selectLayer7.name.replace ("", "_")

selectLayer7.name = selectLayer7.name.CaseChangeType.UPPERCASE

}

}

function standardizeLayerNames() {
          var myDoc7 = app.activeDocument;
          var myLayerCount7 = myDoc7.layers.length;
          for (var myCounter7 = 0; myCounter7 < myLayerCount7; myCounter7++) {
                    var selectLayer7 = myDoc7.layers[myCounter7];
                    selectLayer7.visible = true;
                    selectLayer7.locked = false;
                    selectLayer7.name = selectLayer7.name.replace(/[- ]/g, "_").toUpperCase();
          }
}

Tags: Illustrator

Similar Questions

  • the column 'from' on my mail has changed all the names being a sender

    I get messages from PayPal payment everytime someone pays me. The problem is on one of my email accounts that include all messages from PayPal for payments received from them. Everyone who sent me a payment last week all have the column with name changed to one name instead of that the message was in fact. The column now has only one customer name in it.

    For example:

    The original message in the column used to say "John doe via Pay Pal"... Now all the messages in the column now say 'jane doe via Pay Pal' when they said originally from john doe. All payments that have been received before and after this specific one payment now all read 'jane doe via Pay Pal' and NOT what they initially said in the column.

    I checked with my webmail provided and verified that the e-mail server and e-mail messages are properly formatted on the webmail with the sender correctly displayed in the column. It seems that the problem lies between the web and where it appears in Thunderbird.

    Help, please!

    Go to your address book and find the entrance to PayPal. Delete the name of this contact. It displays the name of the person where you first saved the contact. No doubt when you have selected to always display content from this sender.

  • Change all the names of Swatch "Name with color value"?

    Y at - it a Javascript command change the nuances in a document to the "Name with color value" box in the Swatch Options? I know there are scripts to change the names of swatch based on the value of the color, but I'm looking for a script that applies this specific to all checkbox.

    Thanks in advance!

    This should do it:

    (function(){
      var doc=app.activeDocument,
      sw=doc.swatches.everyItem().getElements(),
      c;
      for(var i=3; i
    
  • (menu bar) Help > troubleshooting information
  • type or paste everything: in the address bar and press Enter

In the first table of the page, click on the view file"" button. This should launch a new window that lists the various files and folders in Windows Explorer.

Leave this window open, switch back to Firefox and output, either:

  • "3-bar" menu button > button "power".
  • (menu bar) File > Exit

Break while Firefox finishing his cleaning, then rename logins.json to something like logins.old, or I guess you could remove it if it is really unnecessary.

Launch Firefox to trigger a new conversion

Launch Firefox back up again. The transformed logins with success this time?

  • How to stop Nitro file converter to change all the files Adobe

    Recently, I wanted to convert a word document to PDF format and downloaded a free version of the Nitro program, but as the only free part of the downloaded program had to watch as she then asked me to purchase the full program before I can use it so I deleted it from my computer. But before he completed the uninstall is it changed all the Adobe files and documents that I had on my computer as it now changes the file type of any Adobe file or document sent to me as an attachment.  How can I stop it? Drag the manufacturer before the courts sort them? If anyone has any ideas on how to prevent or change what happened to be sent to the email address [email protected]

    Hi 117elk,

    I'm sorry to hear that you are having problems with your Adobe files. But I think it will be an easy fix. You should be able to re - associate files with their correct application names. I'm tons of course what operating system, you are on, but here are the instructions for many:

    Change the programs that Windows uses by default - Windows help

    How to change the default application for a file type. Macworld

    Please let us know how it goes.

    Best,

    Sara

  • How can I change all the recipients in a list PREPARED in advance of 'to' to 'bcc '?

    I know that if I type in the first recipient and press "BCC", the following will automatically replace if I am composing an email to multiple recipients from scratch. However, I already have a sublist prepared in advance in my Contacts folder. If I click on 'write', all the names are in the empty email and the above does not help. Any ideas, please?

    From an email in the address book is not the best choice.

    Turn on the sidebar of contact in the entry window. Open a window of writing and press F9.
    Select your mailing list and use the button Add to the ICC at the bottom.
    Who do you want?

  • To work with the text to the assignment by the cursor of the large fragment of page it is necessary to change all the time down, 'against the judgment", but the page automatically does not start to rise upward, as happens in other browsers. I ask you for

    After the transition to Windows 7, there was a problem with Firefox. To work with the text to the award by the cursor of the large fragment of page it is necessary to change all the time down, 'against the judgment", but the page automatically does not ascend to the top as it was earlier, and like that occurs in other browsers. It is necessary to press the other key "down" which is him very troublesome. Resettlement on an earlier version (8.0) earlier irreproachably working, gave nothing. I ask you to help

    You must activate the module bar (Firefox > Options or view > toolbars;) CTRL + /) or find bar to make Firefox scroll the page while selecting the text (Ctrl + F).

  • My search engine is not to remember all the names that I type. How can I fix this problem so that the search engine will remember that I have type.

    My search engine doesn't remember all the names that I type. What can I do to make it back as if it were?

    Yes, it's the Google site and this entry field uses autocomplete = off, Firefox won't store form data that you enter in this field of research.

    You can use the build-in on: home page as your home page that does not have this attribute.

    See for a similar case with the name and password fields.

  • I can not open a new tab (empty) I change all the settings. However as I said well can I open a new tab with a link without a link, I can't open a new (empty) tab.

    I can not open a new tab (empty) I change all the settings. However as I said well can I open a new tab with a link without a link, I can't open a new (empty) tab.

    Uninstall the toolbar Ask and it should work again. There is a compatibility issue with the Ask and Firefox toolbar that prevents the opening of new tabs.

    There are a few places to check for the Ask toolbar:

  • My background changes all the time. How can I get it stays the same?

    The background on my laptop changes all the time. I am constantly going to the control panel and change = ing it and invited her to "Save Changes". This never happens. Can someone tell me why this is happening?

    Hi karey204.

    Office operating system preferences and settings, such as the desktop wallpaper, sounds, themes and screensavers can not be saved if the user account is damaged. Create a new user account to solve the problem.

    Note: If my post answered your question, please mark it as an "accepted Solution".

  • Is it possible to send several emails without all the names come in?:

    Is it possible to send multiple mails without all the names come in?:

    Thank you

    These forums are for MS programs, and your Hotmail should ask here for the best help.
     
    Windows Live Solution Center Hotmail Forum
    http://windowslivehelp.com/forums.aspx?ProductID=1
  • The list of all the names in a NTFS folder

    I want to list all points of analysis and all the names of files and folders in a folder and all the pertinent information, as junctions, link targets, ACL, attributes and dates. I just need something that works with NTFS under windows 7.

    Using a computer in the Norwegian language, I want to see the 'Users' and 'Brukere.

    Is there a way to do this?
    Thank you

    These commands will give you more if it isn't what you're after:

    dir /a c:\Users
    attrib c:\Users

    ICACLS c:\Users

    Given that "c:\Brukere" is mapped to "c:\Users", you will get the same information in each case.

  • All my programs have gone there program default open in Word 2007 how to change all the programs back to defuault there?

    All my programs are passed to the default opening program here as Word 2007 How do I change all the acknowledgement of programs to defuault there? I uninstalled the steps and it made no difference so I reinstalled and opened. Then he did the same as before. How can I get my programs back to default here?
    This problem started as soon as I updated my Windows 7 - 32 bit - please help. :(

    Hello mattyboy1212,

    Thanks for posting on the Microsoft answers Forum.

    Try these steps and see if you can associate the default programs. If they are associated with Word, and then change them to the correct program.

    1. click Start and then click Control Panel.

    2. click on programs link.

    Note: If you see small icons or large icons in the control panel display, you will not see this link. Click on the default programs icon, and then click the link associated with a file type or Protocol with a program . Go to step 4.

    3. click on the link to Open a file in a specific program type always under default programs .

    4. in the set Associations window, scroll down until you see the file extension that you want to change the default for program.

    5. click on the extension of the file to select it, once you have found what you are looking for.

    6. click the button of change... program above the scroll bar.

    The Open with dialog box should appear.

    7. look into options for programs recommended and choose the application you want to open it with the file extension when you double-click on the particular type of the file on your computer.

    Note: Chances are, requests described under the programs recommended will be contain more programs for this type of file, but don't forget to look at the applications under other programs. You may need to click the v to expand the list of these programs.

    Note: Click Browse... to search, through your computer for any program not shown do not want to use.

    8. click OK in the Open with window. Windows 7 is going to update the list of file associations to display the new default program to open this type of file.

    9. click the button close the bottom together associations . You can also close the window of the Control Panel if it is still open.

    10. at this stage, when you double-click on any file with this particular file extension, the program you partner in step 7 will launch and load the particular file.

    Important: Program used to automatically open when these types of files have been launched will again open these types of files. To use a different program, you just need to start the program manually and then browse your computer for the file in particular.

    If please reply back and let us know if know if it helped to solve your problem or if you still need help.

    Sincerely,

    Marilyn
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Movie Maker grab and changed all the desktop icons for Movie Maker and all isopening Movie Maker

    I have a big problem, I have Windows 7 and I made a film using still photos on my computer now all binding, Movie Maker says that Movie Maker does not support the selected file type, 3 first films went great, but obviously I hit the wrong key, it changed all the icons on my desktop to display the icon of Movie Maker and each icon now opens on seizures to the top of Movie Maker, I tried every troubleshooting and restoration utility, but nothing changes; When I go to Movie Maker hand opens as if she's trying to do something. Can you give me any advice, would be much appreciated I can't do a thing right now.

    VI

    Have you tried to do a system restore
    Safe mode for one hour before the beginning of the question?

    Using Windows 7 or Vista System Restore
    http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-system-restore/

  • How to export all the names of files in a folder to simple text file.

    Hello Expertise,

    I am trying to load the names of files in the folder to a table in ODI. then load the data from there to a single table.

    I am able to load the data from 100 files in a folder. using the concept of loop (used ODI gurus: SEVERAL FILES - TARGET SINGLE TABLE - SINGLE INTERFACE link to do this, but right now I need to insert the names of files manually to a table. ) My Question is "is there any jython script or procedure to load all the file names to single table with FILENAME column. ???


    If it please help me do this.


    Thank you

    Shakur

    Hi Shakur,

    Yes you are right... The operating system command should be part of the automated process, I mean if you combine these file loading process (Interface, procedure, etc.) in a package of ODI, then the command BONES to get all the names of files in the FOLDER should be one of the steps in the package of ODI. For this, you can use ODI OS command component.

    Kind regards

    Parag

  • Maybe you are looking for