Script to update legacy text (action does not work)

So here is my scenario: I did select all and update legacy text but I have some issues with some type paths that are being clipped. OK, easy enough let me unselect those layers and run "update selected legacy text" GREAT WORKS!
Here is my delima I have 400 .eps files that I am doing this on. The layer names are always the same so I was wondering if there was an easy way to do this on an action. Does an action know that I am unselecting a layer after selecting all? Why doesn't it record when I do
Type>Legacy Text>Convert Selected Text?
• Select all
• Unselect two layers (layers name consistent)
• Type>Legacy Text>Convert Selected Text
Is this easy in a script to pull off?

#target illustrator
// script.name = legacyTextConvertToNative.jsx;
// script.description = converts Legacy Text to Native from all layers, except from 2 layers, hard codes below.
// script.required = 2 layers named the sames as the names shown below in skipLayer1 & 2
// script.parent = CarlosCanto // 7/23/11;
// script.elegant = false;
var idoc = app.activeDocument;
var skipLayer1 = "CAPTIONS HYDROGRAPHY"; // replace with your own layer name
var skipLayer2 = "CAPTIONS RELIEF"; // replace with your own layer name
for (i=0; i<idoc.layers.length; i++)
          var ilayer = idoc.layers[i];
               if (ilayer.name!=skipLayer1 && ilayer.name!=skipLayer2)
                         for (j=0; j<ilayer.groupItems.length; j++)
                                   var igroup = ilayer.groupItems[j];
                                        for (k=igroup.legacyTextItems.length-1; k>=0; k--)
                                                  var ilegacy = igroup.legacyTextItems[k];
                                                  ilegacy.convertToNative();
The two that are locked are the ones I name in the script and are the ones I do not want edited.
There is your script the layers that is not getting updated for example is the: "CAPTIONS COUNTRIES" & "CAPTIONS TOWNS"

