"Toggle mask visibility" shortcut?

Is there a keyboard shortcut for "Toggle mask visibility"? I can do this by ALT-clicking on the layer's mask, but I would like to assign a shortcut for this on a button on my Wacom Intuos 4 drawing tablet. So far I haven't found a menu shortcut for it, nor have I found a way to add my own (Edit-Keyboard shortcuts) as the function isn't listed there.

There are some big difference between  (Alt+Click) on the Layer's Layer Mask Icon in the Layer palette. There does not have to be a current target the cursor position sets the target. And (Alt-Click) is a toggle.   An Action step "Select mask channel is quite different.  If nothing is targeted. If the top layer has a layer mask it will become the Photoshop target and be displayed grayscale in the image window.  If there is a currently targeted layer that has a layer mask that layer's layer mask will become the Photoshop target and it will be displayed grayscale in the image window. For any other document state that step will fail with an error message like its  not a currently available option.  The step is also not a toggle.
To tell the truth I do understand why the op ask the question.  For the toggle requires a mouse position and a click.  With their Wacom Intuos4 they can set a express key to Alt.  The tablet may even be come configured the way. When they press the express and click the pen it will be a toggled.  In Any case there needs to be a mouse position and a click to set the target weather they use the (Alt-Click) toggle or they use an action to display a Layer mask in the image window grayscale.  Something has to target a layer with a layer mask.  In an action that state may exist as a result of prior steps.  An action with "Select mask channel"  as the first step can easily fail for the current Photoshop target may not a the requited layer mask.

