Layer mask groups converted from work plans to the size of the artboard in older versions of Photoshop

I wanted to start this post as an idea, but I couldn't choose communities (it wouldn't let me), so here it is posted...

----

Just came across this with a customer...

I use for a mobile design project work plans, and I just got a screenshot with some texts asking why among work plans were really great. Way bigger than a phone. (I'm under NDA and cannot post the screenshot, but imagine there are a lot of iPhone size work plans and two of them seem to be at a right angle)

I opened the file and on my end, everything is the right size. Remembering the weeks ago to tell the customer that they need to update their version of Photoshop for all this work correctly, I have take a look at the screenshot and see that they are on CC2014 - none of the work plans.

What I'm asking here, is that, since we have data, plans of work are objects of a defined size and 'alive', why not just use these data to hide layer groups at the opening of the PSD / PSB (PSB in my case) in older versions of Photoshop?

It could save you a TON of hassle and confusion.

Hi Zack,

High level to your query response is: no, there is no conduct business case for a general solution to what you are suggesting. So I don't see what is happening.

I say that as someone who likes to give back and forth and backward compatibility.

There are two parts of the problem that you raise. They are related and somewhat intertwined.

  1. Having the version previous (2014) do something reasonable with the data from the version the most recent (2015). Either the old version should be taught on the most recent data so it can make a decision about what to do, or the newer version must put additional data in the file format for consumption by the older version.
  2. Back and forth between versions. As you say, a much more difficult problem. In fact, we do a good job of that today. But we must be sure that whatever we do for (1) not to damage and back the wrong way.

Let's be very clear: 2014 will not be touched, except for critical bugs, absolutely. And even before 2015 is released, it would have not been corrected to make it behave better with work plans. There is no way that I could see what is happening. So all we have done for better backward compatibility had to be entirely done within 2015.

For the round trip, the general problem is something like this: we want to 2014 to read an object that has properties of 2015, he does not understand. While we might learn ch to keep these properties as opaque property, must also have rules for when these properties are not valid and thrown on the floor. Probably, if the object is changed. But not always. And sometimes when another object parent is changed. And so on. Right now, we destroy them unknown content from their reading in the old version. Make us and record what we understand. As a user, you receive an alert telling you that we are do this. It's the safest thing to do.

There are special cases where a developer can see an opportunity to preserve a level of backward compatibility and back and forth. We try to do if we believe that it is safe. But this scenario happens only occasionally.

In the case of work plans, made us really think about this: If we added a mask to the group for backward compatibility, it should do something with this mask reading around 2015. And what would happen if the user edited this mask in 2014 and opened upward in 2015 - and who edited mask do not align with the structures of the artboard? Things started to get dark quickly. We started to see traps. The workflow together to sheath special round trip had to be tested and verified. The cost was rising and this expense must be filtered through a cost/value trade-off. And then what happens when we add a new property to the structure of work plan? At these efforts for nothing?

So we compromised with what you have today. Work plans become groups in 2014. The Group and the layer structure remains intact. Doesn't secretly add us and remove masks for the round trip. You can safely change the groups to your heart's content. When return you this document in 2015, you redo the work plans of the groups. Was not clear and safe way to do more than that given the time that we had.

Take a step back and think about your problem, it doesn't seem to be a value to a script that converts group work plans + layer masks for your workflow to have your documents that is consumed by the customers of 2014. This would be carried out in 2015 because she would need understand the work plans. And maybe vice versa from 2014 to 2015, assuming that the documents were not published in a hostile way. We're not likely to write such a script as a generic tool, but someone competent with script might be able to do this.

More that I intend to write, but hopefully, it gives you additional insight in the compromises that we have faced.

Tags: Photoshop

Similar Questions

  • Is it possible to resize all work plans at the time the way that you used to be able to do in the configuration of document?

    I have a document with 20 work plans. When I resize a that only changes that are. I'm in CS5. Is it possible to resize all work plans at the time the way that you used to be able to do in the configuration of document? Thank you very much!

    Wade_Zimmerman wrote:

    It's a good script but t vrry does not resize some plans of work and not wouldn't

    @ Wade

    You can recode and a confirm in the loop to determine if you want to resize the work plan current in the iteration of the loop, if no installation then jump her, if yes then prompt for sizes and move forward. Then you can resize regardless of those that you wish as such, some and not others. You can even distinguish with each confirm and ask what work targeted plan by displaying its name. I tested this approach and it seems to work ok, but not super stylish, of course, because if you have tons of work plans, it would be a large number of guests/entry. You could lesson prompts by combining the width/height in a single guest. But then again, even at this time sound just as effective to resize each manually via the window of work plans, probably the same amount of work/time user input processing and the targeting of individual work plans. You could perhaps also create script window for multiple entry for plans of work desired, may be based on the selected and build your dialogue window accordingly, I suppose that, at this time, it would provide a more effective approach for this kind of thing that you seem to be describing.

    But that all said that we would be well beyond the original request that CarlosCanto already so generously filled. He might have some comments on your comments.

  • work plans and the origin

    Hi, I am looking to attract some objects on fixed positions on work plans by first defining the origin of the document to the top - left of the artboard. However, this seems to work for some of the work plans, but not for all.

    Example code:

    #target illustrator
    
    // create artboards
    var CurrentDoc = app.documents.add ( DocumentColorSpace.CMYK, 595, 841, 12, DocumentArtboardLayout.GridByRow, 50, 6); 
    var artboardRef = CurrentDoc.artboards;
    
    // loopt through all artboards
    for ( var i = 0; i < artboardRef.length; i++ ) 
      {
       // set page and ruler origin
       var RulerLeft = artboardRef[i].artboardRect[0];
       var RulerTop  = artboardRef[i].artboardRect[1] ;
       CurrentDoc.rulerOrigin = [RulerLeft,RulerTop];
       CurrentDoc.pageOrigin  = [RulerLeft,RulerTop];
      
       //add text to artboard
       var cTextRef = CurrentDoc.textFrames.add();
       cTextRef.textRange.characterAttributes.textFont=app.textFonts.getByName("Verdana"); 
       cTextRef.textRange.characterAttributes.size = 27;
       cTextRef.contents = "ArtBoard: "+ (i+1);
       cTextRef.left = +55;
       cTextRef.top = -64;
       redraw();
      } 
    

    8 of the 12 work plans get the text at the right position (but not in the right order when I look at the range of work plans). Text for 4 work plans is placed completely outside all work plans.

    Any help is appreciated,

    Michel

    A mathematical operation is Ok, no need to set the origin.

    #target illustrator
    
    // create artboards
    var CurrentDoc = app.documents.add ( DocumentColorSpace.CMYK, 595, 841, 12, DocumentArtboardLayout.GridByRow, 50, 6);
    var artboardRef = CurrentDoc.artboards;
    
    // loopt through all artboards
    for ( var i = 0; i < artboardRef.length; i++ )
      {
       // set page and ruler origin
       var RulerLeft = artboardRef[i].artboardRect[0];
       var RulerTop  = artboardRef[i].artboardRect[1] ;
       //CurrentDoc.rulerOrigin = [RulerLeft,RulerTop];
       //CurrentDoc.pageOrigin  = [RulerLeft,RulerTop];
    
       //add text to artboard
       var cTextRef = CurrentDoc.textFrames.add();
       cTextRef.textRange.characterAttributes.textFont=app.textFonts.getByName("Verdana");
       cTextRef.textRange.characterAttributes.size = 27;
       cTextRef.contents = "ArtBoard: "+ (i+1);
       cTextRef.left = RulerLeft +55;
       cTextRef.top = RulerTop -64;
       redraw();
      }
    
  • I'm trying to reinstall an older version of photoshop elements from a backup disk.

    My computer died and I am trying to install an older version of photoshop elements from a backup on a computer disk.  I get the error message "could not complete your request because of missing or no personalization information valid.  Help?

    Thank you!     My PSE2.0 now works like a charm with Windows8 on my new PC.  When the Scratch disk preferences appeared a player had not selected.    I didn't try it on 'C' drive to 1.5.  As it worked on the smallest portable drive, I decided to leave it alone.

  • I want to use an older version of Photoshop. I have the official copy, etc. of activation key. However, whenever I start Photoshop it requires registration. I tried internet registration and phone, but they seem to not work. Please tell us how regisyter t

    I want to use an older version of Photoshop. I have the official copy, etc. of activation key. However, whenever I start Photoshop it requires registration. I tried internet registration and phone, but they seem to not work. Please tell us how to register the product. It's Adobe Photoshop CS version 8 for Windows.

    The CS/CS2 activation servers have been removed. Download CS2 and use the new number given to the right of the download link.

    ml https://helpx.adobe.com/x-productkb/Policy-Pricing/Creative-Suite-2-activation-end-Life.HT

  • My desktop version of my site works well but the mobile and tablet versions have any overlap and the entire page. If I can't pin things that it stops?

    My desktop version of my site works well but the mobile and tablet versions have any overlap and the entire page. If I can't pin things that it stops?

    Hi Pedro,

    Make sure that when you design the phone and tablet version to keep in mind the limits of dimensions.

    Please share the url of your site for further analysis.

    Kind regards

    Akshay

  • I think buying CC Adobe photographers plan paid monthly. Can you tell me if I download will automatically delete older versions of Photoshop and Lightroom I use already on my computer?

    I think buying CC Adobe photographers plan paid monthly. Can you tell me if I download will automatically delete older versions of Photoshop and Lightroom I use already on my computer?

    Hi Alan,

    Not really.

    But when you install the latest version of CC 2015, it allows you to uninstall your previous CC and CC 2014 versions.

    But you can install previous versions.

    Please see the link below to return to the CC2014 apps:

    http://blogs.Adobe.com/adobecare/2015/06/16/how-to-find-and-install-previous-version-of-ad obe-apps-in-cc-2015.

    Kind regards

    Sheena

  • How can I activate an older version of Photoshop that I have loaded on my new tablet? Web activation does not work, and when I call the number, it is said that it is not longer used. In the meantime, I'm up to 13 days until it stops working due to not bei

    How can I activate an older version of Photoshop that I have loaded on my new tablet? Web activation does not work, and when I call the number, it is said that it is not longer used. Meanwhile, I'm 13 days until it stops working due to not be enabled. Help?  I really need to continue to use this product for my home business. It works very well not activated but the threat is that it will stop working in 13 days more if I don't get activated, and none of the activation methods that they list seem to work.

    You can download CS2 if you have a valid license for CS or CS2.

    And you have to follow the instructions and use the download again AND the new serial number.

  • Error when creating a layer of text, when 2 + work plans are available in the document

    Hi, I met a weird error while trying to create a new text layer.

    When a single work plan is available in the document, the script works well and create a new empty text layer;

    When 2 or more work plans are available in the document, the script generates the layer, but she then gets stuck when trying to convert a text. The console says "the layer cannot contain text.

    Paste my code here with comments.

    #target photoshop
    
    
    //this script attempts to create a text layer above the selected layer contained into an artboard.
    //For some reason, it works on the first available artboard, but not on the other ones. The error is "The layer cannot contain text"
    
    
    //get active PS document
    var doc = activeDocument; 
    
    
    //get active artboard 
    var currentArtboard = getActiveArtboard();  
    
    
    //create new art layer in the current artboard
    var newLayer = currentArtboard.artLayers.add();
    
    
    //trying to convert to text layer. Fails when 2+ artboards are available int the document
    newLayer.name = "test";
    newLayer.kind = LayerKind.TEXT; 
      
      
    function getActiveArtboard() {  
        var key = false;
        var l   = doc.activeLayer;
        var p   = l.parent;
    
    
        try {  
            while (!key) {  
                doc.activeLayer = p;  
                var ref = new ActionReference();  
                ref.putEnumerated(charIDToTypeID('Lyr '), charIDToTypeID('Ordn'), charIDToTypeID('Trgt'));  
                key = executeActionGet(ref).getBoolean(stringIDToTypeID("artboardEnabled"));  
                if (key) {  
                    return p  
                }  
                p = p.parent;  
            } 
    
    
        } catch (e) {  
            alert('This layer is not contained within an artboard');  
            return undefined; 
        }  
    }  
    


    Any help is greatly appreciated. Thank you in advance!

    var doc = activeDocument;
    
    var currentArtboard = getActiveArtboard();
    
    function makeTextLayer() {
        var desc = new ActionDescriptor();
        var desc2 = new ActionDescriptor();
        var ref = new ActionReference();
        ref.putClass(app.charIDToTypeID('TxLr'));
        desc.putReference(app.charIDToTypeID('null'), ref);
        desc2.putString(app.charIDToTypeID('Txt '), "text");
        var list2 = new ActionList();
        desc2.putList(app.charIDToTypeID('Txtt'), list2);
        desc.putObject(app.charIDToTypeID('Usng'), app.charIDToTypeID('TxLr'), desc2);
        executeAction(app.charIDToTypeID('Mk  '), desc, DialogModes.NO);
        return doc.activeLayer
    }
    
    var newLayer = makeTextLayer();
    
    newLayer.move(currentArtboard, ElementPlacement.INSIDE);
    
    function getActiveArtboard() {
        var key = false;
        var l = doc.activeLayer;
        var p = l.parent;
        try {
            while (!key) {
                doc.activeLayer = p;
                var ref = new ActionReference();
                ref.putEnumerated(charIDToTypeID('Lyr '), charIDToTypeID('Ordn'), charIDToTypeID('Trgt'));
                key = executeActionGet(ref).getBoolean(stringIDToTypeID("artboardEnabled"));
                if (key) {
                    return p
                }
                p = p.parent;
            }
        } catch (e) {
            alert('This layer is not contained within an artboard');
            return doc
        }
    }
    
  • How the layer is duplicated into several work plans?

    Hello

    I use Photoshop CC 2015.

    I'm working on a document with different arboards.

    And I need to duplicate a layer from one to all work plans.

    Is it possible to do?

    Thanks for your help!

    Unfortunately there is no other way for the exception manually.

  • How can I add a gradient to a layer mask to counter a gradual change in the tone of one end of one photo to another?

    I swear I have go nutso.  I have a photo taken with a pretty extreme move of 10mm of a shift lens, which therefore has a gradual darkening towards the top of the photo.  No problem, don't tell me.  I just added a mask layer, click on the gradient tool and drew a line (in a good way) with this tool.  What I received was a transparent area at the black end (of the gradient applied to the mask) ranking to the darkest part of the image showing through to the other end (of the gradient).

    I've done it before and done the above, instinctively, so I thought that I was doing this right.  When it did not work, I tried applying the mask and the gradient to a duplicate background layer, and then flatten the image. Nada.

    Jees.  Something incorrectly? An other than normal blending mode?  I even checked with a CS6 by Martin Evening guide, which seems to be able to do exactly what I wanted without any problem.

    Or... maybe I 'm going nutso :).

    Thanks in advance,

    BAB

    Normal blending mode is correct. Suppose I want to clear up a segment of heaven in image1. Dupe of image and lighten it. It's the Image 2. I exaggerated the relief much here to make it more obvious to you. Please forgive me. Normally the lightning could be more nuanced. The gradient mask attached to the Image 2 starts at the top of the tail of the plane - not the whole image. The result is image 4. Maybe your success is due to the slope not starting and ending in the appropriate box. Note the gradient is black and white.

  • The Extract function does not work for work plans in the last update CC?

    The functionality of the extract stops when I have a PSD with work plans. Does anyone else have this problem?

    I am pleased to say that work plans are now supported in excerpt on the site of creative cloud. Let us know how to find you and if there is anything we can improve!

  • Updated to the new Photoshop CC 2015: work plan and the background are both white I can't see any outline. Will not change when I try to get a different background color.

    This seems almost elementary but I tried everything literally, the only thing I can think is that this is a bug.

    When I'm working on work plans, they are white and the background is white, so I don't quite see the outline. I tried to change the background color to dark gray or any other color, but nothing works. I restarted my computer, the software, everything. Nothing works. It only happens to me, everyone in my company isn't the problem. We checked out the contrast on my computer and it's all good. I had two different designers tinker around with it and they say it must be a bug because they have tried everything they can and I also.

    Now I simply add a grey box dark to my work plans so I can see the sketch, but it's really annoying, I have to do, especially since I work with Photoshop 4 hours per day.

    You must set your GPU options in preferences to something other than "Bacic."

  • Download the work plan of the selected item

    I have the script where I select objects on the artboard multiple, but I can't seem to get advice art activates the selected item. Is this possible?

    each work plan is a text element and I that they in the same position on each of their own work plans they are already a. now it fits them all to a work plan. Here's what I have so far

    doc = app.activeDocument;
    for(i = 0; i < selection.length; i++){
        var firstItemPosition = doc.selection[0].position;
        doc.selection[i].position = firstItemPosition;
        var activeArtboardIndex = doc.artboards.getActiveArtboardIndex();
        alert(activeArtboardIndex);
     }
    

    .. .or with a "brute force" approach

    // return each selected item's artboard index
    // carlos canto 09/28/2013
    // http://forums.adobe.com/message/5721205?tstart=0#5721205
    
    var idoc = app.activeDocument;
    app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;
    var selec = idoc.selection;
    
    var sel = [];
    for(i = 0; i < selec.length; i++)
        sel.push(selec[i]);
    
    for(j = 0; j < sel.length; j++) {
        idoc.selection = null;
        alert('selection ' + j + objectArboardIindex (sel[j]));
    }
    
    for(j = 0; j < sel.length; j++)
        sel[j].selected = true;
    
    app.userInteractionLevel = UserInteractionLevel.DISPLAYALERTS; 
    
    function objectArboardIindex (obj) {
        var idoc = app.activeDocument;
        for(i=0; i		   
  • How to find no work plans and the lines of a doc. ?

    Hello

    could someone tell me how to count the number of work plans and existing lines in the document?

    the CS4 API can do?

    I couldn't find all the suites do.

    Please help I'm stuck.

    Thank you

    DeepAlone.

    The number of work plans is easy: AICropAreaSuite::GetCount() in AICropArea.h. The number of lines? It's more complicated, since there is no ownership of it. You figure, however, using the methods of AICropArea to join the rectangles (see struct above) of each work plan (or "box frame" as they are called in the nomenclature of the CS4 API). There is no guarantee that they are in lines, of course, since they can be moved. You can take a stab but looking at the top & bottom and see if a bunch of them line up; which would give you meaning to all the lines are there is they are in lines.

Maybe you are looking for

  • Two Dynadocks on Mac - VGA two displays at the same time?

    I have two Dynadocks: PA3542EY1PRP and PA3541EY1PRP. They are connected to the iMac 21 'Snow Leopard'.All USB ports work but I can't run that two VGA displays simultaneously. If one works, the other doesn't.Display links drivers are updated.There mus

  • Downgrade of Tecra A8 - Bussiness from Vista to XP Profesional

    Hello I have a laptop Tecra A8-104 which came with Vista Business. I want to downgrade to XP Professional. Can you help me with this? I don't know where to find a legal XP free kit for installation. Toshiba provides a Kit of XP for the downgrade? Aft

  • Recent pages

    Is it possible to accelerate the recent pages screen. It's the only thing that seems to lag on the phone. Also is there anyway to add something to close all the recent with one button. The Nova Launcher makes the fast ultra phone, but does not seem t

  • Motorola Atrix random DOWNS CLOSED!

    If after the gingerbread update I've had these strange power downs random screen. It's not completely off, it shuts down just the screen and I have to press the power button and unlock the screen again. I tried somethings and I think I know what is t

  • How can I disable the Touchpad in Toshiba Qosmio? My cursor jumps and there seems to be some conflicts

    Cursor jumps. The last time has solved this problem by disabling the touchpad, but don't remember how to do