Help: how to fix a line in this script (almost good) for change text to real UPPERCASE?

app.findGrepPreferences = null;
app.findGrepPreferences.findWhat = '\\l\\l+';
app.activeDocument.characterStyles.item("SC");
foundList = app.activeDocument.findGrep(true);
for (i=0; i<foundList.length; i++)
  foundList[i].changecase (ChangecaseMode.UPPERCASE);
The idea is to select the magenta words in scaps to be setted in uppercase.
The problem is the script (based in Jongware and P. Kahrel)  is converting all texts to uppercase not assuming the condition under “SC" character style.
instead, it is changing all the text:

try:
app.findGrepPreferences.appliedCharacterStyle = app.activeDocument.characterStyles.item("SC");
*not tested

Similar Messages

  • When I am on my home wifi I can send e-mail.  When I am not on my home e-mail but on a wifi network or using the 3g network I cannot send e-mail.  HELP HOW TO FIX.

    When I am on my home wifi I can send e-mail.  When I am not on my home e-mail but on a wifi network or using the 3g network I cannot send e-mail.  HELP HOW TO FIX.

    I know this question is a few years old now, but I recently found myself having the exact same issues;
    Using my iphone or ipad at home created no problems at all, but I couldn't send e mails when away from my home network.
    I recently switched broadband supplier at home and set up a new e mail address, then my problems began!
    I openly admit I'm not great with technology and, to be honest, some of the answers provided on these forums confuse me more than the questions!
    But this worked for me:
    I went along the lines that the fault wasn't with my idevice but possibly with the broadband provider (in my case Plusnet) so I contacted their customer support.
    They referred me to the set up process shown below;
    From your home screen press Settings.
    From the setting menu, choose Mail, Contacts, Calendars followed by Add Account…
    From the Add Account… menu choose Other.
    Fill in your Full Name, Email Address, Password and Description and press Next.If you need help with these, there's more detail underneath the screenshot.
    Full name: Enter your name (or the name you'd like people to see when you send them email)
    Email Address: Enter the address you're setting up, this could be a Plusnet address ([email protected]) or a hosted domain address ([email protected])
    Password: Enter the password for your email address (I don't know what this is)
    Description: Enter a useful description of the email address you're setting up (e.g. Mum's email). You can put whatever you want here
    Press Next to continue.
    More settings will appear. Some will already be filled in.Enter the Incoming and Outgoing Mail Server details and press Next. If you need help with these, there's more detail underneath the screenshot.
    IMAP/POP This will default to IMAP - it's up to you which one you want to use (I don't know what to choose)
    Incoming Mail Server settings
    Host Name: For IMAP this is imap.plus.net - for POP, this is mail.plus.net
    User Name & Password: Enter the username and password for the email address you're setting up (I don't know what these are)
    Outgoing Mail Server settings
    Host Name: relay.plus.net
    User Name & Password: These are optional, but if you want to send mail while on the move (e.g. while connected to mobile or wireless networks), we recommend filling these in.Enter the username and password for the email address you're setting up (I don't know what these are)
    When you're finished, press Next.
    If the box shown below appears, press Yes (you may need to do this twice).
    After a minute or two, your email address will be set up and ready to use.If you chose IMAP when setting up you’ll be able to choose whether you want to use Notes (if you chose POP you’ll be taken back to the settings screen from step 2). Press Save when you’re done.
    That's all you need to do. To start checking your email, go back to your home screen and press Mail.
    Now I fully understand that it may be different for each broadband provider but the processes must be similar.
    The key appears to be in setting up the outgoing message server settings in step 5. Where it says "optional, but if you want to send mail while on the move (e.g. while connected to mobile or wireless networks), we recommend filling these in.
    http://www.plus.net/support/email/setup/ios-setup.shtml#pagetop
    Where it says "we recommend" I think it should read "you must fill these in"
    I went back to Settings - Mail,Contacts, Calenders - click on the offending account and click on the account shown.
    Under OUTGOING MAIL SERVER click on the server, in my case relay.plus.net, and click again to show the details. make sure you enter your user name and password and after a few seconds the account will verify and show a load of ticks.
    I tried this on my phone this morning while on 3G only. I sent an email to another of my addresses and immediately got the response that the message couldn't be sent as the recipient was rejected and the message had been placed in my Outbox. I followed the above steps and immediately heard the satisfying "whoosh" as my mail was sent. 10 seconds later another satisying beep as my e mail arrived at my alternate account.
    Hope this helps anyone else with a similar problem.

  • How can I fix apple tv error "this content requires hdcp for playback"

    how can I fix apple tv error "this content requires hdcp for playback" I've done everything suggested in troubleshooting and still my apple tv don't work.  I'm thinking on returning it, since it doesn't work.

    Welcome to the Apple Community.
    Check that the HDMI cable is correctly seated at both ends.
    Try disconnecting the cable and connecting it again.
    Try another HDMI cable.
    Make sure your TV supports HDCP
    Try the Apple TV with another TV

  • It seems that my iphone 4 8gb verizon burnt out when i plugged it in my car charger and the screen went completely black and my iphone was hot when it happened any help how to fix it?

    It seems that my iphone 4 8gb verizon burnt out when i plugged it in my car charger and the screen went completely black and my iphone was hot when it happened any help how to fix it?

    kriss1692 wrote:
    I cant use my phone
    So use a different phone...
    and i dont remember my serial number on it
    -> iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number

  • HT201442 How to fix  Error 3194 or "This device isn't eligible for the requested build"

    how can fix Error 3194 or "This device isn't eligible for the requested build

    Generally the result of a jailbroken or hacked phone.

  • How to draw horizontal line at the end of table for multiple line items

    Dear Experts,
                       Pls can anyone help me how to draw horizontal line at the end of table for multiple line items . kindly help me regarding this
    Thanks
    Ramesh Manoharan

    Hi
       I tried as per your logic but it is not solving my problem .  when i am gone to table painter it is showing line type 1 and line type 2
      is below format.. if u see here line type 1 bottom line and line type 2 top line both are same..  so how to avoid this ?
                              line type 1
                             line type 2

  • How to fix "We are unable to start your subscriptions for adobe Photoshop CS5.1 Extended. Subscript

    how to fix "We are unable to start your subscriptions for adobe Photoshop CS5.1 Extended. Subscriptions edition" please heelp

    Hi migliii,
    I found a few solutions mentioned in this discussion thread Adobe photoshop cs5 extended installation error (Mac); Inconsistency in installer database. If you are unable to resolve your problem still, I'd suggest that you contact Customer Support (http://www.adobe.com/aboutadobe/contact.html). Use any of the options on this page to get in touch with a customer support person.
    Thanks,
    Preran

  • RoboHelp 11 - When previewing topics from within the project, a script error displays: 'HHComponent Activator' is undefined. How do you get rid of this script error?

    RoboHelp 11
    When previewing topics from within the project, a script error diplays: 'HHComponent Activator' is undefined.
    How do you get rid of this script error?

    Hi there
    Have you tried clicking Help > Updates and applying the service release?
    If not, I'd start with that.
    Cheers... Rick

  • How to delete a line in SAP Script

    Hi,
         How to delete a line in SAP Script.
    Cheers
    S Kumar

    Okay.if still you are looking the option of deleting line there is one solution.
    Just delete the all contents of perticuler(which needs to deleted) line including the tag column(Where you are /*) and save.if you see again than line would not be seen as blank,you will found it has been deleted.

  • How to fix the financial table using script

    Hi All,
    How to fix the financial table using script, (for example see below table. i have fixed manually, my document having more than 50 tables)
    %, ) are hang aligned.
    $  are left aligned as like below.
    Regards,
    Velu

    Hi Velu
    The quality of your screenshot came out pretty bad
    Maybe send another higher resolution one which on a smaller part of the table and show the hidden characters

  • How can I download a Generic Post Script printer Driver  for Windows 7 .

    How can I download a Generic Post Script printer Driver  for Windows 7

    We used to install this PostScript printer  for previous Windows releases from
    (winsteng) and run it to install the driver from the below location
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=1500
    This doesnt work with Win 7 (The install crashes ) , Basically looking to do the same process with Win 7

  • This new update for the iphone has me troubled. Nowhere did I see where it was only good for 3GS,4S and or 5. Is this update also good for the 3GS? I'm reading people are haing trouble.

    This new update for the iPhone has me troubled. Nowhere did I see where it was only good for 3GS,4S and or 5 or all. Is this update also good for the 3GS? I'm reading people are having trouble.

    iOS 6 can be loaded without problem on the 3GS.  Not all features are supported however.
    With respect to your reading people are having trouble, what did you expect to see on this technical support forum?  People don't write in to state they have a trouble-free upgrade.

  • Mozilla Firefox is not allowing me to Copy and Paste, please help how to fix this problem

    i seem to have a problem with Mozilla Firefox, that when i tried copying a word or a sentence and then going to a different site, i Cannot Paste. and with Internet Explorer i able to do that. i would hate to stop using firefox cause of this but, it's really hurting me from browsing and moving forth in a fast paced , please help me how to fix it

    See:
    *http://kb.mozillazine.org/Granting_JavaScript_access_to_the_clipboard
    *https://addons.mozilla.org/firefox/addon/allowclipboard-helper/ - AllowClipboard Helper

  • Photoshop says "Rendering Type" and loads for a very long time, how do I fix this? I'm new to Photoshop and I was trying to learn how to make a watermark. This happens once I press the "Text" tool. I'm using a Mac with OS X. Please help, thank you.

    Photoshop says "Rendering Type" under a "Progress" Bar that shows up. I'm trying to create a watermark and this happens when I press the "Text" tool. Please help, I'm new to Photoshop. Thank you.

    So you created a document 192000 pixels wide, and 108000 tall, and  set the type to be 2 inches tall.  Yes, the type is going to take a few minutes to render in that document.
    Yes, you created a document much bigger than you probably intended (you probably wanted 1920 PIXELS by 1080 PIXELS).
    Pixels and inches are not the same, and you need to pay attention to the units.

  • Please help: How to fix error message: Connection error. Try again. Check configuration and if problem persists contact the administrator.

    Please help on how to fix this error message when I'm trying to connect on my VPN
    Connection error. Try again. Check configuration and if problem persists contact the administrator.

    Thanks for the info.

Maybe you are looking for

  • Window Server cannot connect to Router?

    I have installed a windows server 2012 r2 datacenter on virtual box using windows7. I installed AD Ds, DHCP and DNS on it. To install DHCP on window server I first disabled the DHCP service on my router and then on server I changed the ip address to

  • Switch port in dot1x multi-auth mode stops passing traffic

    Dear All, I am experiencing a problem on a Catalyst 4510 (cat4500-ipbasek9-mz.122-53.SG.bin) with 802.1x configured. Client PCs are connected via a mini desktop switch to a Cat 4510 switched port in multi-auth mode. The configuration of the port foll

  • Video Batch Capture

    During the 1990s I edited my DV firewired footage on Canopus Storm editing which, from the start, had a very simple but marvelous Batch Capture facility enabling frame accurate clips to be captured to the timeline.   Could anyone tell me which of the

  • Unable to download/upgrade itunes using IE8 Windows XP service pack 3

    Attempting to download/upgrade itunes 10.6.3 Currently have itunes 10.2.2 installed Running Windows XP Home Edition service pack 3 and IE8 on Asus Eee PC Receive an error message stating that setup.exe is not a valid Win32 application Any suggestions

  • Any standard table that keep tracks of changes in user attributes

    Hi, We have a HR system and we are tyring to find out a standard table that keep tracks of changes(when was it changed,who changed it,what has been changed) in user details like email,address etc. Plz let me know the solution Thanks Bala Duvvuri