Similar Messages

  • Test mask visibility in pscc 2014

    I have heard good comments about indesign scripting community.
    It occurred to ask a Photoshop scripting question here given the good reputation of this community.
    The photoshop document has a layer with a layer mask.
    Using the extended script or javascript,
    How would I test if the layer mask is visible or hidden?
    Trying to create a script that toggles the visibility of a layer mask.
    So far the script can call the showMask or hideMask functions independently.
    The next step is to test for the mask visibility and call the corresponding function.
    I believe this can be achieved with an if statement.
    // if mask visible
         call hideMask()
    // if mask not visible
         call showMask()
    #target photoshop
    //Make Photoshop the formost Application
    app.bringToFront();
    //Test for open document
    if(app.documents.length > 0){
            //Select mask layer 255 fill
            var docRef = app.activeDocument;
            var layerRef=docRef.layers.getByName("255 fill");      //"Layer Name" 
            docRef.activeLayer=layerRef;
            // call showMask function
            //showMask ();
            // call hideMask function
            //hideMask ();
            //toggle mask visibility              
    else {
        alert("No documents are open");
    // FUNCTIONS
    function showHideMask () {
        // showMask
        // =======================================================
        var idslct = charIDToTypeID( "slct" );
            var desc21 = new ActionDescriptor();
            var idnull = charIDToTypeID( "null" );
                var ref21 = new ActionReference();
                var idChnl = charIDToTypeID( "Chnl" );
                var idChnl = charIDToTypeID( "Chnl" );
                var idMsk = charIDToTypeID( "Msk " );
                ref21.putEnumerated( idChnl, idChnl, idMsk );
            desc21.putReference( idnull, ref21 );
            var idMkVs = charIDToTypeID( "MkVs" );
            desc21.putBoolean( idMkVs, true );
        executeAction( idslct, desc21, DialogModes.NO );
    function hideMask () {
        // hideMask
        // =======================================================
            var idslct = charIDToTypeID( "slct" );
                var desc22 = new ActionDescriptor();
                var idnull = charIDToTypeID( "null" );
                    var ref22 = new ActionReference();
                    var idChnl = charIDToTypeID( "Chnl" );
                    var idChnl = charIDToTypeID( "Chnl" );
                    var idRGB = charIDToTypeID( "RGB " );
                    ref22.putEnumerated( idChnl, idChnl, idRGB );
                desc22.putReference( idnull, ref22 );
                var idMkVs = charIDToTypeID( "MkVs" );
                desc22.putBoolean( idMkVs, false );
            executeAction( idslct, desc22, DialogModes.NO );

    There have been a couple of threads on this and apparently people at Adobe are aware that the feature has been broken.
    Re: I updated photoshop CC to 2014 version and the photomerge fuction does not work as the previous version, it is worse. When blending images it crops with nearly strait line, without considering image items. At the previous version croping was much more

  • Toggle layer visibility

    Hello,
    I need one keyboard shortcut that toggles visibility of one of layers.
    I paint and need to toggle on and off one layer below (layer with a reference picture, not one i paint on). with a shortcut painting process will be not break as with case click at icon.
    tried to make toggle layer visibility with actions unfortunately with no success.
    it is possibility to toggle active layer visibility by add shortcut in keyboard shortcuts preferences  but here it going not about active layer.
    I have no experience with scripting.
    thank you!

    For this to work as written there can only be one layer in the document named 'Ref' otherwise it will toggle the top most layer with that name.
    var targetID = getLayerIDByName('Ref');
    if(undefined != targetID){
        if(getLayerVisibilityByID( targetID ) ){
            hideByName('Ref');
        }else{
            showByName('Ref');
    function getLayerIDByName(name) {
        try{
        var ref = new ActionReference();
        ref.putProperty( charIDToTypeID("Prpr") , charIDToTypeID( "LyrI" ));
        ref.putName( charIDToTypeID( "Lyr " ), name );
        return executeActionGet(ref).getInteger(charIDToTypeID( "LyrI" ));
        }catch(e){}
    function getLayerVisibilityByID( id ) {
        var ref = new ActionReference();
        ref.putProperty( charIDToTypeID("Prpr") , charIDToTypeID( "Vsbl" ));
        ref.putIdentifier( charIDToTypeID( "Lyr " ), id );
        return executeActionGet(ref).getBoolean(charIDToTypeID( "Vsbl" ));
    function hideByName(name) {
        var desc = new ActionDescriptor();
            var list = new ActionList();
                var ref = new ActionReference();
                ref.putName( charIDToTypeID('Lyr '), name );
            list.putReference( ref );
        desc.putList( charIDToTypeID('null'), list );
        executeAction( charIDToTypeID('Hd  '), desc, DialogModes.NO );
    function showByName(name) {
        var desc = new ActionDescriptor();
            var list = new ActionList();
                var ref = new ActionReference();
                ref.putName( charIDToTypeID('Lyr '), name );
            list.putReference( ref );
        desc.putList( charIDToTypeID('null'), list );
        executeAction( charIDToTypeID('Shw '), desc, DialogModes.NO );

  • Toggle Group Visibility while sorting results in error

    I have a custom website in which we have embedded SQL Server Reporting Services reports.  
    The report in question has 3 nested row groups.  The parent group is always shown, but the 2 child groups default to hidden and have their visibility toggled by the parent group.  This works fine by itself.
    There are several columns for which we've enabled Interactive Sorting.  This also works fine by itself.  
    The problem occurs when the user sorts a column first, then toggles the visibility of the child groups.  Toggling the groups before sorting works fine for some reason.  The Error only occurs when sorting, then toggling visibility.
    The error is a reporting services error.  It says 
    The value for parameter 'SortItem' is not specified. It is either missing from the function call, or it is set to null. (rsMissingParameter) Get
    Online Help
    There is no parameter in the report called "SortItem", so this seems to be some internal error which is triggered from this specific sequence of events.
    Additionally, this error only occurs when the report is embedded in the custom website.  This error does not occur when running the report in the standard reporting server website or in Visual Studio.  
    Any ideas on how to fix this?

    Hi Jahbreeze,
    Thank you for your question.
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated. 
    Thank you for your understanding and support.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Using hyperlink to toggle layer visibility?

    Okay, I've got a few threads going in other forums on this, and I'm getting a little frustrated with retyping it all, so I'm going to try to be brief... if you have any questions on what I'm trying to do, sorry for being vague, just ask and I'll try to clarify (I know, I hate posts that don't give enough info to work from).
    OKay... I work with surveillance systems, and for one customer, I'm taking existing PDFs they have of site floorplans, loading them into Ilustrator CS5, adding icons and text showing camera locations and fields-of-view, then exporting to PDF, loading that into Acrobat Pro X, and adding a hyperlink to each camera icon that when clicked, will open a window with a still capture from that camera, so they can see what the view is "supposed" to look like.
    This works fairly well, and the client is happy with it... there's just one annoyance: every click produces a dialog box warning about opening an external program, and in newer versions of Reader, there's no "Don't display this again" checkbox.  A way around this would be great, but I had a better idea:
    I'm already creating layers in Illustrator: one for the floor plan, a second for the camera icons, a third for the text, and a fourth blank one so I can "swap out" the underlying floor/camera info without losing the hyperlinks (anywhere from 16 to 30, depending on the site).
    I had the idea that what I could do, is add a separate layer for each camera's sample image, which would allow me to add the image directly to the document, and have it just appear over the floor plan, rather than loading in a separate app.  Then I could have the image layers start out invisible, and toggle the visibility by clicking the camera icon.
    So I found this article that describes changing layer visibility from a hyperlink: http://help.adobe.com/en_US/Acrobat/9.0/Professional/WS58a04a822e3e50102bd615109794195ff-7 c5b.w.html
    It... sort of works.  I can create a link that will show a hidden layer... but not re-hide it.  I created a separate link that would hide it... but not show it.  Not really suitable - I'd like to have the same link toggle the layer on/off (heck, it would pretty much have to, or you KNOW the end users will get confused). 
    And the whole process seems a little clunky, at least from the above instructions.  Is there a better way to do this in Acrobat X?  Maybe a way to do it all within Illustrator?  Hope I'm clear enough about what I'm trying to achieve.
    If all else fails, is there a way to get rid of the $&^@*#!!! external program warning popup??
    Thanks, all!

    Forget that help page example, it's only practicable if you're setting a very simple pattern of layers.
    Instead, you should look at the JavaScript commands to control the visibility of individual layers, referencing them by their stacking order or name.
    For example this snippet will turn on the layer called "camera1":
    var ocgArray = this.getOCGs();
    for (var i=0; i < ocgArray.length; i++) {
      if (ocgArray[i].name=="camera1") ocgArray[i].state = true;
    You can easily extend this idea by creating a document-level function in the PDF, and calling that function from your links. For example if all your camera layers are named "camera1","camera2", etc. and you have a doc-level function like this:
    function showCamLayer(theName) {
      var ocgArray = this.getOCGs();
      for (var i=0; i < ocgArray.length; i++) {
        if (ocgArray[i].name.substr(0,6) == "camera") ocgArray[i].state = false;
        if (ocgArray[i].name == theName) ocgArray[i].state = true;
    then you can set your links to "run a JavaScript" and enter a single-line command such as showCamLayer("camera4")

  • Layer mask visibility

    Hi, I am trying to figure out how to set the mask visibility in Elements 9. If I create a mask, it sometimes comes in handy to see where you have been. In other programs I use you can turn the mask red for instance. Can't find that feature in pse 9 When a mask is turned red it would also be easier to see the different shades and oppacities you use.
    Thanks a million

    In pse9 you can use the backslash key to show the red overlay.
    (the key just below the backspace key)
    You can also change the mask overlay color or opacity by right clicking
    on the layer mask and choosing Mask Options.
    To show the mask as black and white you can Alt click on the layer mask.
    MTSTUNER

  • Need scripting help to toggle OCG visibility

    I need the ability to toggle the visibility of OCGs in a PDF file. Does anyone have a script example of how to do it? I would like to use a button to toggle between visible or hidden. Below is a fence diagram which my boss would like me to make so that the sections can be hidden to reveal the section behind. I know I can do this from the Layers panel but he wants it to be by a button.

    Thanks, George,
    I looked at the page you referenced. I'm still not sure how one would go about writing the Javascript. I'm planning on having a small version of the diagram in outline form as below. For each circle I need to have an if/else statement which would say something like If visibility of layer x is true; set it to false; else if visibility of layer x is false; set it to true so that different configuration could be revealed by clicking on the numbers.
    Any help would be greatly appreciated.

  • Win shortcut for toggling Layer visibility

    Alt+click on Eye Icon turns Layers on/off.  But if you show one layer to edit it, then do the reverse, it doesn't turn all hidden Layers back on again.   Am I missing something or is there a better way to do this?  Some of my documents contain a LOT of layers.
    Thanks,
    Nancy O.

    Glad there was something out there, Nancy. I basically fidgeted around Google because I needed to know as well.
    R_Kelly got me curious about Morris' site and I found a script that allows me to bring up recent files, checkmark the ones I want and open them all in one click. "Open Recent Files". Adobe Photoshop Scripts | Trevor Morris Photographics
    So a thanks and a Like to R_Kelly!

  • Toggle Layers Visibility Animation in Pre-Comp

    Hi, I want to make a pre-comp with 2 mouse-pointer images, the one has the normal state, the other image has teh pressed pointer state. Now in a parent layer it'd be wonderful if I could use this pointer-pre-comp and when ever I want to show a pressed-pointer, I set a keyframe set (pree / unpress) to the pointer-pre-comp within the parent-pre-comp ... is such a thing doable ? Because rt now I'm animating out every single step.
    Regards,
    Frank

    If you know anything about expressions you could do it with a Slider Controll. Because the pointer and the over state are different sizes you'll have to change opacity of both layers. I'm calling your pointer comp "pointerComp" (this name doesn't matter) and attaching adding the expression slider to a null named PointerController (not important) in the mainComp i'm naming "Main Comp" (and that name matters a bunch). I also named the slider Opacity Slider by selecting it in the ECW and pressing return the same way you rename layers in the timeline.
    Here's the expression for the over layer's opacity:
    comp("Main Comp").layer("PointerController").effect("OpacitySlider")("Slider");
    for the second or normal layer we'll do something a little different. I'm going to subtract the value of the slide from 100 because opacity can only be in values from 0 to 100.
    The expression looks like this:
    100 - comp("Main Comp").layer("PointerController").effect("OpacitySlider")("Slider");
    The only typing I did to create these expressions was to type in the 100 -
    The rest was created entirely with the pickwhip by separating the two timelines and locking the null's Effect Controller window.
    The last part of the solution is set keyframes and animate the Opacity Slider between 0 and 100. You can set pairs of keyframes a couple of frames apart if you want a little fade, or you can set the keyframes to Hold Keyframes using Animation>Toggle Hold Keyframe or using the keyboard shortcut Alt/Option + Cmnd/Ctrl + H.
    Here's what the project looks like. It took longer to explain it than to do it.

  • Hidden report items with toggle are visible in Excel when a report is exported to Excel.

    Hi
    I have  4 Bar charts and 4 text boxes in one report in SSRS Report . These charts  are hidden based on parameters. I have one visible chart and one text box when report is rendered .
    When report is exported to excel  4 charts  are visible. Each Bar chart has one textbox in toggle box.  If I set toggle to None  all hidden charts  will be invisible in excel file.
    I used   iif(Globals!RenderFormat.Name=" EXCEL",False,True)
     but it does not work when the chart is toggled by a text box.<v:shape alt="" id="Picture_x0020_1" o:spid="_x0000_i1025" style="width:6in;height:396pt;"
    type="#_x0000_t75"></v:shape>

    Hi Katherine
    Thank you for your quick response.
     I am working with three versions .(SQL SERVER 2008, 2008 R2 and  2012)
    I designed all reports  in SQL Server 2008 and  uploaded them in other versions.
    For example, I have a chart that it is invisible when the report is initially run.
     I want to hide this chart in excel when I export  it to Excel format.
    In SQL Server 2008: If  the toggleitem of a chart sets to a text box  the chart is visible in excel when it is a hidden item  in the report .
    I checked in PDF and word format  it is fine and  hidden items  are not displayed.
    There is  this scenario  for SQL Server 2008 R2  and  SQL Server 2012. I tested  Globals! RenderFormat  in two versions but it  does not
    work. The main  issue is  toggleitem. If I remove toggleitem  from  hidden items  they are invisible in three versions when they are exported to Excel. I  am not sure if I design report in Sql Server 2008 R2  I can hide some
    report items with toggle in Excel format or Not?
    Thanks 

  • CS4 Load Luminance Mask, keyboard shortcut

    I recently installed CS4.
    Is there a new keyboard shortcut to load the Luminance mask?
    Command+Opt+Shift+Tilde works fine with CS3 installed on this computer.
    Here is what works for CS3
    Command+Opt+Shift+Tilde
    Mac System Preference>Keyboard & Mouse> (Uncheck) Move focus to the window drawer
    I have read these earlier posts but did not find any posts for CS4.
    http://www.adobeforums.com/webx/.3bbaa366
    http://www.adobeforums.com/webx?128@@.59b68f9e
    Am I doing something wrong or has the CS4 keyboard shortcut changed?
    Thank you in advance.
    Kathryn
    Mac OS - 10.4.11
    Photoshop CS4 Extended

    Thank you Ann for the quick reply.
    Yep, that worked.
    I am still finding my way around with all the changes and new features.
    Kathryn

  • Move Tool: Toggle auto select shortcut changed

    The changed shortcuts to toggle the autoselection of layers with the move tool selected is highly frustrating to me. I used to have a great workflow with auto select turned on and used cmd to drag elements that were either off-canvas or too small / too transparent to grab them.
    I used to have good time moving layers with Command hold, now holding Cmd toggles Layer/Group selection
    How can I change it to previous behaviour?

    Before:
    You really only needed to uncheck Auto-select when you wanted to use the layser stack to make your selection on what to move. This could be useful, especially if you had lots overlapping layers but in most web-design workflows was rather an exception than the rule.
    Holding down CTRL while in another tool, such as the Brush or Selection Rectangle or Lasso temporarily enabled the Move-Tool in whatever mode you had last set it when in the tool. That is similar in behaviour displayed by the color picker tool, which has several different picker modes that can be set with the tool active and that are applied when the temporary picker is used (by pressing ALT while using most tools that deals with pixel manipulation like the Brush and Pencil Tool ).
    Now:
    In Move Tool, Auto-Select Checked
    Holding Down CTRL will switch selection mode from Layer to Group and vice versa.
    In Move Tool, Auto-Select Unchecked
    Holding Down CTRL will toggle Auto-Select On and Off
    Releasing CTRL will revert to non-Auto-Select-Mode where you can move stuff around regardless on where you click in the workspace. So basically this is like it was before, only inverted.
    And here comes the catch, these are all possible scenariosthat can occur with the Move-Tools settings:
    Outside Move-Tool, Auto-Select Checked, Layer-Selection Mode active
    CTRL will still activate the Move-Tool, but it will invoke the Group-Selection
    Outside Move-Tool, Auto-Select Checked, Group-Selection Mode active
    CTRL will activate the Move-Tool and will invoke the Layer-Selection. This feels as it was before.
    Outside Move-Tool, Auto-Select Unchecked, Layer-Selection Mode active
    will activate the Move-Tool and will invoke the Layer-Selection.
    Outside Move-Tool, Auto-Select Unchecked, Group-Selection Mode active
    will activate the Move-Tool and will invoke the Layer-Selection.
    And this interrelation of behaviours is, what causes the problem. You need different settings for the Move-Tool to get the same action out of the temporary Move-Tool that you would get from the ragular Move-Tool.
    I see what they were shooting for with this change. The new functionality is not unusable, but it has flaws that interrupt a workflow that many users rely on.
    A compromise might be reached, by assigning the Layer/Group Toggle to another Function-Key combination like CTRL+ALT.
    In the meantime, please do as you promised: roll back this change and re-introduce it, once the flaws have been ironed out. If I remember correctly, one of the often mentioned advantages of the Creative Cloud-model was the rapidity of updates. It is now up to you to make good on that claim. Please do.

  • Widget for toggling layer visibility

    It would be very useful to have widget for creating a button which toggles on/off visibility of some Muse layer(s) on the page.
    Possible application: show/hide some notes/help on the page etc.
    Thanks.

    What about a toggle button for showing/hiding accessibility features on the page? Alt text, meta titles, descriptions, changes to high contrast, enlarges text, etc...

  • Toggle Edit Type Shortcut "u" in FCP X ?

    Is it possible to get the old FCP7 shortcut "u" back to work in FCP X? It would be so much faster than using the mouse/tablet when trimming....

    Excellent! Many thanks!
    Since I'm on a French keyboard it is ^ (for left) and $ (for right) select. And Shift-ù for both select - which I changed to ) .
    I couldn't find the equivalent to \ ,yet... Could you tell me how it is called in the Command Editor, please?

  • Diplaying matrix with drill down (toggle visibility) enabled for 4 row groups

    Hello,
    I have a matrix in SSRS 2012 with 4 row groups representing a product hierarchy.   Product Sub Group, Product, Sub Product and Account Number are the levels of the hierarchy.  I have enabled drill down (toggle item visibility) on the first
    3 of these levels. 
    This works great, but my matrix is very wide when it is first rendered.  Ideally I want my matrix to expand horizontally as I expand/drill down into each grouping.  So when the report is first rendered, and 3 of the groups are invisible, the
    matrix will be thin.  Is this possible?
    Thanks,
    Gabe

    Hi Gabe,
    Based on my test, it cannot achieved in SQL Server Reporting Services (SSRS).
    We can hide these column contents in matrix, however, we cannot hide the space in the report. In this situation, I recommend you use table to display these data.
    Alternative, we can add a drill-down in the column group to hide the column group when it is first rendered. Please refer to the following screenshot:
    If you have any questions, please feel free to let me know.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

Maybe you are looking for

  • Photoshop Album 3.0 SE

    I just got an iPod 60GB and am trying to sync my photos from my PC using iTunes 4.9 and PhotoShop Album 3.0 SE (i.e., the free version). According to Apple.com: "Note: While Photoshop Album allows you to sync only certain collections, Photoshop Album

  • Solution - only productive system are displayed in DSWP

    Dear all, I have created 4 Solutions. In each solution - which has a "Productive System" as Leading Role of the Solution, only productive systems are displays when I start my DSWP transaction. Example : 1. Solution Name : Sol_ER 2. 3 logicals systems

  • Process chain cancelling

    Hello, As part of our nightly loads in our bw production system, we have batch job scheduling software that calls an initial process chain (ZRT_CTRLM_MD_RUN_1).  That initial chain then calls our main master data chain (ZRT_MD_DAILY_1).  The initial

  • "Error converting your file" on all powerpoint files

    When I try to upload a PowerPoint file of any type to Adobe Connect Pro, the coversion fails and I get an "error converting your file message."  I uninstalled Adobe Connect Pro Add-in and allowed ACP to reinstall it but that didn't help either. Does

  • Issues with Video file types

    I have videos on my computer and it says they are in a divx compression format with mp3 audio. I want to put them on my iPod, but iTunes won't recognise them. Do you know what types of video files can be recognised by iTunes and iPod and is there any