Elements 9 problems with layer styles

Hi, I've searched the forum but still been unable to install my layer styles in element 9.
The asl files are currently in c/program files 86/adobe/elements9/presets/styles but they are not showing up when I launch the editor.  I've even tried graphix add o matic to no avail.  If anyone can tell me where I'm going wrong I'd be really grateful.  I'm running windows 7 on pc

Install the styles in the hidden folder:
"C:\ProgramData\Adobe\Photoshop Elements\9.0\Photo Creations\layer styles"
Then delete this hidden file:
"C:\ProgramData\Adobe\Photoshop Elements\9.0\Locale\en_us\MediaDatabase.db3"
Start PSE, and wait while it automatically rebuilds that database file.
You'll have to temporarily change your folder options to enable viewing hidden files.
Ken

Similar Messages

  • Having a problem with character styles in indesign

    I'm having another problem with my style sheets in indesign, I've now got an awful lot of styles in paragraph and character styles. I've created different styles for paragraph justified text and when I go to my style in paragraph styles to use tight text copy, character styles always overides it so it means I have to do  whole lot of extra formatting just to put it right. Does anyone have an idea how I can stop character styles overiding paragraph styles? Thanks very much.

    Perhaps your character styles apply more than you actually want? I.e., rather than just "+Italic" it also applies custom tracking. You should use character styles only to override the stuff you really want to change.
    You can check by calling up the definition for those character styles; the huge "Style Settings" text box lists all the attributes it changes.

  • What is going on with Layer styles??

    For the last few weeks I have been having problems with my photoshop. One day I opened it and all the layer styles (6 gigs worth) were just gone. No one knew how to restore them here so I did them all over again and saved 3 sets at 2gigs each. Now every single time I open Photoshop I don't have any layer styles and have to load them. I updated just now from CS5 to CS6 and the same thing.. I have opened and closed CS6 4x now and each time all my layer styles vanish upon opening.
    What is going on and how do I fix it?
    BP

    Same old answer: If stuff doesn't stick, you have resource (disk space) or permission problems. The files probably don't auto-load, because they are never copied to the user folders and/or the prefs responsible for them never get written. Anyway, 6GB of presets? That's ridiculously insane and probably one of the reasons they got corrupted in the first place.
    Mylenium

  • BUG: Saving Text with Layer Styles to PDF

    I was just able to take the CS6 beta for another test run, and it seems the following ancient, but high-priority bug (at least for me) hasn't been addressed:
    When saving large Photoshop documents (composites in resolutions like, say 7000x10000 pixels) to Photoshop PDF, certain layer styles are often not exported correctly when applied to text layers. The layer styles that are affected are those that render pixels that are then clipped inside the text, such as Gradient Overlay, Bevel & Emboss etc.
    When output, they usually don't span the entire text in the PDF, but are cut off with a straight line at some point (I can't supply an example image right now, my apologies). Inside of Photoshop, they render correctly at all zoom levels. My guess is that this is somehow related to the raster data being written as individual tiles and for some reason, some of these are then omitted for layer styles.
    The problem isn't new to the CS6 Beta, but has existed for many versions. I have run into it in both Mac and Windows versions. The current workaround is to always expand layer styles on the text layers that are affected into layers before exporting, which is tedious and error-prone since there is inevitably something that gets missed (EDIT: I was wrong there, that workaraound doesn't work, the problem persists even if the layer style is expanded into a layer that is then applied as a clipping group).

    Two possibilities: Pre-compose everything and fade the comp or use a second layer that has the layer styles, but in its Blending Options for the layer styles has set Fill opacity to zero, so only the styles are rendered, but not the source. Whjat you are seeing is normal behavior based on how styles are supposed to work. Whenever there is a non-zero (non-transparent) pixel, the get applied, where the pixels opacity acts as amultiplier for the style's intensity. Looks good for some, but often causes this popping appearance...
    Mylenium

  • Issues with merging layers with layer styles

    Just downloaded CS6 Photoshop off the creative cloud and the merge layer command does not work. What is happening is there is one layer with a layer style then a shape layer and when I hit Cmd E it merges the layers but the layer style will not merge with it. I was chatting it up and everything they recommended did not work. It works on all my other co-workers computers and we are all on the cloud. I tried renaming pref. folder, settings folder, re-installing, holding down shft+option+cmd on start up. I also created a test account but that turned out to be a major inconvenience. Once logged into the account there is nothing there. The suggestions just started getting more ridiculous as chat proceeded. Nothing.
    Has anyone experienced this issue?
    Does anyone have a solution where I don't have to create a whole new admin account just to see if CS6 Photoshop works correctly?
    P.S.
    Adobe customer portal is about worthless.

    Get Rich or Die Tryin wrote:
    Just downloaded CS6 Photoshop off the creative cloud and the merge layer command does not work. What is happening is there is one layer with a layer style then a shape layer and when I hit Cmd E it merges the layers but the layer style will not merge with it. I was chatting it up and everything they recommended did not work. It works on all my other co-workers computers and we are all on the cloud. I tried renaming pref. folder, settings folder, re-installing, holding down shft+option+cmd on start up. I also created a test account but that turned out to be a major inconvenience. Once logged into the account there is nothing there. The suggestions just started getting more ridiculous as chat proceeded. Nothing.
    There are two merge layers type commands  one is merge down involves only two layers and another that is merge visible layers.  In my opinion there is a problem with the way merge down is implemented. When you use merge down if the bottom layer in the merge down has a layer style the merged layer also has this layer style attached.  This means that pixels from the layer merged into it will be effected by this layer style.  The result may well not look like the composite looked before the merge. The will also happen in CS5. Merge visibile layer works the correct way in my view as the merge progresses the top two layers are merge by applying any layer masks and layer styles first and merging the two layers the resulting layer has no layer masks and no layer style. This result is then merged with the next lower layer with its masks and style applied first. The result is a single layer without mask and style that looks like the original composite view.  If your having the problem with CMD|CTRL+E and the result has a layer style try turning  the layer style visibility off see if that helps.  If it helps some  backup to before the merge down  use merge visible or first rasterzise the bottom layer to be merged.

  • Problem with CSS styles and Previewing in Firefox

    Hello,
    I recently rebooted my Mac OS X system (leopard) and reinstalled Adobe CS3. Before this I had virtually no problems with Dreamweaver and everything was running smoothly. However, now whenever I preview my pages in Safari, the CSS code is completely mangled.
    Also, my site won't preview in Firefox unless I close any existing tabs and exit Firefox completely. I have no idea why these problems are occurring, but I have pasted the code below so any advice would be extemely helpful.
    ---------------------------------html----------------------------------------
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv= "Content-Type" content="text/html; charset= UTF-8" />
    <title>armed and harmless</title>
    <link href="untitled.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <div id="wrapper">
        <div id="nav">
        </div>
    </div>
    </body>
    </html>
    -----------------------------------css-----------------------------------
    @charset "UTF-8";
        background-color: #000000;
        background-image: url(images/header.jpg);
        background-repeat: no-repeat;
        margin: 0px;
    #wrapper {
        height: 800px;
        width: 1000px;
        margin-top: 0px;
        margin-right: auto;
        margin-left: auto;
        background-color: transparent;
        background-image: none;
    #wrapper #nav {
        background-color: transparent;
        background-image: none;
        height: 30px;
        width: 1000px;
        margin-top: 260px;
        clear: both;
        border-top-width: 1px;
        border-bottom-width: 1px;
        border-top-style: solid;
        border-bottom-style: solid;
        border-top-color: #FFFFFF;
        border-bottom-color: #FFFFFF;

    hey there,
    thanks so much for the insight on the firefox issue. hopefully they fix that soon.
    as for the css, i do have a screenshot of what's happening. the background image seems to repeat after the navigation bar instead of keeping the transparent background. it's extremely odd and i've never seen it before. it can be seen in the attached photo.
    thanks again for your help,
    -e

  • Strange problem with Zen Style 300

    I got a Zen Style 300 for my birthday and it is given me some problems. I tried looking at this forum and on google, but so far haven't found anything like it. What happens is that during the sync process, some folders on my portable harddisk (which is where the music is located) get renamed into names with strange symbols and become unreadable. The strange thing is that it doesn't happen with all files and just as strange is that it does happen with files not related to the sync that are located in a completely different folder. You can imagine I got quite scared the first time, afraid of having lost my music collection, but on restart everything was fine again. Until I plugged in the ZEN again that is.
    My second problem is probably related to it. Part of the files transfered to the player don't show up when I try to listen to them with the player. When I check they have been copied to the player correctly, yet somehow they don't show up.
    I have Windows XP and tried syncing with the standard Creative software, MediaMonkey and iTunes but they all face the same problem. Although with the second problem it might happen that files copied one way don't show up, while the same files transfered with a different program do. All 3 cause the problem with my harddisk. I tried formatting the player and updating it. So anyone has any idea what might cause this?

    I have a similar problem. It recognized and paired with a Sony Ericsson MW600 Hi-Fi Bluetooth Stereo Headset once. I lost connection, could no longer connect, and tried to re-pair it. Now it recognizes the the headset's name (MW600), but when you try to pair with it stays on a "Please wait..." message. It will stay that way forever until I press the back (left) arrow. Then the message says "Remote Device not responding" and pairing fails. This MW600 headset pairs with other devices (cell phone, PC) just fine, though, so it's not malfunctioning.
    I suspect this might be a Bluetooth version compatibility issue? I say that because when I connect to a Jawbone Era (pretty new device, probably latest Bluetooth spec), everything goes fine.
    Also, if I clear all devices, then try to pair to just the Sony Ericsson MW600, I can get the M300 in a state where it hangs and will not respond to anything. I then have to press the reset button using a paperclip to start over.

  • Problem with layer sets opening

    Hi,
    I have a problem open layer sets. In my script I get layers index and then iterate throught this layers.
    Here is the script:
    function getAllLayersByIndex(){
           function getNumberLayers(){
           var ref = new ActionReference();
           ref.putProperty( charIDToTypeID("Prpr") , charIDToTypeID("NmbL") )
           ref.putEnumerated( charIDToTypeID("Dcmn"), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
           return executeActionGet(ref).getInteger(charIDToTypeID("NmbL"));
           function hasBackground() {
               var ref = new ActionReference();
               ref.putProperty( charIDToTypeID("Prpr"), charIDToTypeID( "Bckg" ));
               ref.putEnumerated(charIDToTypeID( "Lyr " ),charIDToTypeID( "Ordn" ),charIDToTypeID( "Back" ))//bottom Layer/background
               var desc =  executeActionGet(ref);
               var res = desc.getBoolean(charIDToTypeID( "Bckg" ));
               return res  
           function getLayerType(idx,prop) {      
               var ref = new ActionReference();
               ref.putIndex(charIDToTypeID( "Lyr " ), idx);
               var desc =  executeActionGet(ref);
               var type = desc.getEnumerationValue(prop);
               var res = typeIDToStringID(type);
               return res  
           function getLayerVisibilityByIndex( idx ) {
               var ref = new ActionReference();
               ref.putProperty( charIDToTypeID("Prpr") , charIDToTypeID( "Vsbl" ));
               ref.putIndex( charIDToTypeID( "Lyr " ), idx );
               return executeActionGet(ref).getBoolean(charIDToTypeID( "Vsbl" ));;
           var cnt = getNumberLayers()+1;
           var res = new Array();
           if(hasBackground()){
        var i = 0;
              }else{
        var i = 1;
           var prop =  stringIDToTypeID("layerSection");
           for(i;i<cnt;i++){
              var temp = getLayerType(i,prop);
              if(temp != "layerSectionEnds") res.push(i);
           return res;
           function getLayerVisibilityByIndex( idx ) {
               var ref = new ActionReference();
               ref.putProperty( charIDToTypeID("Prpr") , charIDToTypeID( "Vsbl" ));
               ref.putIndex( charIDToTypeID( "Lyr " ), idx );
               return executeActionGet(ref).getBoolean(charIDToTypeID( "Vsbl" ));
    function makeActiveByIndex( idx, visible ){
        var desc = new ActionDescriptor();
          var ref = new ActionReference();
          ref.putIndex(charIDToTypeID( "Lyr " ), idx)
          desc.putReference( charIDToTypeID( "null" ), ref );     
          desc.putBoolean( charIDToTypeID( "MkVs" ), visible );
       executeAction( charIDToTypeID( "slct" ), desc, DialogModes.NO );
    var groups = getAllLayersByIndex();
        for(var i = groups.length-1; i >= 0 ; i--) {
          makeActiveByIndex( groups[i], true );
          ....working with layers....
    I think, my problem is in function makeActiveByIndex, because it doesn't make active a folder and doesn't open it.
    You can see it on this picture. Active layer set is "Skupina 1" and it is in layer set "hlavicka". But "hlavicka" is not open. WHY??
    Can you help me fix this problem??
    Thank you Domaneni

    Hi, for the past days I've worked on a script to toogle opening and closing layeSets, I've taken the code that TeddyBear posted here: http://ps-scripts.com/bb/viewtopic.php?p=14773 and adjusted it a little bit, and that's what I came up with, I hope it will help you:
    <javascriptresource>
      <name>BCM> ToogleOpen_CloseGroup...</name>
      <category>BCM</category>
    </javascriptresource>
    //For code readability
    // http://ps-scripts.com/bb/viewtopic.php?f=9&t=3235
    function getActiveLayerIndex() {
        var ref = new ActionReference();
        ref.putProperty( charIDToTypeID("Prpr") , charIDToTypeID( "ItmI" ));
        ref.putEnumerated( charIDToTypeID("Lyr "), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
        return executeActionGet(ref).getInteger(charIDToTypeID( "ItmI" ));
    function cTID(s){return charIDToTypeID(s)}
    function sTID(s){return stringIDToTypeID(s)}
    // =============================
    // The main function
    function closeGroup(layerSet) {
       var m_Name = layerSet.name;
       var m_Opacity = layerSet.opacity;
       var m_BlendMode = layerSet.blendMode;
       var m_LinkedLayers = layerSet.linkedLayers;
      var currINDEX = getActiveLayerIndex();
       var m_bHasMask = hasLayerMask();
       if(m_bHasMask) loadSelectionOfMask();
       if(layerSet.layers.length <= 1) {
          addTempLayerSetIn(currSetIDX-1);
          makeActiveByIndex(currSetIDX+2, false);
          ungroup();
          groupSelected(m_Name);
          deleteTempLayerSetbyIdx(currSetIDX+1);
       } else {
           makeActiveByIndex(currSetIDX, false);
          ungroup();
          groupSelected(m_Name);
       var m_Closed = activeDocument.activeLayer;
       m_Closed.opacity = m_Opacity;
       m_Closed.blendMode = m_BlendMode;
       for(x in m_LinkedLayers) {
          if(m_LinkedLayers[x].typename == "LayerSet")
             activeDocument.activeLayer.link(m_LinkedLayers[x]);
       if(m_bHasMask) maskFromSelection();
       return m_Closed;
    // =============================
    // Below are all necessary subroutines for the main function to work
    function ungroup() {
       var m_Dsc01 = new ActionDescriptor();
       var m_Ref01 = new ActionReference();
       m_Ref01.putEnumerated( cTID( "Lyr " ), cTID( "Ordn" ), cTID( "Trgt" ) );
       m_Dsc01.putReference( cTID( "null" ), m_Ref01 );
       try {
          executeAction( sTID( "ungroupLayersEvent" ), m_Dsc01, DialogModes.NO );
       } catch(e) {}
    function addLayer() {
       var m_ActiveLayer          =    activeDocument.activeLayer;
       var m_NewLayer             =    activeDocument.layerSets.add();
       m_NewLayer.move(m_ActiveLayer, ElementPlacement.PLACEBEFORE);
       return m_NewLayer;
    function hasLayerMask() {
       var m_Ref01 = new ActionReference();
       m_Ref01.putEnumerated( sTID( "layer" ), cTID( "Ordn" ), cTID( "Trgt" ));
       var m_Dsc01= executeActionGet( m_Ref01 );
       return m_Dsc01.hasKey(cTID('Usrs'));
    function activateLayerMask() {
       var m_Dsc01 = new ActionDescriptor();
       var m_Ref01 = new ActionReference();
       m_Ref01.putEnumerated( cTID( "Chnl" ), cTID( "Chnl" ), cTID( "Msk " ) );
       m_Dsc01.putReference( cTID( "null" ), m_Ref01 );
       try {
          executeAction( cTID( "slct" ), m_Dsc01, DialogModes.NO );
       } catch(e) {
          var m_TmpAlpha = new TemporaryAlpha();
          maskFromSelection();
          activateLayerMask();
          m_TmpAlpha.consume();
    function deleteMask(makeSelection) {
       if(makeSelection) {
          loadSelectionOfMask();
       var m_Dsc01 = new ActionDescriptor();
       var m_Ref01 = new ActionReference();
       m_Ref01.putEnumerated( cTID( "Chnl" ), cTID( "Ordn" ), cTID( "Trgt" ) );
       m_Dsc01.putReference( cTID( "null" ), m_Ref01 );
       try {
          executeAction( cTID( "Dlt " ), m_Dsc01, DialogModes.NO );
       } catch(e) {}
    function selectLayerMask() {
       var m_Dsc01 = new ActionDescriptor();
       var m_Ref01 = new ActionReference();
       m_Ref01.putEnumerated(cTID("Chnl"), cTID("Chnl"), cTID("Msk "));
       m_Dsc01.putReference(cTID("null"), m_Ref01);
       m_Dsc01.putBoolean(cTID("MkVs"), false );
       try {
          executeAction(cTID("slct"), m_Dsc01, DialogModes.NO );
       } catch(e) {}
    function loadSelectionOfMask() {
       selectLayerMask();
       var m_Dsc01 = new ActionDescriptor();
       var m_Ref01 = new ActionReference();
       m_Ref01.putProperty( cTID( "Chnl" ), cTID( "fsel" ) );
       m_Dsc01.putReference( cTID( "null" ), m_Ref01 );
       var m_Ref02 = new ActionReference();
       m_Ref02.putEnumerated( cTID( "Chnl" ), cTID( "Ordn" ), cTID( "Trgt" ) );
       m_Dsc01.putReference( cTID( "T   " ), m_Ref02 );
       try {
          executeAction( cTID( "setd" ), m_Dsc01, DialogModes.NO );
       } catch(e) {}
    function maskFromSelection() {
       if(!hasLayerMask()) {
          var m_Dsc01 = new ActionDescriptor();
          m_Dsc01.putClass( cTID( "Nw  " ), cTID( "Chnl" ) );
          var m_Ref01 = new ActionReference();
          m_Ref01.putEnumerated( cTID( "Chnl" ), cTID( "Chnl" ), cTID( "Msk " ) );
          m_Dsc01.putReference( cTID( "At  " ), m_Ref01 );
          m_Dsc01.putEnumerated( cTID( "Usng" ), cTID( "UsrM" ), cTID( "RvlS" ) );
          try {
             executeAction( cTID( "Mk  " ), m_Dsc01, DialogModes.NO );
          } catch(e) {
             activeDocument.selection.selectAll();
             maskFromSelection();
       } else {
          if(confirm("Delete existing mask?", true, "Warning")) {
             activateLayerMask();
             deleteMask();
    function groupSelected(name) {
       var m_Dsc01 = new ActionDescriptor();
       var m_Ref01 = new ActionReference();
       m_Ref01.putClass( sTID( "layerSection" ) );
       m_Dsc01.putReference(  cTID( "null" ), m_Ref01 );
       var m_Ref02 = new ActionReference();
       m_Ref02.putEnumerated( cTID( "Lyr " ), cTID( "Ordn" ), cTID( "Trgt" ) );
       m_Dsc01.putReference( cTID( "From" ), m_Ref02 );
       var m_Dsc02 = new ActionDescriptor();
       m_Dsc02.putString( cTID( "Nm  " ), name);
       m_Dsc01.putObject( cTID( "Usng" ), sTID( "layerSection" ), m_Dsc02 );
       executeAction( cTID( "Mk  " ), m_Dsc01, DialogModes.NO );
       return activeDocument.activeLayer;
    function addToSelection(layerName) {
       var m_Dsc01 = new ActionDescriptor();
       var m_Ref01 = new ActionReference();
       m_Ref01.putName( cTID( "Lyr " ), layerName );
       m_Dsc01.putReference( cTID( "null" ), m_Ref01 );
       m_Dsc01.putEnumerated( sTID( "selectionModifier" ), sTID( "selectionModifierType" ), sTID( "addToSelection" ) );
       m_Dsc01.putBoolean( cTID( "MkVs" ), false );
       try {
          executeAction( cTID( "slct" ), m_Dsc01, DialogModes.NO );
       } catch(e) {}
    function TemporaryAlpha() {
       activeDocument.selection.store((this.alpha = activeDocument.channels.add()));
       activeDocument.selection.deselect();
       this.consume = function() {
          activeDocument.selection.load(this.alpha);
          this.alpha.remove();
    function makeActiveByIndex( idx, visible ){
         if( idx.constructor != Array ) idx = [ idx ];
         for( var i = 0; i < idx.length; i++ ){
              var desc = new ActionDescriptor();
              var ref = new ActionReference();
              ref.putIndex(charIDToTypeID( 'Lyr ' ), idx[i])
              desc.putReference( charIDToTypeID( 'null' ), ref );
              if( i > 0 ) {
                   var idselectionModifier = stringIDToTypeID( 'selectionModifier' );
                   var idselectionModifierType = stringIDToTypeID( 'selectionModifierType' );
                   var idaddToSelection = stringIDToTypeID( 'addToSelection' );
                   desc.putEnumerated( idselectionModifier, idselectionModifierType, idaddToSelection );
              desc.putBoolean( charIDToTypeID( 'MkVs' ), visible );
              executeAction( charIDToTypeID( 'slct' ), desc, DialogModes.NO );
    function deleteActiveLayer(){
       // =======================================================
       var idDlt = charIDToTypeID( "Dlt " );
           var desc752 = new ActionDescriptor();
           var idnull = charIDToTypeID( "null" );
               var ref529 = new ActionReference();
               var idLyr = charIDToTypeID( "Lyr " );
               var idOrdn = charIDToTypeID( "Ordn" );
               var idTrgt = charIDToTypeID( "Trgt" );
               ref529.putEnumerated( idLyr, idOrdn, idTrgt );
           desc752.putReference( idnull, ref529 );
       executeAction( idDlt, desc752, DialogModes.NO );
    function isLayerSet( idx ) {
         var propName = stringIDToTypeID( 'layerSection' );
         var ref = new ActionReference();
         ref.putProperty( charIDToTypeID( "Prpr" ) , propName);
         ref.putIndex( charIDToTypeID ( "Lyr " ), idx );
         var desc =  executeActionGet( ref );
         var type = desc.getEnumerationValue( propName );
         var res = typeIDToStringID( type );
         // alert(res);
         return res == 'layerSectionStart' ? true:false;
    function openGroup1(theGroup) {
       currSetIDX= getActiveLayerIndex();
       if(isLayerSet( currSetIDX ))
        getNamesPlusIDsOfLayerSet();
      makeActiveByIndex(currSetIDX, false);
    function getNamesPlusIDsOfLayerSet(){
       var ref = new ActionReference();
       ref.putEnumerated( charIDToTypeID('Lyr '), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
       var count = executeActionGet(ref).getInteger(charIDToTypeID('Cnt '));
      var parId = executeActionGet(ref).getInteger(stringIDToTypeID( 'layerID' ));
       var Names=[];
       var x = 0;
       var y = 0;
       var r = 0;
       currINDEX = getActiveLayerIndex();
        var i = currINDEX;
       for(i; i > 0 ; i--){
            ref = new ActionReference();
            ref.putIndex( charIDToTypeID( 'Lyr ' ), i );
            var desc = executeActionGet(ref);
            var layerName = desc.getString(charIDToTypeID( 'Nm  ' ));
            var Id = desc.getInteger(stringIDToTypeID( 'layerID' ));
            var ls = desc.getEnumerationValue(stringIDToTypeID("layerSection"));
            ls = typeIDToStringID(ls);
            // alert(layerName+": _ :"+ls);
            if(ls == "layerSectionStart"){x++};
            if(layerName.match(/^<\/Layer group/) )
              y ++;
              r = x - y;
              if(r == 0 && ls == "layerSectionEnd"){break};
              continue
            if(ls == "layerSectionContent"){makeActiveByIndex(i,false);break};
            var layerType = typeIDToStringID(desc.getEnumerationValue( stringIDToTypeID( 'layerSection' )));
            var isLayerSet =( layerType == 'layerSectionContent') ? false:true;
    Names.push([[Id],[layerName],[isLayerSet]]);
    return Names;
    function getLayersNb()//function to find out if the number of layers in the document
        var ref = new ActionReference();
        ref.putProperty( charIDToTypeID( 'Prpr' ), stringIDToTypeID('numberOfLayers') );
        ref.putEnumerated( charIDToTypeID( "Dcmn" ), charIDToTypeID( "Ordn" ), charIDToTypeID( "Trgt" ) );
        var desc = executeActionGet(ref);
        var numberOfLayers = desc.getInteger(stringIDToTypeID('numberOfLayers'));
        return numberOfLayers;
    function toogleOpenCloseSet(){
      myALayerIDX = getActiveLayerIndex();
      myGroupP = app.activeDocument.activeLayer;
      if(!isLayerSet(myALayerIDX)){
          myGroupP = app.activeDocument.activeLayer.parent;
          if(myGroupP.typename != "Document"){
            if(isSetOpened1(myGroupP)){closeGroup(myGroupP)}else{openGroup1(myGroupP)};
      }else{
        if(isSetOpened1(myGroupP)){closeGroup(myGroupP)}else{openGroup1(myGroupP)};
    function getFristLayerSetChildVisible(){
      xx = false;
       var ref = new ActionReference();
       ref.putEnumerated( charIDToTypeID('Lyr '), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
       var count = executeActionGet(ref).getInteger(charIDToTypeID('Cnt '));
      var parId = executeActionGet(ref).getInteger(stringIDToTypeID( 'layerID' ));
       var Names=[];
        var x = 0;
        var y = 0;
        var r = 0;
       currINDEX = getActiveLayerIndex();
        var i = currINDEX;
       for(i; i > 0 ; i--){
            ref = new ActionReference();
            ref.putIndex( charIDToTypeID( 'Lyr ' ), i );
            var desc = executeActionGet(ref);
            var layerName = desc.getString(charIDToTypeID( 'Nm  ' ));
            var Id = desc.getInteger(stringIDToTypeID( 'layerID' ));
            var ls = desc.getEnumerationValue(stringIDToTypeID("layerSection"));
            ls = typeIDToStringID(ls);
            var vis = desc.getInteger(stringIDToTypeID( 'visible' ));
            // alert(layerName+": _ :"+vis);
    /*        if(desc.hasKey(stringIDToTypeID("visible")))
              alert(desc.getType(stringIDToTypeID("visible")));
            if(ls == "layerSectionStart"){x++};
            if(vis == 1 && Id!=parId && r!=0){
              var theOBj = {id:Id, lname:layerName, idx:i};
              xx =true;
              Names.push(theOBj);
              break;
            if(layerName.match(/^<\/Layer group/) )
              y ++;
              r = x - y;
              if(r == 0 && ls == "layerSectionEnd"){break};
              continue
        return Names;
    function getLastChildIdx(){
      xx = false;
       var ref = new ActionReference();
       ref.putEnumerated( charIDToTypeID('Lyr '), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
       var count = executeActionGet(ref).getInteger(charIDToTypeID('Cnt '));
      var parId = executeActionGet(ref).getInteger(stringIDToTypeID( 'layerID' ));
       currINDEX = getActiveLayerIndex();
        var i = currINDEX;
        var x = 0;
        var y = 0;
        var r = 0;
        var lastChIdx = 0;
       for(i; i > 0 ; i--){
            ref = new ActionReference();
            ref.putIndex( charIDToTypeID( 'Lyr ' ), i );
            var desc = executeActionGet(ref);
            var layerName = desc.getString(charIDToTypeID( 'Nm  ' ));
            var Id = desc.getInteger(stringIDToTypeID( 'layerID' ));
            var ls = desc.getEnumerationValue(stringIDToTypeID("layerSection"));
            ls = typeIDToStringID(ls);
            var vis = desc.getInteger(stringIDToTypeID( 'visible' ));
            if(ls == "layerSectionStart"){x++};
            if(layerName.match(/^<\/Layer group/) )
              y ++;
              r = x - y;
              if(r == 0 && ls == "layerSectionEnd")
                lastChIdx = i;
                break;
            // alert(x+" _ "+y+" _ "+r+" _ "+layerName);
        return lastChIdx;
    function getNbOfChilds(){
      xx = false;
       var ref = new ActionReference();
       ref.putEnumerated( charIDToTypeID('Lyr '), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
       var count = executeActionGet(ref).getInteger(charIDToTypeID('Cnt '));
      var parId = executeActionGet(ref).getInteger(stringIDToTypeID( 'layerID' ));
       currINDEX = getActiveLayerIndex();
        var i = currINDEX;
        var nb = 0;
        var x = 0;
        var y = 0;
        var r = 0;
       for(i; i > 0 ; i--){
            ref = new ActionReference();
            ref.putIndex( charIDToTypeID( 'Lyr ' ), i );
            var desc = executeActionGet(ref);
            var layerName = desc.getString(charIDToTypeID( 'Nm  ' ));
            var Id = desc.getInteger(stringIDToTypeID( 'layerID' ));
            var ls = desc.getEnumerationValue(stringIDToTypeID("layerSection"));
            ls = typeIDToStringID(ls);
            var vis = desc.getInteger(stringIDToTypeID( 'visible' ));
            if(ls == "layerSectionStart"){x++};
            if(layerName.match(/^<\/Layer group/) )
              y ++;
              r = x - y;
              if(r == 0 && ls == "layerSectionEnd")
                break
              continue
            nb++;
        return nb;
    function isSetOpened1( group ){
      app.activeDocument.activeLayer = group;
      xx = true;
      currSetIDX = getActiveLayerIndex();
      addTempLayerSetIn(currSetIDX-1);
      var fIdx = getActiveLayerIndex();
      makeActiveByIndex(currSetIDX+2, false);
      if(fIdx == getActiveLayerIndex())
        xx = false;
      deleteTempLayerSetbyIdx(currSetIDX+1);
      return xx;
    function addTempLayerSetIn(idxx){
        // =======================================================
        var idMk = charIDToTypeID( "Mk  " );
            var desc58 = new ActionDescriptor();
            var idnull = charIDToTypeID( "null" );
                var ref63 = new ActionReference();
                var idlayerSection = stringIDToTypeID( "layerSection" );
                ref63.putClass( idlayerSection );
            desc58.putReference( idnull, ref63 );
        executeAction( idMk, desc58, DialogModes.NO );
        // =======================================================rename
        var idsetd = charIDToTypeID( "setd" );
            var desc202 = new ActionDescriptor();
            var idnull = charIDToTypeID( "null" );
                var ref209 = new ActionReference();
                var idLyr = charIDToTypeID( "Lyr " );
                var idOrdn = charIDToTypeID( "Ordn" );
                var idTrgt = charIDToTypeID( "Trgt" );
                ref209.putEnumerated( idLyr, idOrdn, idTrgt );
            desc202.putReference( idnull, ref209 );
            var idT = charIDToTypeID( "T   " );
                var desc203 = new ActionDescriptor();
                var idNm = charIDToTypeID( "Nm  " );
                desc203.putString( idNm, "mb-dummy tempTestLayerSetOpen_Closed" );
            var idLyr = charIDToTypeID( "Lyr " );
            desc202.putObject( idT, idLyr, desc203 );
        executeAction( idsetd, desc202, DialogModes.NO );
        // =======================================================move
        var idmove = charIDToTypeID( "move" );
            var desc59 = new ActionDescriptor();
            var idnull = charIDToTypeID( "null" );
                var ref64 = new ActionReference();
                var idLyr = charIDToTypeID( "Lyr " );
                var idOrdn = charIDToTypeID( "Ordn" );
                var idTrgt = charIDToTypeID( "Trgt" );
                ref64.putEnumerated( idLyr, idOrdn, idTrgt );
            desc59.putReference( idnull, ref64 );
            var idT = charIDToTypeID( "T   " );
                var ref65 = new ActionReference();
                var idLyr = charIDToTypeID( "Lyr " );
                ref65.putIndex( idLyr, idxx );
            desc59.putReference( idT, ref65 );
            var idAdjs = charIDToTypeID( "Adjs" );
            desc59.putBoolean( idAdjs, false );
            var idVrsn = charIDToTypeID( "Vrsn" );
            desc59.putInteger( idVrsn, 5 );
        executeAction( idmove, desc59, DialogModes.NO );
    function deleteTempLayerSetbyIdx(idxx){
      // =======================================================
      var idDlt = charIDToTypeID( "Dlt " );
          var desc = new ActionDescriptor();
              var ref = new ActionReference();
              ref.putIndex(charIDToTypeID( 'Lyr ' ), idxx);
              // ref.putIdentifier(charIDToTypeID( 'Lyr ' ), idxx);
              desc.putReference( charIDToTypeID( 'null' ), ref );
      executeAction( idDlt, desc, DialogModes.NO );
    toogleOpenCloseSet();

  • Problem with ZEN Style M300

    When I trying to found bluetooth audio devices with ZEN Style M300,? the player get to freeze after a little bit time that is searching devices, and so I have to push the reset button for using again the player. :mansurprised:Anyone have the same problem?

    I have a similar problem. It recognized and paired with a Sony Ericsson MW600 Hi-Fi Bluetooth Stereo Headset once. I lost connection, could no longer connect, and tried to re-pair it. Now it recognizes the the headset's name (MW600), but when you try to pair with it stays on a "Please wait..." message. It will stay that way forever until I press the back (left) arrow. Then the message says "Remote Device not responding" and pairing fails. This MW600 headset pairs with other devices (cell phone, PC) just fine, though, so it's not malfunctioning.
    I suspect this might be a Bluetooth version compatibility issue? I say that because when I connect to a Jawbone Era (pretty new device, probably latest Bluetooth spec), everything goes fine.
    Also, if I clear all devices, then try to pair to just the Sony Ericsson MW600, I can get the M300 in a state where it hangs and will not respond to anything. I then have to press the reset button using a paperclip to start over.

  • Adobe Photoshop Elements Problem with update 9.0.3

    Problem with updates Elements 9.0.3
    Message title was edited by: Brett N

    Then follow the rest of the directions here:
    Error "Patch cannot be applied" | Photoshop Elements 9.0.3 update | Windows
    http://helpx.adobe.com/photoshop-elements/kb/error-patch-cannot-applied-photoshop.html

  • Problem with Next Style in Paragraph Style

    The "Next Style" function is not working for me anymore! As an example, when  I make a subhead with a first paragraph specified as the Next Style, the specification for that paragraph does not take effect upon specifying the subhead in the previous paragraph. Anybody else having this problem, or am I just losing it, which is entirely possible! Thanks. DL

    Hi,
    Are you expecting it as some kind of dinamic tool?
    As far as I know it works in at least 2 situations.
    1. If you are typing text with paraStyle, defined with filled "Next Style" field, and you press "Enter" ==> next para will be formatted (during typing) with "Next Style".
    2. If your textFrame is set by ObjectStyle, and its textFrame.paragraphStyle property is choosen, and "next Style" checkbox is checked
         ==> you can build a logic chain of paraStyles which will be automatically applied to textFrame contents, when placed into.
    thanks

  • Photoshop Actions: Problem with layer groups

    I have recorded several photoshop actions with multiple adjustment layers in layer groups. They work perfectly fine, as long as I do not run a second action with a layer group in it.
    As soon as I run a second action with layer groups, the layer order is completely random and messed up. How can I avoid this problem?

    Best practices: Usage
    Supply pertinent information for quicker answers
    The more information you supply about your situation, the better equipped other community members will be to answer. Consider including the following in your question:
    Adobe product and version number
    Operating system and version number
    The full text of any error message(s)
    What you were doing when the problem occurred
    Screenshots of the problem
    Computer hardware, such as CPU; GPU; amount of RAM; etc.

  • Problem with document style webservice

    Hi all,
    I have written a webservice with the style = document and the protocol = https. I am getting xml passed in correctly, but when I return xml from the webservice it has been encoded, i.e. "<" becomes "<". Additionally the xml header (<?xml versionn....)is not being returned.
    Any help would be most appreciated.
    Cheers
    Andy

    Hi Andy,
    Sounds like the XML is being converted into a string. Try the example
    using a org.w3c.dom.Element [1] or send the XML as an attachment [2].
    Regards,
    Bruce
    [1]
    http://webservice.bea.com/dom.zip
    [2]
    http://manojc.com/?sample5
    andy wrote:
    >
    Hi all,
    I have written a webservice with the style = document and the protocol = https. I am getting xml passed in correctly, but when I return xml from the webservice it has been encoded, i.e. "<" becomes "<". Additionally the xml header (<?xml versionn....)is not being returned.
    Any help would be most appreciated.
    Cheers
    Andy

  • Problems with Layer via Cut

    Application: Testing color combinations on an image of a building facade. Have tried to layer the image using the Polygonal Lasso Tool followed by Layer via Cut. Using Elements 6. PSE does not recognize my selections in the layers, most of the time, but will do it occaisionally. Have not been able to identify why it works some of the time. PSE seems to view some layers as blank, even though it displays the layered selection. I think this has to do with the use of Layer via Cut on adjacent selections and a selection border landing on or near the transparent background.
    I have two books on Elements, but no mention of this problem. Should I have used Layer via Copy? That would require more work because each selection that is moved to a layer, has to be eliminated in the Background Copy, in order to view new color schemes. Are there any work arounds for my unrecognized layers? Is there a better way to accomplish this re-coloring?
    I have reviewed Adobe's Knowledge Base and the Forum listings. Is there any way to do a selective search on the vast amount of Forum listings? I have scanned a large number but could have easily missed a TIP.
    Thanks!
    Don

    A sample image may not be as informative as the creation and extraction process. Please refer to the following steps and observations.
    Create a New Blank File. In the image select a rectangle and use the Paint Bucket to fill it with blue. Select a second rectangle or square in the image that is not in contact with the blue rectangle. Fill this with yellow paint. Make a copy of the background layer and work only with that. Activate the Polygonal Lasso. Select a portion of the blue rectangle (approx. half). Create a New Layer - Layer via Cut. Now should have three layers (Bknd, Bknd Copy less layer 1 and Layer 1). Enable only the Background Copy - disable the remaining layers. Try to use the Clone Stamp to change the yellow to blue. Error message is: Could not use Clone Stamp because target layer is hidden. If yes to Unhide, layer 1 is enabled but does not show as such until the stamp is used. Clone Stamp still cannot tranfer blue to yellow or vice versa. Disable Layer 1. Try to select some portion of the remaining blue rectangle with or without the selection border adjacent to the transparent area created by layer 1. Again, try to extract this using New Layer via Cut. Error message is: Could not make a new layer because No Pixels are Selected.
    Why cant I edit individual layers? Why cant I continue to extract portions of the blue rectangle?
    Don

  • Problems with a style sheet in InDesign CS3

    Hello everyone. I was wondering if anyone had any clue as to what the holy heck is happening to me.
    I am attempting to standardize our documents and use style sheets--hey, what a concept, right? So I'm going through a recently completed document and grabbing text and using that to create paragraph style sheets and character based style sheets.
    With one paragraph style sheet, the text is set to Janson Text Lt Stnd 55 Roman. However, when you apply the style sheet to a paragraph, the first word sets to a missing font. The rest of the paragraph is OK. It's only the first word. The paragraph style sheet does not have a "+" next to it. Highlighting the individual word and reapplying the paragraph style sheet does not change this.
    I went to the character style palette, thinking that there was an override. Nope, the character style was set to "None." I clicked on "Override" to apply the paragraph style, and again, the first word is stubbornly refusing to change.
    What gives? I am stumped!
    Best,
    Chryss

    Styles based on Basic paragraph are a nightmare because every document starts with a basic paragraph style, and there's no guarantee that it will be the same from document to document. When you import styles based on Basic Paragraph from some other document, different attributes will be overridden depending on what is the same, and what is different.
    The best way to deal with this is to either import the basic paragraph stle along with everything else, or put all the docs in one book file and pick one to use as the master, then synchronize the styles.
    It sounds like your first word problem could be an applied character style, though, or less likely, a nested style.
    Peter

Maybe you are looking for