Is there a way to get together all text layers and shape layers?

HI -.

I have 250 multi-layer PSD (CS5/Win) files.  Each file shows 2 views of a product.  Parts of the product are labels (layers of text with different words). Shape layer arrows point then the text to the specific point on the product label.

Does that help?

// move text and solid fill layers to newly created folder;
// 2011, use it at your own risk;
#target photoshop
if (app.documents.length > 0) {
          var myDocument = app.activeDocument;
          var theSet = myDocument.layerSets.add();
          theSet.name = "Labels and Arrows";
          var theLayers = moveLayers(app.activeDocument, theSet);
          };
////// function to move certain layers //////
function moveLayers (theParent, theSet) {
          if (!allLayers) {var allLayers = new Array}
          else {};
          for (var m = theParent.layers.length - 1; m >= 0;m--) {
                    var theLayer = theParent.layers[m];
// apply the function to layersets;
                    if (theLayer.typename == "ArtLayer") {
                              if (theLayer.kind == "LayerKind.TEXT" || theLayer.kind == "LayerKind.SOLIDFILL") {
                                        alert (theLayer);
                                        theLayer.move(theSet, ElementPlacement.PLACEATBEGINNING)
                                        }
                              }
                    else {
                              if (theLayer != theSet) {
                                        moveLayers(theLayer, theSet)
                                        }
                              }
                    };
          };

Tags: Photoshop

