Paths grouped inside the screw of traces transparent script

I am running into a problem of script with Illustrator CS6 - one that has been plaguing me for some time now: groups within the compound paths.

I have a script set in place to extract all the colors used in an Illustrator file, as well as information halftone, CMYK, etc..  It basically loops on each path in the file and leans on its fill (if any) color, the color (if any) race, gradient points (if any), etc.  If the element that is watching is a group, it just plunges in the group, which resembles all its components by calling the function even recursively.  Ditto for transparent traces.  He also put in place to manage most of raster images, whether it is a colorized bitmap or a CMYK image, etc..

When the script fails, however, is when it runs in a compound path that contains a group.  Now, normally, would not even possible in Illustrator.  If you try to create a group of two paths, then composed them, Illustrator simply removes the grouping.  However, there are some programs that use of some people who, when exporting to a file EPS from them, some of the paths end up being groups inside transparent traces.  Not to mention that all my people here to search these paths of training problem, can I do with the script?  Here is the script I currently have:

/**
 * The main part of the script that will run in Illustrator, getting the text of the object we're looking for.
 *
 * @param {File} theFile The file object that will be opened in Illustrator and checked.
 */
function findInfo(theFile)
{
          var document = app.open(theFile);
          var prodInfo = new Array;


          // This first section of the Illustrator script will just get the template name of the current product.
          var templateName = new String;


          var templateLayer = document.layers[2];
          $.writeln(templateLayer.name);
          for (var i = templateLayer.pageItems.length - 1; i >= 0; i--)
          {
                    var pName = templateLayer.pageItems[i].name;
                    if (pName != "")
                    {
                              templateName = templateLayer.pageItems[i].name;
                    }
          }


          $.writeln("templateName (inside Illustrator Script) is " + templateName);


          // This second section of the Illustrator script will gather all of the used colors and store them in an array.
          var colorsArray = [];
          var bHalftones = false;
          var bFourCP = false;
          var bReg = false;
          colorsInUse(document.layers[0]);


          function colorsInUse(currPageItem) {
                    for (var i = 0; i < currPageItem.pageItems.length; i++) {
                              // Stepping through each item on the layer.
                              var currentItem = currPageItem.pageItems[i];
                              // $.writeln("current item is " + currentItem.typename);
                              // $.writeln("Does it have a fill color? " + currentItem.fillColor);
                              if (currentItem.typename === "GroupItem" && !currentItem.guides) {
                                        // If it's a group, dig into the group and start the function over.
                                        colorsInUse(currentItem);
                              } else if (currentItem.typename == "TextFrame") {
                                        var charAttrib = currentItem.textRange.characterAttributes;
                                        getColors(charAttrib, colorsArray);
                              } else if (currentItem.typename === "RasterItem") {
                                        if (currentItem.imageColorSpace === ImageColorSpace.CMYK) {
                                                  $.writeln("Four-color process image in artwork.");
                                        } else if (currentItem.channels > 1 || currentItem.imageColorSpace === ImageColorSpace.GrayScale) {
                                                  if (currentItem.colorants[0] === "Gray") {
                                                            if (colorsArray.toString().indexOf("Black") === -1) {
                                                                      colorsArray.push("Black");
                                                            }
                                                            alert("When this script is finished, please verify that the Ink/PMS table has the correct colors.");
                                                  } else {
                                                            if (colorsArray.toString().indexOf(currentItem.colorants[0]) === -1) {
                                                                      colorsArray.push(currentItem.colorants[0]);
                                                            }
                                                  }
                                        } else {
                                                  alert("The raster image in the art file must be a 1-channel bitmap and, thus, script cannot determine its color.");
                                        }
                              } else if ((currentItem.fillColor || currentItem.strokeColor) && !currentItem.guides) {
                                        // If the current object has either a fill or a stroke, continue.
                                        if (currentItem.pathPoints.length > 2 || (currentItem.pathPoints == 2 && currentItem.stroked && currentItem..strokeWidth >= 0.1))
                                        {
                                                  // If the current object has 2 points and a good stroke, or more than two points, continue.
                                                  getColors(currentItem, colorsArray);
                                        }
                              } else if (currentItem.typename === "CompoundPathItem") {
                                        for (var c = 0; c < currentItem.pathItems.length; c++) {
                                                  if (currentItem.pathItems[c].pathPoints.length > 2 || (currentItem.pathItems[c].pathPoints == 2 && currentItem.pathItems[c].stroked && currentItem.pathItems[c].strokeWidth >= 0.1))
                                                  {
                                                            // If the current object has 2 points and a good stroke, or more than two points, continue.
                                                            getColors(currentItem.pathItems[c], colorsArray);
                                                  }
                                        }
                              }
                    }
                    return;
          }


          function getColors(currentItem, colorsArray)
          {
                    try
                    {
                              var fillColorType = currentItem.fillColor.typename;
                              var strokeColorType = currentItem.strokeColor.typename;
                              $.writeln("fillColorType is " + fillColorType);
                              switch (fillColorType) {
                                        case "CMYKColor":
                                                  if (currentItem.fillColor.cyan === 0 && currentItem.fillColor.magenta === 0 && currentItem.fillColor.yellow === 0) {
                                                            if (currentItem.fillColor.black > 0) {
                                                                      if (colorsArray.toString().indexOf("Black") === -1) {
                                                                                colorsArray.push("Black");
                                                                      }
                                                                      if (currentItem.fillColor.black < 100) {bHalftones = true;}
                                                            }
                                                  } else {
                                                            // $.writeln("Four color process!");
                                                            bFourCP = true;
                                                            bHalftones = true;
                                                  }
                                                  break;
                                        case "GrayColor":
                                                  if (currentItem.fillColor.gray > 0) {
                                                            if (colorsArray.toString().indexOf("Black") === -1) {
                                                                      colorsArray.push("Black");
                                                            }
                                                            if (currentItem.fillColor.gray < 100) {bHalftones = true;}
                                                  }
                                                  break;
                                        case "SpotColor":
                                                  if (colorsArray.toString().indexOf(currentItem.fillColor.spot.name) === -1 && currentItem.fillColor.spot.name.toLowerCase().indexOf("white") === -1) {
                                                            colorsArray.push(currentItem.fillColor.spot.name);
                                                  }
                                                  if (currentItem.fillColor.tint < 100) {bHalftones = true;}
                                                  break;
                                        case "GradientColor":
                                                  bHalftones = true;
                                                  for (var j = 0; j < currentItem.fillColor.gradient.gradientStops.length; j++) {
                                                            var gStop = currentItem.fillColor.gradient.gradientStops[j].color;
                                                            switch (gStop.typename) {
                                                                      case "GrayColor":
                                                                                if (colorsArray.toString().indexOf("Black") === -1) {
                                                                                          colorsArray.push("Black");
                                                                                }
                                                                                break;
                                                                      case "SpotColor":
                                                                                if (colorsArray.toString().indexOf(gStop.spot.name) === -1) {
                                                                                          colorsArray.push(gStop.spot.name);
                                                                                }
                                                                                break;
                                                                      case "CMYKColor":
                                                                                if (gStop.cyan === 0 && gStop.magenta === 0 && gStop.yellow === 0 && gStop.black > 0) {
                                                                                          if (colorsArray.toString().indexOf("Black") === -1) {
                                                                                                    colorsArray.push("Black");
                                                                                          }
                                                                                          if (gStop.black < 100) {bHalftones = true;}
                                                                                } else if (gStop.cyan === 0 && gStop.magenta === 0 && gStop.yellow === 0 && gStop.black === 0) {
                                                                                          break;
                                                                                } else {
                                                                                          // $.writeln("Four color process.");
                                                                                          bFourCP = true;
                                                                                          bHalftones = true;
                                                                                }
                                                                                break;
                                                                      default:
                                                                                // $.writeln("Four color process?");
                                                                                bFourCP = true;
                                                                                bHalftones = true;
                                                            }
                                                  }
                                                  break;
                                        case "NoColor":
                                                  break;
                                        default:
                                                  // $.writeln("The fill color on object number " + i + " is of type " + fillColorType);
                              }


                              switch (strokeColorType) {
                                        case "CMYKColor":
                                                  if (currentItem.strokeColor.cyan === 0 && currentItem.strokeColor.magenta === 0 && currentItem.strokeColor.yellow === 0) {
                                                            if (currentItem.strokeColor.black > 0) {
                                                                      if (colorsArray.toString().indexOf("Black") === -1) {
                                                                                colorsArray.push("Black");
                                                                      }
                                                                      if (currentItem.strokeColor.black < 100) {bHalftones = true;}
                                                            }
                                                  } else {
                                                            // $.writeln("Four color process!");
                                                            bFourCP = true;
                                                            bHalftones = true;
                                                  }
                                                  break;
                                        case "GrayColor":
                                                  if (currentItem.strokeColor.gray > 0) {
                                                            if (colorsArray.toString().indexOf("Black") === -1) {
                                                                      colorsArray.push("Black");
                                                            }
                                                            if (currentItem.strokeColor.gray < 100) {bHalftones = true;}
                                                  }
                                                  break;
                                        case "SpotColor":
                                                  if (colorsArray.toString().indexOf(currentItem.strokeColor.spot.name) === -1) {
                                                            colorsArray.push(currentItem.strokeColor.spot.name);
                                                  }
                                                  if (currentItem.strokeColor.tint < 100) {bHalftones = true;}
                                                  break;
                                        case "GradientColor":
                                                  bHalftones = true;
                                                  for (var j = 0; j < currentItem.strokeColor.gradient.gradientStops.length; j++) {
                                                            var gStop = currentItem.strokeColor.gradient.gradientStops[j].color;
                                                            switch (gStop.typename) {
                                                                      case "GrayColor":
                                                                                if (colorsArray.toString().indexOf("Black") === -1) {
                                                                                          colorsArray.push("Black");
                                                                                }
                                                                                break;
                                                                      case "SpotColor":
                                                                                if (colorsArray.toString().indexOf(gStop.spot.name) === -1) {
                                                                                          colorsArray.push(gStop.spot.name);
                                                                                }
                                                                                break;
                                                                      case "CMYKColor":
                                                                                if (gStop.cyan === 0 && gStop.magenta === 0 && gStop.yellow === 0 && gStop.black > 0) {
                                                                                          if (colorsArray.toString().indexOf("Black") === -1) {
                                                                                                    colorsArray.push("Black");
                                                                                          }
                                                                                          if (gStop.black < 100) {bHalftones = true;}
                                                                                } else if (gStop.cyan === 0 && gStop.magenta === 0 && gStop.yellow === 0 && gStop.black === 0) {
                                                                                          break;
                                                                                } else {
                                                                                          // $.writeln("Four color process.");
                                                                                          bFourCP = true;
                                                                                          bHalftones = true;
                                                                                }
                                                                                break;
                                                                      default:
                                                                                // $.writeln("Four color process?");
                                                                                bFourCP = true;
                                                                                bHalftones = true;
                                                            }
                                                  }
                                                  break;
                                        case "NoColor":
                                                  break;
                                        default:
                                                  // $.writeln("The stroke color on object number " + i + " is of type " + strokeColorType);
                              }
                    }
                    catch (e) {/* If an error was found with the fill color and/or stroke color, then just skip this particular path item. */};
                    return;
          }


          document.close(SaveOptions.DONOTSAVECHANGES);


          // Now we combine the gathered items into a single array and return it.
          if ((colorsArray.length > 1 && !/HI/.test(templateName.substring(0, 2))) || bFourCP) {bReg = true;}
          prodInfo.push(templateName, colorsArray, bHalftones, bFourCP, bReg);


          return prodInfo.toSource();
};