Similar Messages

  • The "portable document format" icon is a Word 2010 icon, so selecting Adobe Reader as action does not work to display the PDF.

    In the Applications tab -- Content Type -- the "portable document format" icon is a Word 2010 icon (not Adobe), so selecting Adobe Reader or preview in Firefox as action does not work to display the PDF. I can see this Applications difference because my other Firefox laptop has the Adobe icon, and I can view PDFs. Essentially, a PDF is coming in as a Word document -- and the computer tries to open it up as a Word file.
    How do I get the correct PDF icon in the Applications list -- the same way it displays (and works) on my other laptop.

    Adobe PDF Plug-In For Firefox and Netscape 10.1.7 ?
    I think you need to add this to the list of applications and the action to take on the type of content. This can also be managed in the about:permissions page. [[Permissions Manager - Give certain websites the ability to store passwords, set cookies and more]]

  • For Acrobat 9. TouchUp Text tool does not work.

    Acrobat 9. TouchUp text tool does not work --- even on documents created with my computer using installed fonts. Problem 2: when trying to export to Word 2010 there is no option for format .dox, only .doc which belonged to earlier versions of Word.

    Hi Begin,
    I have the same issue, I am not sure which version so I had on my old computer but when I got a new windows 7 64bit, and asked IT to install Adobe, my life turned upside down. now they asked if I need X or 9pro and I though 9pro is the latest and greatest.. they installed the standard first then could not edit then asked for the pro and could not edit ... now I search and maybe version X will edit but if the document is signed and we do need to do lots of editing after the signature then what is the solution??
    I hope the Guru in Adobe can help here soon please :-)!!
    Joseph

  • I have a manual that contains headings and index entries that contain less than and greater than characters, and . The Publish to Responsive HTML5 function escapes these correctly in the main body of the text but does not work correctly in either the C

    I have a manual that contains headings and index entries that contain less than and greater than characters, < and >. The Publish to Responsive HTML5 function escapes these correctly in the main body of the text but does not work correctly in either the Contents or the Index of the generated HTML. In the Contents the words are completely missing and in the index entries the '\' characters that are required in the markers remain in the entry but the leading less than symbol and the first character of the word is deleted; hence what should appear as <dataseries> appears as \ataseries\>. I believe this is a FMv12 bug. Has anyone else experienced this? Is the FM team aware and working on a fix. Any suggestions for a workaround?

    The Index issue is more complicated since in order to get the < and > into the index requires the entry itself to be escaped. So, in order to index '<x2settings>' you have to key '\<x2settings\>'. Looking at the generated index entry in the .js file we see '<key name=\"\\2settings\\&gt;\">. This is a bit of a mess and produces an index entry of '\2settings\>'. This ought to be '<key name=\"&amp;lt;x2settings&amp;gt;\" >'. I have tested this fix and it works - but the worst of it is that the first character of the index entry has been stripped out. Consequently I cannot fix this with a few global changes - and I have a lot of index entries of this type. I'm looking forward to a response to this since I cannot publish this document in its current state.  

  • I installed photoshop cc 2014, but Camera Raw remains on Version 8.0. Update to 8.5 does not work.

    I installed photoshop cc 2014, but Camera Raw remains on Version 8.0. Update to 8.5 does not work.

    Solved in this way:
    Close Photoshop first, then:
    Download the 8.5 manual update link from here:  Don't run the installer, but instead just Open the zip file in Windows Explorer.
    http://swupdl.adobe.com/updates/oobe/aam20/win/PhotoshopCameraRaw8-8.0/8.5.50/setup.zip
    Navigate inside the zip file to find the resources inside that correspond to the 64 or 32 bit Photoshop version that you're running.  I assume you have installed the 64 bit version, so the rest of the instructions will concentrate on the 64 bit Camera Raw.8bi only.  Here's the path:
    setup.zip \ payloads \ AdobeCameraRaw8.0All-x64-050614143245 \ Assets1_1.zip
    The file within Assets1_1.zip, named 1002, is actually the Camera Raw.8bi file for 64 bits, just with a different name.
    Copy 1002 to your folder on your computer where your Camera Raw.8bi normally lives, e.g.,
    C:\Program Files\Common Files\Adobe\Plug-Ins\CC\File Formats
    Rename the old Camera Raw.8bi file to Camera Raw.8bi_8.0.  It's important that the extension is changed to something other than .8bi.
    Rename 1002 to Camera Raw.8bi
    Run Photoshop and verify the Camera Raw version by choosing Help - About Plug-in... - Camera Raw.
    Thank you so much!

  • Text replacement does not work in Safari

    Text replacement does not work in Safari forms etc. Is it me or a bug?

    Interesting… I have eee set to auto-correct to an email address.
    if I type a few words and then add eee it works. But if I just enter eee in the email address of a form it does not.

  • Assigned F key to play an action does not work. Why? Using cs6  iMac and wireless key board

    Assigned F key to play an action does not work to play the action on an image. When the F key is selected it seams to control computer attributes rather than the play action assigned in photoshop. Why? Using cs6  iMac and wireless key board.
    Is this a possible preference setting in mac or is it a setting in cs6 photoshop ? Help and knowledge will be appreciated.

    *** Moderator Action ***
    This networking question has been moved from the Solaris 10 discussion space,
    to the Solaris Networking discussion space, for closer topic alignment.
    Whereas there may be IPV6 nuances specific to your Solaris 10 environment and to the hardware, this appears to be a discussion that may be more global in effect.

  • The Create List Item workflow action does not work in document library with document template

    My end goal is more complex but below is a basic example of the issue I’m having that just simply does not work.
    I'm trying to use a site workflow to create an item in a document library that has a document template applied to it but the file that gets created by the workflow is corrupt and cannot be opened.
    I created a document library and edited the document template by adding some text to the header and changing it to a Word docx file instead of a Word dotx file. I tested the document template by clicking the files tab in the ribbon and then clicking new
    document which opens the document template in Word and allows me to edit and save the document back to SharePoint. Then I created a SharePoint 2013 site workflow in SharePoint Designer that contains a single Create List Item action, and that action creates
    an item in the document library with the name field statically defined. I published the workflow and then manually start it on the site. The workflow completes successfully and when I navigate to the document library the document has been created by the workflow.
    When I click on the document to open it in the Word Web App it throws the error pictured below and if I open it in the Word client application it just opens a blank document and not the correct document template.
    I also tried using a SharePoint 2010 workflow with pretty much the same results. Opening the document in Word Web App gives the same error as above and opening the document in the Word client application gives the error pictured below.
    Come on Microsoft creating a Word Document in a SharePoint Document Library from a SharePoint Workflow should just work! Is this a bug or does anyone have any ideas on what is causing the this issue?

    I had the same problem with corrupted document - this worked for me:
    1. Create a 2010 Workflow which creates the list element in a document library
    (you may start this workflow from your 2013 workflow if applicable)
    2. In the Create New List Item properties - make sure to set ContentTypeId to your content type
    ("Id for indholdstype" is Danish for "Contenttype ID")
    3. Your Content Type template should be a ".docx" file - NOT a ".dotx" file...!
    (I have always created my templates for content types as .dotx files - seems Microsoft wants us to use ordinary .docx files as template files for content types)
    Hope this helps you!

  • Mac os 10.4.10 software update problem -- my mac does not work anymore :(

    hello!
    i have a powerbook G4- PPC. just today, i did a software update of my OS to 10.4.10 (it was the available update version according to the automatic uptae) and during the final stage of the installation, it says "a problem was encountered...installation package is moved to trash"
    when i browsed my mac, my apps does not work anymore!!! they just bounce from the dock when i clicked it but it won't open any window. i emptied the trash and restarted my mac but sadly, it just boot but won't continue to the log in part, only in the silver window with the apple logo and mac os x tiger... and the mouse just turns into the color wheel. i waited for 30 mins and nothing happened.
    i don't have a startup disc because the mac is a gift and it was long time ago. is ther a software i can use to fix or revert the changes of the unsuccessful OS update? why is there always a problem when i do OS update? isn't apple software stable?
    My mac problems' driving me crazy!!!

    There are no guarantees, but following this procedure when installing updates and upgrades on your Mac will go a long way towards avoiding unpleasant after effects and ‘post-update stress disorder’.
    It is also worth noting that it is an extreme rarity for updates to cause upsets to your system, but they may well reveal pre-existing ones, particularly those of which you may have been unaware. If you are actually aware of any glitches, make sure they are fixed before proceeding further.
    So before you do anything else:
    If you can, make a full backup first.
    Turn off sleep mode for both screen and hard disk.
    1. Repair Permissions (in Disk Utility)
    2. Verify the state of your hard disk using Disk Utility. If any faults are reported, restart from your install disk (holding down the C key), go to Disk Utility, and repair your startup disk. Restart again to get back to your startup disk.
    At least you can now be reasonably certain that your system does not contain any obvious faults that might cause an update/upgrade to fail.
    3. Download the correct version of the COMBO update from the Apple download site. If your car runs on gasoline you would not want to fill the tank with diesel, so don’t try to install the PPC updater on an Intel Mac!
    If you prefer to download updates via Software Update in the Apple menu (which would ensure that the correct version for your Mac was being downloaded), it is not recommended to allow SU to install major (or even minor) updates automatically. Set Software Update to just download the updater without immediately installing it. There is always the possibility that the combined download and install (which can be a lengthy process) might be interrupted by a power outage or your cat walking across the keyboard, and an interrupted install will almost certainly cause havoc. Once it is downloaded, you can install at a time that suits you. You should make a backup copy of the updater on a CD in case you ever need a reinstall.
    Using the Combo updater ensures that all system files changed since the original 10.4.0 are included, and any that may have been missed out or subsequently damaged will be repaired. The Delta updater, although a temptingly smaller download, only takes you from the previous version to the new one, i.e. for example from 10.4.9 to 10.4.10. Software Update will generally download the Delta updater only. The preferable Combo updater needs to be downloaded from Apple's download site.
    Now proceed as follows:
    4. Close all applications.
    5. Unplug all peripherals except your keyboard and mouse.
    6. Install the update/upgrade. Do not under any circumstances interrupt this procedure. Do not do anything else on your computer while it is installing. Be patient.
    7. When it ask for a restart to complete the installation, click restart. This can take longer than normal, there are probably thousands of files to overwrite and place in the correct location. Do nothing while this is going on.
    8. Once your Mac is awake, repair permissions again, and you should be good to go!
    If your Mac seems slightly sluggish or ‘different’, perform a second restart. It can’t hurt and is sometimes efficacious!
    9. Open a few of your most used applications and check that all is OK. In this connection please remember that not all manufacturers of third party applications and plug-ins, add-ons, haxies etc, will have had time to do any necessary rewrites to their software to make them 10.4.10. compliant. Give them a weeks or two while you regularly check their websites for updates. This applies particularly to plug-ins for Safari 3.
    N.B. Do not attempt to install two different updates at the same time as each may have different routines and requirements. Follow the above recommendations for each update in turn.
    Lastly, Apple's own article on the subject of Software Update may also be useful reading:
    http://docs.info.apple.com/article.html?artnum=106695

  • Text substitution does not work on all apps

    Text substituiton feature works fine in Mac Mail, but does not work in Microsoft Word, excel and others.
    How can I fix this?

    Word and Excel do not support the system level text substitution routines. These work only with native apps like Mail, TextEdit and so forth. Some third-party apps can also tap into them.
    The workaround is simple:
    Preferences>AutoCorrect
    Word will allow you to create any number of text substitutions. They won't, though, interact with native apps like Mail.
    Microsoft Outlook, being more of a native OS X app, does support the system level text functions.

  • I am using a mac book with snow leopard v. 10.6.8 and want to update to lion - it does not work, how can i do it?

    Hi, i have got a macbook, 13" running with snowleopard 10.6.8 . I want to update to mountain lion - this does not work. How can i do it?
    Thanks for answering,

    What happens when you try?
    Error messages?
    Is the computer compatible with Mountain Lion?
    OS X Mountain Lion system requirements
    To install Mountain Lion, you need one of these Macs:
    iMac (Mid 2007 or newer)
    MacBook (Late 2008 Aluminum, or Early 2009 or newer)
    MacBook Pro (Mid/Late 2007 or newer)
    MacBook Air (Late 2008 or newer)
    Mac mini (Early 2009 or newer)
    Mac Pro (Early 2008 or newer)
    Xserve (Early 2009)
    Your Mac needs:
    OS X v10.6.8 or OS X Lion already installed
    2 GB or more of memory
    8 GB or more of available space

  • Migrating V9 to V10: Update XML Fragment CLOB does not work anymore

    I have an XML Schema that contains an element, named Operazione, mapped to a CLOB.
    I just migrate to Oracle 10.1.0.2.0 from version 9.2.0.2.0 and the code I developed does not work anymore.
    To get a CLOB on v 9.2.0.2.0 I issued the following statement:
    select extractValue(value(p),'/operazione.log/Operazione') from XMT_OPERAZIONE_LOG p
    where existsNode(value(p),'/operazione.log/Journal[NumeroElettronico=1234567890]') = 1
    To make it working on V10 I have to change it as follow:
    select extract(value(p),'/operazione.log/Operazione').getClobVal() from XMT_OPERAZIONE_LOG p
    where existsNode(value(p),'/operazione.log/Journal[NumeroElettronico=1234567890]') = 1
    So using extract intead of extractValue and adding getClobVal() I was able to read the CLOB.
    The problem that I was not able to solve is related to CLOB update. In V9 just adding the “for update” clause I was able to change the CLOB value on DB.
    In V10 if I run the V9 statement I get the error:
    ORA-03113: end-of-file on communication channel
    If I use the statement modified for V10, adding the “for update” clause, I get the CLOB and I can change the CLOB value but nothing goes on the DB. Probably I am working on a copy of the DB CLOB.
    If I remove the getClobVal() I get an OPAQUE type that I can use on a XMLType but, still, nothing is stored on DB.
    Any suggestion ?
    I tried with both OCI and Thin Client

    Can anybody help me ?
    Is it better to use different strategies ( eg. Stored Procedure, DBMS_XMLSTORE etc, etc. ) ?
    Any experience updatating XML Fragment CLOB on Oracle V10 ?

  • 10.4, How to stop plug-ins update reminder, Windows fix does not work on Mac.

    Need to get rid of bar across top saying plug-ins are not up-to-date. The "fix" posted for Windows does not work on my Mac. When I try for updates, none seem to install. How do I really find out if the ones I have are the latest available for my system? Everything seems to work OK as is. Could it be that my Mac is PPC and that there are plug-in updates that would work in 10.4 on Intel but not on PPC, and that FireFox cannot differentiate?

    Setting the Boolean pref <b>plugins.hide_infobar_for_outdated_plugin</b> to <i>true</i> on the <b>about:config</b> page should hide that info bar.
    *http://kb.mozillazine.org/about:config
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access the about:config page.<br />
    *Use the Filter bar at the top of the about:config page to locate a preference more easily.
    *Preferences that have been modified show as bold (user set).
    *Preferences can be reset to the default via the right-click context menu if they are user set
    *Preferences can be changed via the right-click context menu: Modify (String or Integer) or Toggle (Boolean) or by double-clicking the line with the pref
    *Preferences can be created via the right-click context menu: New -> String, Integer, Boolean
    Firefox 4 and later require at least OS X 10.5 and a Mac with an Intel processor.
    *http://www.mozilla.org/firefox/12.0/system-requirements/
    For an unofficial Firefox ESR 10.0.4 compatible version (TenFourFox) that runs on PowerPC Macs with OS X 10.4.11 or OS X 10.5.8 you can look at:
    *http://www.floodgap.com/software/tenfourfox/
    *http://www.macupdate.com/app/mac/37761/tenfourfox
    Plugins are no longer supported.
    *http://code.google.com/p/tenfourfox/wiki/ReleaseNotes1004
    *http://code.google.com/p/tenfourfox/wiki/PluginsNoLongerSupported
    *http://code.google.com/p/tenfourfox/wiki/AAATheFAQ

  • Need to update OS and password does not work

    IPad was set up under fathers work email. Father passed away and I continued to use his pw for upgrades. Went to upgrade this time and password does not work. Changed his profile email to mine and tried to update pw  it could not answer a security code. Creted new accounts, changed pws yet still asking for his work email pw which no longer works

    You can try requesting a new password for your fathers Apple ID here: http://www.apple.com/support/appleid/
    Regards,
    Steve

  • Can I get rid of 36? It installed an update and now firefox does not work at all

    firefox 36 is seriously broken
    It updated on my computer and now does not work at all. I've tried all the suggestions and no help.....going back to IE

    Hi wskossack, I am sorry to hear that you are having problems with Firefox 36. I am also sorry that we have not been able to get that working for you yet.
    If what you really want is to uninstall Firefox we can do that. Of course I have to ask if you would be willing to let my help you to get the most up to date version of Firefox working. But, Firefox is all about the ability to customize. If you want we can install the last version of Firefox and you can use that until the next version comes out or while we work to get Firefox 36 working for you. I will try to cover every option in my reply.
    First I will cover uninstalling Firefox. If you want to look at the [[Uninstall Firefox from your computer|article click here]] this can be done in about 7 steps
    I would recommend that you completely uninstall Firefox and install it again. This will most likely fix any problems you have right now. Because you are asking how to do this I am going to assume that you have not tried this.
    If you have Vista or Windows 7:
    1) close any open Firefox windows.
    2) from the start menu click on control panel
    3) click on uninstall a program
    4) from this list chose Firefox
    5) click on uninstall (this is located turds the top)
    If the Uninstall Wizard does not run, you can start it manually by running helper.exe, which is located in one of these locations by default:
    (32-bit Windows) C:\Program Files\Mozilla Firefox\uninstall\helper.exe
    (64-bit Windows) C:\Program Files (x86)\Mozilla Firefox\uninstall\helper.exe
    6) in the Firefox uninstall wizard click next and on the next page click uninstall then click finish
    7) to remove other files and folders that may not be removed by the uninstall, you must manually delete the Firefox installation folder, which is located in one of these locations by default:
    (32-bit Windows) C:\Program Files\Mozilla Firefox
    (64-bit Windows) C:\Program Files (x86)\Mozilla Firefox
    The uninstaller does not remove any user data such as history or bookmarks. To completely remove this data, you must manually delete the Firefox folder containing your user profile:
    Click the Windows Start button.
    Type %APPDATA% in the search field and press enter to open the hidden Roaming folder.
    Open the Mozilla folder
    Delete the Firefox folder.
    Now I am going to go over how to get the last version of Firefox installed on your computer. If you want to look at the [[Install an older version of Firefox|article click here]] . If you decide that this is what you want to do please look at the article for some impotent security information.
    Firefox 35.0.1 was the last version of Firefox and you can get it by [https://download-installer.cdn.mozilla.net/pub/firefox/releases/35.0.1/win32/en-US/Firefox%20Setup%2035.0.1.exe clicking here] . The link is also in the article. If you do this you will have to disable the auto update. To do this go to options, then go to advance. Under advance there will be a sub tab. You want to go to update. Then you can select to never check or to have it tell you when there is an update.
    So the only thing left is for me to help you with any problems you are having with Firefox 36. I hope you will give me a chance. In any case, if you need any more information or help with anything that I went over please let me know.

Maybe you are looking for

  • I can't export any files from pages unless I create a duplicate file. I can't export to doc, docx or pdf! Heeeelp!

    I can't export any files from pages unless I create a duplicate file. I can't export to doc, docx or pdf! Heeeelp!

  • Re compt to tv hook up

    I'm wanting to hook up my tv to my compt.  I want to use my big screen tv like a monitor and use the computer as normal, and i also want to be able to download movies to the computer and watch them on that screen?  My tv and my compt are compatible,

  • Getting access to files

    I am using RAD 7.0 as IE I want to access all the files under a directory of my project using Java BUt my project cud be deployed at any location or path so How do I get the relative path using Java? My files are under this path C:\SDP70\workspace_au

  • Creating and EOF loop

    hi, newbie I am trying to read in from a text file line by line, I want to do this with a while loop to tie in with the rest of my project. I wonder if anyone would be able to tell me how to create this loop, i have tried using the code below but hav

  • How can I get albums on my iPhone to show in chronological order

    Ever since I got iOS8 my albums have been messed up and its really annoying. They show the latest albums first and their first albums last. Yes, I like the bands and their music, but I like my music being in order and usually the early stuff is bette