Similar Questions

  • Is there a way to get the list of hosts and its groups of belonging to the vCenter folder level in 5.5 web vsphere client plugin development?

    Hello

    I need to get the list of all hosts and its groups of belonging to the vcenter folder level.

    1. I created a view giving the extension point: vsphere.core.folder.monitorViews.

    2. After this step, I wrote the constraint as in my class of mediator,

    var ListConstraint:Constraint =

    QuerySpecUtil.createConstraintForRelationship ( _contextObject, 'childEntity');

    I was expecting a list of all child entities such as hosts, dc, cluster... But I have only the immediate child object which is only the Datacenter as my result.

    Is it possible to get all hosts and vCenter folder level Clusters because I need the entire list to vCenter (highest level).

    Other info:

    Object file has only two properties:

    1 childEntity - list of entities

    2 childType in-kind folder ('Virtual Machine', 'Data center'...)

    Is it possible to write a constraint specifying which list of childEntities I need using childType in.

    Example: Make Me childEntities that has a 'Host' and 'Cluster' childType but childType in doesn't have these two types.

    In addition, at this level, I could see the 'Associated objects' tab which has all the information I need, such as Clusters and Cluster tab hosts and host tab respectively.

    So, I think its possible to get this list to vCenter folder level.

    I have attached a screenshot representing the need. Kindly ignore the Conventions of naming in there since I edited the example comes with the sdk program.


    Query:

    1. How can I get the host and Cluster (table of relationship) list to vCenter folder level or even at the level of the vise.global.view?

    2. once I get this list, is it possible for me to manipulate that list and send the new list to IU?

    3. is there another way to do the same thing without the help of model classes and mediator?


    Pointers to this will be very useful.

    It is not possible to obtain all hosts a folder specific vCenter from a single query Data Manager.  You need to get the list of centers of data first and then get a list of data center hosts.

    It is best to make these repeated requests to the java level and return only the list that you want to the user interface.

    You can get all the objects in the host of the system with a simple query using a constraint with targetType = 'HostSystem', but you will need to eliminate those from other vCenter servers.  See how this chassis example queries all hosts the Java later in the getHosts() method: samples/chassis-app/chassisRackVSphere-service/src/main/java/com/vmware/samples/chassisRackVSphere/ChassisRackVSphereDataAdapter.java

    Another option is to use the vSphere Web Services SDK to browse vCenter. See the vSphere management forum for help on these APIs.  See this plugin of the sample using this SDK

    samples/vsphereviews/vsphere-wssdk-provider/src/main/java/com/vmware/samples/wssdkprovider/VmDataProviderImpl.java

  • Is there a way to get regular Microsoft Yahei fonts AND "BOLD" work in Indesign?

    I have been using the Microsoft Yahei font ("BOLD" and regular) for many Chinese brochures and had no trouble in Quark XPress. We have everything that we converted to InDesign, but I can't get two fat of police work. If I delete the police regular of my mac, indesign will be recognize the "BOLD" fonts, but it will not see the two policies at the same time. I tried to add the fonts in applications fonts folder, but this is not enough. The only solution I can think of is to add a line 0.4 for the regular police whenever I need the "BOLD", but it's not ideal. I also tried looking for another font to use, but it seems that Microsoft Yahei is the best for Chinese characters and symbols English characters as the registerd mark and mark symbol - but if someone knows another police who works and has a normal weight and "BOLD" Please advise.

    Thank you

    The blog post eugene designates may explain some of the reasons for which some fonts may not work, but not in this case!

    InDesign CS4:

    PDF:

    You can check which version of these YaHei fonts you have? Both of my friends are v.6.02 and comes with Windows 7 - if yours are the same, the problem lies in CS5.5.

  • Is there a way to get the Audio to load and play automatically when the user turns the page?

    I am creating a musical application and I would like a sample of the audio play when the user opens a page. I use Indesign CC and building an app for iOS. I didn't know the function that allows me to do this? If anyone knows the answer, I would be very grateful.

    Thank you

    If you use DPS you can add the audio file in the Panel inlays Folio select Audio/video and enable automatic playback.

    See our help section at http://helpx.adobe.com/digital-publishing-suite/help/audio-video-overlays.html for more information.

    Neil

  • Is there a way to get the handful of handful of composition layer?

    Hello

    I have an API call to query the bounding of the layer composition, however, I find no practical way to get a handle of the layer in the composition encompassing.

    is there a way to get a handle of composition, and then look on it as a layer (in some other publication)?

    Best regards

    Yuri

    If I read you correctly, you mean if a computer is are not nested in other

    Comps.

    If so, then there is no API for this list "used in". you will need to

    read the draft and check the layers of each model and compare the source.

    Start by getting the project item for the model you're looking for

    using AEGP_GetItemFromComp().

    then analyze the project with AEGP_GetNextProjItem(), check the type of each element,

    and if it's a model to digitize its layers using AEGP_GetLayerSourceItem().

    is the source of the layer with the source of the model and you will know if it is

    used here.

  • Is there a way to get a list of all applications / updates that are cached on your server?

    Is there a way to get a list of all applications / updates that are cached on your server?  Of course, we see the space that contains each category.  But I would like a detailed list of the individual items that are actually cached.

    ITD be even better if I could get a scoreboard that showed me how many times a particular point was served to customers.

    Yes.  But you need a little magic Terminal to get the desired data.  Caching server is managed by a sqlite database.  To examine the contents, follow these basic steps:

    1: connect to the database using the following command:

    sudo sqlite3 /Library/Server/Caching/Data/AssetInfo.db

    2: to structure the data, run these two commands to the sqlite command-line prompt:

    .blog column

    . Headers on

    3: to find everything that is stored, run this command (you'll get iCloud cached documents, books, iOS apps, etc.):

    Select * from ZASSET;

    4: to narrow the results down to elements called by software updates, try this:

    Select * from ZASSET where ZURI as "content %";

    You could get a line that looks similar to the following:

    403 2 6 0 2012986793 474949928.477396 476912032.644505 e03448847909547fb8c7d4ecd5a7b6dd FAB32A72-DE33-469D-A7DF-3CE1A1F9A4D2 on Wednesday, August 5, 2015 18:00:30 GMT

    / Content/downloads/42/44/031-30888/bhrkylcnycxmtug9daw3g4magqb7dl7hba/OSXUpdComb o10.1

    (added the newline for readability)

    It is an OS X Combo update.  It is located on the drive to library/server/cache/Data/FAB32A72-DE33-469D-A7DF-3CE1A1F9A4D2 / the file is probably named 0, but if you want to use it, just add at the end of the .pkg file.

    I hope this helps.  Put server cache saves a lot of data.

    Oh, to quit the sqlite command line tool, simply type .quit and press return.

    Reid

    Apple Consultants Network

    Author - "El Capitan Server - Foundation Services.

    Author - "El Capitan Server - Collaboration & control»

    Author - "El Capitan Server - Advanced Services '.

    : IBooks exclusively available in Apple store

  • I try to install vista on my laptop but a letter of the key is not visible, all the other parts are very well including the serial code, is there another way to get the key of the other information?

    Taché product key

    Hello

    I try to install vista on my laptop but a letter of the key is not visible, all the other parts are very well including the serial code, is there another way to get the key of the other information? The laptop currently has non-OS I've tried to reinstall.

    Thank you

    Scott

    Product keys are bit-agnostic - they don't care if it's 32-bit or 64-bit.

    However, cannot legally use the recovery disk from one computer to a different constructor machine - as other licenses are not properly paid..

    There is nothing nonetheless to try all possible variations on the absence of character (there are only 25, after all the )

    Other than that, your best option is to contact the manufacturer and order a set of recovery disc for the machine. I do no download available for Vista with SP2 - but you can download Vista with SP1 and create the disc.

    http://www.heidoc.NET/Joomla/technology-science/Microsoft/57-Windows-Vista-direct-download-links

  • Is there a way to get a list of all installed applications?

    Is there a way to get a list of all installed applications?

    You can submit a request to have such an API and provided good use. It also helps to get other developers can vote on it.

  • Is there a way to get all the names of collection under which an entity is attributed?

    Is there a way to get all the names of collection under which an entity is attributed?

    Hello

    For a list of the collections which make reference to a specific entity, please refer to the following API request (see documentation of swagger producer-Service-entity ):

    GET /publication/ {publicationID} / {entityType} / {entityName} / {referencingEntityType}

    This request has been added to the content producer DPS2015 API examples, you can now use the getReferencing()function. Please see /article/get_referencing_entity.php for the complete example.

    You can download the latest examples of producer API Content DPS2015 and swagger documentation from here, all the resources are in a file single zip.

    -Mike

  • Is there a way to get iPhoto to Yosemite?

    Is there a way to get iPhoto to Yosemite? I was annoyed with changes before but it's just because change is difficult, you have your ways of doing things, has worked on the system and used to it. It's different. Pictures is simply bad. I shouldn't work that hard to make things work. The straw that broke the camel's back? Try to change the FaceBook account to upload photos to. This is ridiculous. I think all wiping and going back a few steps from the BONE. It is less that I can return iPhoto...

    Cannot update iPhoto because it is not available in the App Store

    LN

  • Is there a way to get my Panasonic PV - GS31 MiniDV 26 X / 1000 X SD/MMC camcorder to work with Windows 7

    Is there a way to get my Panasonic PV - GS31 MiniDV 26 X / 1000 X SD/MMC camcorder to work with Windows 7

    Hello

    It seems that Panasonic PV-GS31 camcorder is not compatible with Windows 7.

    See the link.

    http://www.microsoft.com/windows/compatibility/Windows-7/en-us/Details.aspx?type=Hardware&p=Panasonic%20PV-GS31%20MiniDV%2026X/1000X%20SD/MMC%20Camcorder&v=Panasonic&uid=PV-GS31&l=en-US&c=Cameras%20%26%20Photo&sc=Camcorders&vd=all

    You can try to install in Windows XP compatibility mode and check.

    Check out the links.

    http://Windows.Microsoft.com/en-us/Windows7/make-older-programs-run-in-this-version-of-Windows

    http://service.us.Panasonic.com/OPERMANPDF/PVGS19.PDF

    I suggest you to contact the support team of Panasonic for assistance.

    http://shop.Panasonic.com/support/?support=y

  • Is there a way to get v ('APP_USER') to return a value in sql developer?

    Hi all

    I had a vision that looked like this:

    select *
    from projects
    where prj_manager = SYS_CONTEXT('MY_CONTEXT', 'USER_NAME');
    

    I discovered that to replace the call to sys_context (as below) made my request 10 times faster.

    select *
    from projects
    where prj_manager = v('APP_USER');
    

    The question I have now tested my opinion of sql developer. Is there a way to get v ('APP_USER') to return a value in sql developer?

    Thank you

    René

    Version of database?

    Definition of the g_cape_context_pck.get_context_name function?

  • Lightroom will not identify my my d5500 has been added NEF files. Is there a way to get around this or if I switch to CC to recognize these files?

    Lightroom does not recognize my Nikon d5500 has been added m NEF files, is there a way to get around this or if I switch to CC it will recognize these files?

    The d5500 has been added has been initially supported by Lightroom 6/CC

    Camera Raw plugin | Supported devices

    Free option: download the Adobe's DNG Converter, convert all d5500 has been added Raw files to DNG, and then change the DNG files in your version of Lightroom

    Using Photoshop | Digital Negative (DNG)

  • I have a player digital adobe which I used for about a month.  The library downloads easily... today it started to ask is there a way to get around this?  Establishment of once was a challenge enough.

    I have a digital ready Adobe fortunately I used for a month.  Downloads library very well.  Today when I open he asked me to go back

    and implemented from scratch. Is there a way to get around this?  Establishment of once was a challenge enough.  In fact, I've probably lost all the books I've downloaded?

    Thank you

    You can get better support in a product-specific forum

    If you start the https://forums.adobe.com/welcome Forums Index

    You will be able to select a forum for the specific Adobe products you use

    Click on the symbol "arrow down" on the right (where it says all communities) to open the drop-down list and scroll

  • after update of cc, I can't use photoshop cs6 without logging in cc.  Is there a way to get around this?

    after update of cc, I can't use photoshop cs6 without logging in cc.  Is there a way to get around this?

    I do nothing stored on the cloud, all work is local and I do not have to be connected.  It also seems to make Photoshop a LOT slower.

    Hello Christy,

    If it's a standalone Photoshop CS6 (ie you have a serial key) there is no need to connect to the desktop creative cloud application.

    If you have downloaded the 'previous Versions' CS6 creative cloud desktop application so you will need to stay connected on the creative cloud desktop application.

    Concerning

    Bianka Attre

Maybe you are looking for

  • Firefox crashes when I visit this Site.

    In fact, my firefox put updated yesterday at 39.0 and I was about to watch video clips, trailers of http://flickx.ws at first, as I tried to watch from http://Imdb.com but there were no play then tried to visit a site lite requiring less internet spe

  • HP Pavilion p6-2303el: Hp pavilion p6 - forgotten password startup

    Hello I forgot my password to start (No bios password). After three times, the computer displays an asterisk (*), and then the pc is blocked. Can someone help me? My pc is a hp pavilion p6-2303el Pentecost 8.1 64-bit windows Thank you.

  • I forgot the password Administrator windows xp pro

    I forgot my password for windows Xp pro and this is the only account on the computer, please help me!

  • Cannot find QBW32. EXE

    I tried to install quickbooks pro 2002 and quickbooks pro 2015 on my new machine 64-bit windows 7.  the installation of the system software, but I cannot open it.  Whenever I try to open it I just get the error message that it cannot locate the file

  • TextField need help!

    HelloI need to create a form that contains some textFields and I need this feature in it.When the focus press 1 user to textfield first edition box and when press 4 control user or (focus) back to 4th textfield and user enter its value.for example1 _