I know it's a bit messy right now, with lots of ' $.writeln purposes, of which some are even commented out because they caused debugging errors.  In any case, I would be very grateful for any help on this matter.

the only thing I can think of, is to go through all the elements to the Document level, instead of at the layer level, this way the script will see all paths

change this

colorsInUse(document.layers[0]);

for this

colorsInUse(document);

Tags: Illustrator

Similar Questions

  • Is it possible to define the name of the path and inside the MSI log file

    Is it possible to define the name of the path and inside the MSI log file, so that it should not be set from the command line.  This way just race the msi causes always a logfile in a specific path and the file name?

    Read the following article and see if it helps.  In my view, it is possible to use InstallShield, but I'm not sure.  It's just a little out of my League. http://www.flexerasoftware.com/webdocuments/PDF/msi_writing_to_the_log_file.pdf.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Compensate for the path - stroke inside the object

    Hey,.

    Is it possible to use the lag path to define the scope of an object? My journey always ends inside the object. I have attached a picture of what's going on.

    Thank you!

    What seems to be the case there is that you have your background to the same color as your race, so when move you the shape, all you are able to see is offset fill outside the original shape, making it appear that the race is offset on the inside.  Make sense?

    When you use the object-> path-> offset path, you create a copy of the desired shape.  When you use-> path-> offset path effect... you will just move the selected path.  Maybe what you are looking for.

  • Landing Page forms BREAK-APART, even when grouped inside the envelope.

    It has been my intention to keep my entire design as simple as possible Web site portfolio while structuring each landing page gallery a bit differently from the other.

    I am not at all interested to dazzle viewers with a background image of the film or the Parallax scrolling eye candy; No CSS only drop shadows and other - it is not so much about the site as it comes to the work that my presentation is to share with others.

    I am a newbie for Muse - ALTHOUGH I worked with an earlier version of Dreamweaver during the last decade-plus building websites that still works fine on the desktop screens. (SEE http://phoenixlightroomenterprise.com/ AND http://locationswest.com/) These sites seem to same scale relatively well on a phone with a minimum of pinch and zoom required... And just a quick note here: the "Arizona Land Company/REMOTE" site ('locationswest' link) that I designed in 2007/8 was well established before the call to the 'sensitive design' using this old Dreamweaver 2004 application.

    I knew that that many film producers and directors and Production managers were already working on small screen display 1440 x 900 "Macbook" - laptops type of day - -so I developed and built TWO VERSIONS of this Web site, one for laptops (practices to watch while travelling in a motorhome 'production') and the 'Big screen' version for managers who would most probably be sitting in front of a screen "Cinema Display" at them or in their offices.

    It is my reading comprehension as well online that I can scrape upward, looking at all the promo-vids individual for Muse by Adobe and others so excited by its potential for making designers lives more carefree and fulfilling of this Muse has been SPECIFICALLY developed to be creative ("Easy Breezy"), yet simple and intuitive.

    I guess, somehow, I'm just not see it.

    Here is an another short screencast illustrating problems, the challenges I seem unable to cross in Muse.

    It's more of a problem was seen with a widget (him and his team) Developer twisted almost from one day to the next and then uploaded for all users of Muse work with FREE ( WidgetsForMuse). Problem SOLVED by "Vex" and his colleagues; BUT THEN I started to experience problems that I kept, added a text field below the widget on the page I've been designing (SEE this discussion forum > Muse Breakpoint problems within Simple layout ).

    I just want to put my 'Imaging Services' project; produce all my landing pages and related content pages so get on with development on the meeting with new customers and creating new photo illustrations. And, you know? Begin to UNDERSTAND HOW Muse really works! So far I find 'rhyme' or 'reason'... *.

    I hope you guys can help me better understand what I'm doing wrong.

    I am VERY THANKFUL for your time to help me, help each of us struggling with an app that initially seemed like a good idea when I started, emigrated to work with the Dreamweaver more complex. mm

    Hi Michael,

    When I read your post, I started to think it was a way of including spam, as I'm not clear as to exactly what you're asking, (sorry if I'm the evil spam part).

    Looking at the 2 sites that you have accessed to, I see that you are still using tables for layout, which unfortunately does not work well when you generate sensitive page layouts. It is possible that moving to Muse, (similar problems exist when moving to reagents layouts in Dw) will force you to rethink the way the page layouts should work, a concept which causes most of the people who move from the simple adaptation layouts a lot of problems, which will be much more difficult for a person passing of tables layouts css layouts (in dry weight) or how Muse made layouts.

    When you do responsive layouts, (Muse & Dw), it is necessary to have an idea of how the different page layouts will look like, and what sizes of device that you want to use for the page layouts, as it is not simply a case of patterns which flow into each other, but over every provision being an individual design. The old resizing of the browser, as did it with Adaptive presentations is no longer considered a good idea, because it does not give a good impression of how the layout appears actually on the various formats, (smartphone, Tablet, desktop, tv).

    So for you help to better (and better understand the problems you are experiencing), it would be useful if you could give an idea of how you want to different page layouts actually watch and break down your questions to individual problems.

  • Cannot set HScrollBar &amp; quot; Scroll &amp; quot; variable inside the function in &amp; lt; MX:script &amp; gt;

    Why can I not pay the scrolling feature for a bar scrolling from a function. It can be hard coded and not dynamically set. This makes it difficult to make the scroll bars on the fly.

    I want to do the following:
    var myBar:HScrollBar = new HScrollBar();
    myBar.scroll = "myFunction (); « ;

    BUIT, it is said that myBar doesn't have a variable named scroll. What is the problem?

    Hi, Creo, 'scroll' is not a property of the ScrollBar class, this is an event. To do what you're trying to do, you add a listener of events, something like this:

    Import mx.events.ScrollEvent;
    var myBar:HScrollBar = new HScrollBar;
    myBar.addEventListener (ScrollEvent.SCROLL, myFunction);

    I hope this helps. -Bruce

  • Flex SkinnableContainer skin access group within the contentGroup

    I have skin class in which I defined a group within my contentGroup:

    < s:Group id = "contentGroup" left = "0" right = "0" top = low "0" = "0" minWidth = minHeight '475' = '0' >

    < s:layout >

    < s:HorizontalLayout paddingLeft = paddingRight '0' = '0' paddingTop = paddingBottom '0' = '0' gap = "2" / >

    < / s:layout >

    "< s:Group id ="group_nav_custom_comp_hgroup_prevnext"left ="0"right ="0"top = low"0"="0"minWidth = minHeight"100"="0">"

    < s:layout >

    < s:HorizontalLayout paddingLeft = paddingRight '0' = '0' paddingTop = paddingBottom '0' = '0' gap = "5" / >

    < / s:layout >

    < s:Button label = "Test button" / >

    < / s:Group >

    < / s:Group >

    Now, in my CustomComponent which extends the skin class above I'm trying to access the 'group_nav_custom_comp_hgroup_prevnext' (which is the child group inside the contentGroup) so I can add items at run time:

    SerializableAttribute public class GroupNavCustomContainer extends SkinnableContainer

    {

    private var m_group_prev_next:Group = null;

    private var m_bAdded_btns:Boolean = true;

    private var _prevbtn:UIComponent = null;

    public void GroupNavCustomContainer()

    {

    Super();

    setStyle ("skinClass", GroupNavCustomSkin);

    }

    //----------------------------------

    public function set prevBtn(ui_comp_prev:UIComponent):void

    {

    If (m_group_prev_next)

    {

    _prevbtn = ui_comp_prev;

    m_bAdded_btns = true;

    invalidateProperties();

    }

    }

    //-------------------------------------------------------------------------

    override the partAdded(partName:String,_instance:Object):void function

    {

    trace ("In partAdded");

    If (partName is "contentGroup")

    {

    var: group = instance as a group;

    var visualElem:IVisualElement = group.getElementAt (0);

    m_group_prev_next = visualElem as a group;

    }

    super.partAdded (partName, instance);

    }

    //------------------------------------------------------------------------

    override protected function commitProperties (): void

    {

    super.commitProperties ();

    If (m_bAdded_btns)

    {

    m_bAdded_btns = false;

    m_group_prev_next. AddElement (_prevbtn);

    }

    }

    }

    The result is my: group_nav_custom_comp_hgroup_prevnext is simply not appear at all, testimony to the fact that the present button in it at compile time is not visible. Someone knows how to do so that he can appear?    -thx in advance - Mike

    @ drkstr_1: you say I can't have a group within my contentGroup? If so, if so how can I have a group appear just next door? -what I have to add programmatically to the parent element - but it's not defeat the purpose of the skin?

    Yes, that's what I say. The contentGroup is a SkinPart is used as the container the host component adds all this is the element to. All children of this group existing in the skin is cleared by the host component. You must place your other group on top of the contentGroup, rather than in it.

  • Inside the tinted path selection rectangle

    How to make a rectangle selection inside the way? whenever I do this, it's just by selecting and dragging instead of create a selection rectangle.

    I'm a bit puzzed too, like Mike. An object within a fill is not Illiespeak. Do you mean a path or object on another object?

    Do you know how to work the selection tools? Black arrow to select entire objects or groups. White arrow to select the elements of the path. White arrow with Option/Alt to select paths together in groups or compounds.

    Have you tried to disable the preview (map mode, Cmd / Ctrl + Y)? It is sometimes easier to pick things like that.

  • How to make transparent cluster keeping only the elements inside the visible cluster?

    Hello

    Can anyone suggest me how to make transparent cluster keeping only the elements inside the cluster visible in the front panel.

    Thanks in advance,

    Vinciane

    As I said, use the space bar for what is paint. This works. Trust me.

    PS You cannot link to pictures stored on your hard drive. We don't see them. You must add them as attachments and then submit the post they get uploaded to the servers of NOR.

  • It is better to have the screws outside or inside a LAW degree for development?

    If the screws are changed regularly, regardless of whether or not they are in a LAW degree?

    Is there an advantage to be? (I LV 8.6.1) and use source control.

    Looking for the best work practices.

    Thank you very much

    Ronnie

    Hi Ronnie,.

    When the grouping for distribution LLBs screws are quite ok - but stay away from them in other cases.

    And LLBs are counterproductive, when CSC using...

  • Script to add a domain user to the local Administrators group raises the error "the network path is not found."

    I have a Windows Server 2008 R2 domain and a Windows XP Pro workstation that has been attached to the domain and then disconnected. I am trying to create a VBS script to add a domain user to the local Administrators group.

    I log on my computer as a local administrator and run the following script:

    Dim oNetwork: Set oNetwork = WScript.CreateObject ("WScript.Network")
    StrPC Dim: strPC = oNetwork.ComputerName
    Dim OGroup: Set oGroup = GetObject ("WinNT: / /" & strPC & "/ directors")
    Dim OUser: Set oUser = GetObject ("WinNT://domainname/username")
    oGroup.Add (oUser.ADsPath)

    This script returns the error "the network path is not found."

    However, I am able to go into control panel > user accounts > enter the user name and the domain name > click Next... > choose the administrators of the 'other' group and the user name will be added to the local Admin group.

    The same script runs without error if it is launched after logon on the workstation with a domain administrator account.

    How can I get my script runs without error, when you are logged into the workstation as a local administrator?

    Best regards, Andy

    The code that I used came from here. If the syntax of the Add method is passed to oUser.ADsPAth to "WinNT: / /" & domainname & "/" & username, the script works correctly.

    Therefore, the modified script:

    Dim oNetwork: Set oNetwork = WScript.CreateObject ("WScript.Network")
    StrPC Dim: strPC = oNetwork.ComputerName
    Dim OGroup: Set oGroup = GetObject ("WinNT: / /" & strPC & "/ directors")
    Dim strUser: strUser = "WinNT://domainname/username."
    oGroup.Add strUser

    Thanks to Qasim Zaidi to show the code of work here.

    Best regards, Andy

  • inside the host does not ping external host in transparent mode

    Hi all I need urgent help on this pls I have host on ip add 1.1.1.2/24 connected inside interface of the pix with ios 7.0 in transparent mode. and the external interface of the pix connected to a router IP 1.1.1.1/24.i enabled icmp inspection.i can see the router arp entry into the host and the host arp entry in the mac address router.both are well learned by the pix. no traffic flow form the host to the router. There is no access on the pix of pix.the list does not create an arp entry in the stange very pix. I tried to manuaaly add the entry:

    ARP in 1.1.1.2 0011.d80d.f6ac it gives an error <1.1.1.2>not allowed. network address I do not get it .my question is why the pix don't is not create entry arp. what could be the problem. could someone pls help me with this thanks pls.

    Assane

    Lol this is not as you mentioned. I'll explain the communication all in detail. I hope this helps.

    Assumptions:

    PIX configured to L2, with outside as 0 and inside as 100. insidehost on inside the network and external network configured outsidehost.

    scenario 1

    ==========

    If pix is not configured with the IP address, all IP packets are dropped and syslog Id 322004: no management IP address configured for transparent

    Firewall is saved. So lets see how communication works on L2

    outsidehost tries to communicate with insidehost. ARP request is from outsidehost and is sent through dissemination and it is received by PIX and sent to the inside network, without change.

    Return of InsideHost and the response is sent through to the outsidehost. When you see the arp on the outsidehost and the insidehost entries you will find the corresponding arp entries.

    PIX will forward arp request/reply.

    You can give the command "local host" and you won't see any entries created on the box.

    2nd scenario

    ==========

    An ip address is configured on pix and insidehost starts communication with the outsidehost. Communication is from top to bottom and will allow pix.

    No change in the behavior of the ARP. Exactly as mentioned in scenario 1.

    Given that the IP address is provided to the box, entered the local host is created and formed connection for traffic from insidehost to outsidehost.

    Connection between outsidehost and insidehost is denied because there is no access list to allow traffic from low to high.

    You can give the command "local host" and you will see the entrance to insidehost, outsidehost.

    3rd scenario

    =============

    An ip address is configured, created in order to allow the circulation of outsidehost insidehost and applied to the external interface of access list access list.

    No change in the behavior of the ARP. Exactly as mentioned in scenario 1.

    Given that the IP address is provided to the box, entered the local host is created and formed connection for traffic from outsidehost to insidehost.

    Access list being present to allow the traffic, the connection is allowed and entry is created in the box.

    Hope that the foregoing erases the entire communication L2 and the communication of different security levels.

    I hope this helps.

  • Put virtual machines inside the VMkernel port group

    Hello

    Network for administrators of VMware SIAS layout:

    "You can not put VMs within that group of port because it is made especially for a VMkernel port."

    However, I use ESXi 5.5 and is able to put normal interface of VM inside the vmk port group. (I only created 1 vmk port group so all virtual machines in the same group with the vmkernel interface)

    May I know if this is a new feature, or something is wrong?

    Thank you!

    This may be possible with distributed switches not with standard switches.

  • Possible to change the contents of text inside the group frame?

    Hello world

    I'm newbibe to Indesign forums.

    I had grouped image placed on the rectangle frame and the text. now I need change content text frame using indesign Javascript

    Possible to change the content of text inside the group frame... ?

    -yajiv

    Hello

    Try the following lines.

    main();
    
    function main() {
    
        if  (app.documents.length != 0  &&  app.selection.length == 2 ) {
            if( app.selection[0].constructor.name == "Group" && app.selection[1].constructor.name == "Group" ) {
                var sel1 = app.selection[0];
                var graphics1 = sel1.allGraphics[0].itemLink;
                var text1 = sel1.textFrames[0].contents;
    
                var sel2 = app.selection[1];
                var graphics2 = sel2.allGraphics[0].itemLink;
                var text2 = sel2.textFrames[0].contents;
    
                sel1.textFrames[0].contents = text2;
                sel2.textFrames[0].contents = text1;
    
                var fP1 = File( graphics1.filePath );
                var fP2 = File( graphics2.filePath );
    
                graphics1.relink( fP2 );
                graphics2.relink( fP1 );
            } // if
            else {
                alert ( "Select 2 groups!" );
            } // else
        } // if
        else {
            alert ( "Wrong selection!" );
        } // else
    } // main
    

    Although it might work for you, it is probably not advisable, because if you apply other content on the chassis, you modify the content, but not the formatting. Even with the restoration of the links of the images.

    So a better solution may be, separate frames, move them and group them back.

  • ASA 5515 - Anyconnect - inside the subnet connection problem

    Hi all

    I have a problem with the connection to the Interior/subnet using Anyconnect SSL VPN.

    ASA worm. 5515

    Please find below of configuration:

    User access audit

    ASA1 # show running-config
    : Saved
    :
    ASA 9.1 Version 2
    !
    hostname ASA1
    activate 8Ry2YjIyt7RRXU24 encrypted password
    volatile xlate deny tcp any4 any4
    volatile xlate deny tcp any4 any6
    volatile xlate deny tcp any6 any4
    volatile xlate deny tcp any6 any6
    volatile xlate deny udp any4 any4 eq field
    volatile xlate deny udp any4 any6 eq field
    volatile xlate deny udp any6 any4 eq field
    volatile xlate deny udp any6 any6 eq field
    2KFQnbNIdI.2KYOU encrypted passwd
    names of
    mask of local pool swimming POOLS-for-AnyConnect 10.0.70.1 - 10.0.70.50 IP 255.255.255.0
    !
    interface GigabitEthernet0/0
    nameif outside
    security-level 0
    address IP A.A.A.A 255.255.255.240
    !
    interface GigabitEthernet0/1
    nameif inside
    security-level 100
    192.168.64.1 IP address 255.255.255.0
    !
    interface GigabitEthernet0/2
    nameif dmz
    security-level 20
    address IP B.B.B.B 255.255.255.0
    !
    interface GigabitEthernet0/3
    Shutdown
    No nameif
    no level of security
    no ip address
    !
    interface GigabitEthernet0/4
    Shutdown
    No nameif
    no level of security
    no ip address
    !
    interface GigabitEthernet0/5
    Shutdown
    No nameif
    no level of security
    no ip address
    !
    interface Management0/0
    management only
    Shutdown
    No nameif
    no level of security
    no ip address
    !
    passive FTP mode
    network of the OBJ_GENERIC_ALL object
    subnet 0.0.0.0 0.0.0.0
    network outside_to_inside_FR-Appsrv01 object
    Home 192.168.64.232
    network outside_to_dmz_fr-websvr-uat object
    Home 10.20.20.14
    network inside_to_dmz object
    192.168.64.0 subnet 255.255.255.0
    gtc-tomcat network object
    Home 192.168.64.228
    network of the USA-Appsrv01-UAT object
    Home 192.168.64.223
    network of the USA-Websvr-UAT object
    Home 10.20.20.13
    network vpn_to_inside object
    10.0.70.0 subnet 255.255.255.0
    extended access list acl_out permit everything all unreachable icmp
    acl_out list extended access permit icmp any any echo response
    acl_out list extended access permit icmp any one time exceed
    acl_out list extended access permit tcp any object outside_to_inside_FR-Appsrv01 eq 3389
    acl_out list extended access permit tcp any object outside_to_inside_FR-Appsrv01 eq 28080
    acl_out list extended access permit tcp any object outside_to_inside_FR-Appsrv01 eq 9876
    acl_out list extended access permit udp any object outside_to_inside_FR-Appsrv01 eq 1720
    acl_out list extended access permit tcp any object outside_to_dmz_fr-websvr-uat eq www
    acl_out list extended access permit tcp any object outside_to_dmz_fr-websvr-uat eq https
    acl_out list extended access permit tcp any object outside_to_dmz_fr-websvr-uat eq 3389
    acl_out list extended access permit tcp any object USA-Appsrv01-UAT eq 9876
    acl_out list extended access permit udp any eq USA-Appsrv01-UAT object 1720
    acl_out list extended access permit tcp any object USA-Websvr-UAT eq www
    acl_out list extended access permit tcp any USA-Websvr-UAT eq https object
    acl_out list extended access permit tcp any object USA-Websvr-UAT eq 3389
    acl_out list extended access permit tcp any object USA-Appsrv01-UAT eq 3389
    acl_dmz list extended access permit icmp any any echo response
    acl_dmz of access allowed any ip an extended list
    acl_dmz list extended access permitted tcp object object to outside_to_dmz_fr-websvr-uat gtc-tomcat eq 8080
    acl_dmz list extended access permitted tcp object object to outside_to_dmz_fr-websvr-uat gtc-tomcat eq 8081
    acl_dmz list extended access permitted tcp object object to outside_to_dmz_fr-websvr-uat gtc-tomcat eq 3389
    acl_dmz list extended access permitted tcp object USA-Websvr-UAT object USA-Appsrv01-UAT eq 8080
    acl_dmz list extended access permitted tcp object USA-Websvr-UAT object USA-Appsrv01-UAT eq 8081
    access extensive list ip 192.168.64.0 gtcvpn2 allow 255.255.255.0 10.0.70.0 255.255.255.0
    pager lines 24
    Outside 1500 MTU
    Within 1500 MTU
    MTU 1500 dmz
    no failover
    ICMP unreachable rate-limit 1 burst-size 1
    don't allow no asdm history
    ARP timeout 14400
    no permit-nonconnected arp
    NAT dynamic interface of OBJ_GENERIC_ALL source (indoor, outdoor)
    NAT (inside, outside) static source all all static destination vpn_to_inside vpn_to_inside
    !
    network outside_to_inside_FR-Appsrv01 object
    NAT static x.x.x.x (indoor, outdoor)
    network outside_to_dmz_fr-websvr-uat object
    NAT (dmz, outside) static x.x.x.x
    network of the USA-Appsrv01-UAT object
    NAT static x.x.x.x (indoor, outdoor)
    network of the USA-Websvr-UAT object
    NAT (dmz, outside) static x.x.x.x
    Access-group acl_out in interface outside
    Access-group acl_dmz in dmz interface
    Route outside 0.0.0.0 0.0.0.0 B.B.B.B 1
    Timeout xlate 03:00
    Pat-xlate timeout 0:00:30
    Timeout conn 01:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
    Sunrpc timeout 0:10:00 h323 0:05:00 h225 mgcp from 01:00 0:05:00 mgcp-pat 0:05:00
    Sip timeout 0:30:00 sip_media 0:02:00 prompt Protocol sip-0: 03:00 sip - disconnect 0:02:00
    Timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
    timeout tcp-proxy-reassembly 0:01:00
    Floating conn timeout 0:00:00
    dynamic-access-policy-registration DfltAccessPolicy
    identity of the user by default-domain LOCAL
    Enable http server
    http 192.168.64.204 255.255.255.255 inside
    No snmp server location
    No snmp Server contact
    Server enable SNMP traps snmp authentication linkup, linkdown warmstart of cold start
    Crypto ipsec pmtu aging infinite - the security association
    Crypto ca trustpoint ASDM_TrustPoint0
    registration auto
    name of the object CN = ASA1
    GTCVPN2 key pair
    Configure CRL
    trustpool crypto ca policy
    string encryption ca ASDM_TrustPoint0 certificates
    certificate of 19897d 54
    308201cf 30820138 a0030201 02020419 897d 864886f7 0d 010105 5430 0d06092a
    0500302c 3111300f 06035504 03130851 57455354 32343031 17301506 092a 8648
    09021608 51574553 54323430 31343132 30333034 30333237 301e170d 86f70d01
    5a170d32 34313133 30303430 3332375a 302 c 3111 55040313 08515745 300f0603
    53543234 30311730 1506092a 864886f7 010902 16085157 45535432 34303081 0d
    9f300d06 092 has 8648 86f70d01 01010500 03818d 00 30818902 818100a 2 5e873d21
    dfa7cc00 ee438d1d bc400dc5 220f2dc4 aa896be4 39843044 d0521010 88 has 24454
    b4b1f345 84ec0ad3 cac13d47 a71f367a 2e71f5fc 0a9bd55f 05d 75648 72bfb9e9
    c5379753 26ec523d f2cbc438 d234616f a71e4f4f 42f39dde e4b99020 cfcd00ad
    73162ab8 1af6b6f5 fa1b47c6 d261db8b 4a75b249 60556102 03010001 fa3fbe7c
    300 d 0609 2a 864886 f70d0101 8181007a 05050003 be791b64 a9f0df8f 982d162d
    b7c884c1 eb183711 05d676d7 2585486e 5cdd23b9 af774a8f 9623e91a b3d85f10
    af85c009 9590c0b3 401cec03 4dccf99a f1ee8c01 1e6f0f3a 6516579c 12d9cbab
    59fcead4 63baf64b 7adece49 7799f94c 1865ce1d 2c0f3ced e65fefdc a784dc50
    350e8ba2 998f3820 e6370ae5 7e6c543b 6c1ced
    quit smoking
    Telnet 192.168.64.200 255.255.255.255 inside
    Telnet 192.168.64.169 255.255.255.255 inside
    Telnet 192.168.64.190 255.255.255.255 inside
    Telnet 192.168.64.199 255.255.255.255 inside
    Telnet timeout 5
    SSH timeout 5
    SSH group dh-Group1-sha1 key exchange
    Console timeout 0
    a basic threat threat detection
    Statistics-list of access threat detection
    no statistical threat detection tcp-interception
    SSL-trust ASDM_TrustPoint0 inside point
    SSL-trust outside ASDM_TrustPoint0 point
    WebVPN
    allow outside
    AnyConnect image disk0:/anyconnect-win-2.5.2014-k9.pkg 1
    AnyConnect enable
    tunnel-group-list activate
    internal GroupPolicy_GTCVPN2 group strategy
    attributes of Group Policy GroupPolicy_GTCVPN2
    WINS server no
    value of 192.168.64.202 DNS server 192.168.64.201
    client ssl-VPN-tunnel-Protocol
    Split-tunnel-policy tunnelspecified
    value of Split-tunnel-network-list gtcvpn2
    field default value mondomaine.fr
    username cHoYQ5ZzE4HJyyq password of duncan / encrypted
    username Aosl50Zig4zLZm4 admin password / encrypted
    password encrypted sebol U7rG3kt653p8ctAz user name
    type tunnel-group GTCVPN2 remote access
    attributes global-tunnel-group GTCVPN2
    Swimming POOLS-for-AnyConnect address pool
    Group Policy - by default-GroupPolicy_GTCVPN2
    tunnel-group GTCVPN2 webvpn-attributes
    enable GTCVPN2 group-alias
    !
    class-map inspection_default
    match default-inspection-traffic
    !
    !
    type of policy-card inspect dns preset_dns_map
    parameters
    maximum message length automatic of customer
    message-length maximum 512
    Policy-map global_policy
    class inspection_default
    inspect the preset_dns_map dns
    inspect the ftp
    inspect h323 h225
    inspect the h323 ras
    Review the ip options
    inspect the netbios
    inspect the rsh
    inspect the rtsp
    inspect the skinny
    inspect esmtp
    inspect sqlnet
    inspect sunrpc
    inspect the tftp
    inspect the sip
    inspect xdmcp
    !
    global service-policy global_policy
    context of prompt hostname
    no remote anonymous reporting call
    call-home
    Profile of CiscoTAC-1
    no active account
    http https://tools.cisco.com/its/service/oddce/services/DDCEService destination address
    email address of destination [email protected] / * /
    destination-mode http transport
    Subscribe to alert-group diagnosis
    Subscribe to alert-group environment
    Subscribe to alert-group monthly periodic inventory 19
    Subscribe to alert-group configuration periodic monthly 19
    daily periodic subscribe to alert-group telemetry
    Cryptochecksum:0b972b3b751b59085bc2bbbb6b0c2281
    : end
    ASA1 #.

    I can connect to the ASA from outside with the Anyconnect client, split tunneling works well unfortunately I can't ping anything inside the network, VPN subnet: 255.255.255.0, inside the 192.168.64.x 255.255.255.0 subnet 10.0.70.x

    When connecting from the outside, cisco anyconnect is showing 192.168.64.0/24 in the tab "details of the trip.

    Do you know if I'm missing something? (internal subnet to subnet route vpn?)

    Thank you

    Use your internal subnet ASA as its default gateway? If this isn't the case, it will take a route pointing to the ASA inside the interface.

    You can perform a packet - trace as:

    Packet-trace entry inside tcp 192.168.64.2 80 10.0.70.1 1025

    (simulation of traffic back from a web server inside a VPN client)

  • ASA problem inside the VPN client routing

    Hello

    I have a problem where I can't reach the VPN clients with their vpn IP pool from the inside or the asa itself. Connect VPN clients can access internal network very well. I have no nat configured for the pool of vpn and packet trace crypt packages and puts it into the tunnel. I'm not sure what's wrong.

    Here are a few relevant config:

    network object obj - 192.168.245.0

    192.168.245.0 subnet 255.255.255.0

    192.168.245.1 - 192.168.245.50 vpn IP local pool

    NAT (inside, outside) static source any any destination static obj - 192.168.245.0 obj - 192.168.245.0 no-proxy-arp-search to itinerary

    Out of Packet trace:

    Firewall # entry packet - trace inside the x.x.x.x icmp 8 0 192.168.245.33

    Phase: 1

    Type: ACCESS-LIST

    Subtype:

    Result: ALLOW

    Config:

    Implicit rule

    Additional information:

    MAC access list

    Phase: 2

    Type:-ROUTE SEARCH

    Subtype: entry

    Result: ALLOW

    Config:

    Additional information:

    in 192.168.245.33 255.255.255.255 outside

    Phase: 3

    Type: ACCESS-LIST

    Subtype: Journal

    Result: ALLOW

    Config:

    Access-group acl-Interior interface inside

    access list acl-Interior extended icmp permitted an echo

    Additional information:

    Phase: 4

    Type: IP-OPTIONS

    Subtype:

    Result: ALLOW

    Config:

    Additional information:

    Phase: 5

    Type: INSPECT

    Subtype: np - inspect

    Result: ALLOW

    Config:

    Additional information:

    Phase: 6

    Type:

    Subtype:

    Result: ALLOW

    Config:

    Additional information:

    Phase: 7

    Type: NAT

    Subtype:

    Result: ALLOW

    Config:

    NAT (inside, outside) static source any any destination static obj - 192.168.245.0

    obj - 192.168.245.0 no-proxy-arp-search to itinerary

    Additional information:

    Definition of static 0/x.x.x.x-x.x.x.x/0

    Phase: 8

    Type: VPN

    Subtype: encrypt

    Result: ALLOW

    Config:

    Additional information:

    Phase: 9

    Type: CREATING STREAMS

    Subtype:

    Result: ALLOW

    Config:

    Additional information:

    New workflow created with the 277723432 id, package sent to the next module

    Result:

    input interface: inside

    entry status: to the top

    entry-line-status: to the top

    output interface: outside

    the status of the output: to the top

    output-line-status: to the top

    Action: allow

    There is no route to the address pool of vpn. Maybe that's the problem? I don't know than that used to work before we went to 8.4.

    Check if the firewall is enabled on your host from the client ravpn and blocking your pings.

Maybe you are looking for