Get vector points out of shape layer

Hi,
I need to write a script which (also) saves the vector paths given as/in shape layers (Photoshop).
What the script should provide is:
1. Loop over all Layers
2. Look if there is a boundary shape layer within that (main) layer with the name "mask"
3. If so, not only save the content of this main layer (within its given rectangular bounds) as an png, but...
4. also so save the anchor points (may not be bezier, only path of strait line segments) of the shape within the sibling shape layer "mask"
(optional:
also:
5. look at a text layer "config", make it invisible before image export of the main layer (in which it is layered)
6. save the text from this text layer in a separate text file (corresponding to the save png file)
Many thanks for any help.
Kind regards
Joe

I had made some mistakes in the Script – more than one »Bitmap X« layers in the LayerSet would have been ignored and if the order of the »Bounding Shape« and »Image« LayerSets were switched it would result in erroneous output …
Hopefully this version is more thorough:
// saves clipped pngs of certain layers and the vector path info of certain other layers;
// bitmap layers have to be named »Bitmap« + number, and reside in »Image« in »Object« + number;
// vector layers have to be named »Form« + number, and reside in »Bounding Shape« in »Object« + number;
// 2011, use it at your own risk;
#target photoshop
if (app.documents.length > 0) {
var myDocument = app.activeDocument;
var originalRulerUnits = app.preferences.rulerUnits;
app.preferences.rulerUnits = Units.POINTS;
// thanks to xbytor;
var docName = myDocument.name;
if (docName.indexOf(".") != -1) {var basename = docName.match(/(.*)\.[^\.]+$/)[1]}
else {var basename = docName};
try {var docPath = myDocument.path}
catch (e) {var docPath = "~/Desktop"};
// png options;
var webOptions = new ExportOptionsSaveForWeb();
webOptions.format = SaveDocumentType.PNG;
webOptions.PNG8 = false;
webOptions.transparency = true;
webOptions.includeProfile = false;
webOptions.optimized = true;
// duplicate image;
var theCopy = myDocument.duplicate ("copy", false);
// get the layers;
var theLayers = collectSpecialLayersB(theCopy);
// create array for bounds;
var theBoundsArray = new Array;
// process the layers;
for (var m = 0; m < theLayers.length; m++) {
     var theArray = theLayers[m];
// process the bitmap layers;
     for (var n = 0; n < theArray[1].length; n++) {
          var theLayerSet = theArray[0];
          var theBitmapLayer = theArray[1][n];
          var theNumber = theBitmapLayer.name.slice(7, theBitmapLayer.name.length);
          theBoundsArray.push([theBitmapLayer.name, theBitmapLayer.bounds]);
          theBitmapLayer.visible = true;
          var theParent = theBitmapLayer.parent;
          while (theParent != theCopy) {
               theParent.visible = true;
               theParent = theParent.parent
          theCopy.activeLayer = theBitmapLayer;
          hideOtherLayers();
          theCopy.trim();
// save png;
          var theFile = new File(docPath+"/"+basename+"_"+theLayerSet.name+"_"+theBitmapLayer.name+".png");
          theCopy.exportDocument(theFile, ExportType.SAVEFORWEB, webOptions);
// check for a form-layer with the corresponding number;
          for (var p = 0; p < theArray[2].length; p++) {
               try {
                    var pathLayer = theArray[2][p];
                    var thisNumber = pathLayer.name.slice(5, pathLayer.name.length);
                    if (Number(theNumber) == Number(thisNumber)) {
// get the path info;
                         theCopy.activeLayer = pathLayer;
                         var thePath = theCopy.pathItems[theCopy.pathItems.length - 1];
                         var thePathArray = collectPathInfo (theCopy, thePath);
// save path-info;
                         writePref(thePathArray, docPath+"/"+basename+"_"+theLayerSet.name.replace(" ", "-")+"_"+pathLayer.name+"_path.txt");
               catch (e) {};
          theCopy.activeHistoryState = theCopy.historyStates[0];
alert (theBoundsArray.join("\n\n"));
// close the opy;
theCopy.close(SaveOptions.DONOTSAVECHANGES);
app.preferences.rulerUnits = originalRulerUnits;
////// function to collect path-info as text //////
function collectPathInfo (myDocument, thePath) {
var originalRulerUnits = app.preferences.rulerUnits;
app.preferences.rulerUnits = Units.POINTS;
var theArray = [];
for (var b = 0; b < thePath.subPathItems.length; b++) {
     theArray[b] = [];
     for (var c = 0; c < thePath.subPathItems[b].pathPoints.length; c++) {
          var pointsNumber = thePath.subPathItems[b].pathPoints.length;
          var theAnchor = thePath.subPathItems[b].pathPoints[c].anchor;
//          var theLeft = thePath.subPathItems[b].pathPoints[c].leftDirection;
//          var theRight = thePath.subPathItems[b].pathPoints[c].rightDirection;
//          var theKind = thePath.subPathItems[b].pathPoints[c].kind;
//          theArray[b][c] = [theAnchor, theLeft, theRight, theKind];
          theArray[b][c] = [theAnchor];
//     var theClose = thePath.subPathItems[b].closed;
//     theArray = theArray.concat(String(theClose))
app.preferences.rulerUnits = originalRulerUnits;
return theArray
////// function to write a preference-file storing a text //////
function writePref (theText, thePath) {
  try {
    var thePrefFile = new File(thePath);
    thePrefFile.open("w");
    for (var m = 0; m < theText.length; m ++) {
      thePrefFile.write(theText[m])
    thePrefFile.close()
  catch (e) {};
////// hide other layers //////
function hideOtherLayers () {
// =======================================================
var idShw = charIDToTypeID( "Shw " );
    var desc2 = new ActionDescriptor();
    var idnull = charIDToTypeID( "null" );
        var list1 = new ActionList();
            var ref1 = new ActionReference();
            var idLyr = charIDToTypeID( "Lyr " );
            var idOrdn = charIDToTypeID( "Ordn" );
            var idTrgt = charIDToTypeID( "Trgt" );
            ref1.putEnumerated( idLyr, idOrdn, idTrgt );
        list1.putReference( ref1 );
    desc2.putList( idnull, list1 );
    var idTglO = charIDToTypeID( "TglO" );
    desc2.putBoolean( idTglO, true );
executeAction( idShw, desc2, DialogModes.NO );
////// function to collect special layers //////
function collectSpecialLayersB (theParent, allLayers) {
     if (!allLayers) {var allLayers = new Array};
     for (var m = theParent.layers.length - 1; m >= 0;m--) {
          var theLayer = theParent.layers[m];
// apply the function to layersets;
          if (theLayer.typename == "ArtLayer") {
// get the bitmap-layers;
               if (theLayer.name.match(new RegExp('^bitmap '+'[0-9]{1,3}','i')) && theLayer.parent.name == "Image"  && theLayer.parent.parent.name.match(new RegExp('^object '+'[0-9]{1,3}','i'))) {
                    allLayers[allLayers.length - 1][1].push(theLayer);
// get the form-layers;
               if (theLayer.name.match(new RegExp('^form '+'[0-9]{1,3}','i')) && theLayer.parent.name == "Bounding Shape" && theLayer.parent.parent.name.match(new RegExp('^object '+'[0-9]{1,3}','i'))) {
                    allLayers[allLayers.length - 1][2].push(theLayer);
// process layersets;
          else {
               if (theLayer.name.match(new RegExp('^object '+'[0-9]{1,3}','i'))) {
                    allLayers.push([theLayer, [], []]);
               allLayers = collectSpecialLayersB(theLayer, allLayers)
     return allLayers

Similar Messages

  • Is there a way to motion track a point in a shape layer?

    Hi all,
    Is there a way to motion track a point in a shape layer?
    Thanks

    As Mylenium points out, you can't to it directly.  But if you're willing to jump through a hoop, you can: Precomp that shape layer! 
    Now AE will see it as another piece of footage, which can be motion tracked.  You can use Mocha or AE built-in motion tracker, depending on the nature of your precomp.
    Alternately, you can simply parent a null object to the shape layer.  After you do so, you can adjust the null's position, positioning it precisely where you want it to be in relationship to the shape layer.  It will then maintain that relative position, following right along with any animation applied to the shape layer.

  • Gradient fill disappearing when converting vector/Illustrator file to shape layer

    Hi,
    When coverting a vector or Illustrator file (such as a logo) into a shape layer any gradient fill is lost. Is there no way to ensure the gradient fill is converted across or is this a matter for a future release of After Effects?
    Many thanks.

    That's a limitation of the current feature.
    If you want a different behavior, you can submit a feature request here: http://www.adobe.com/go/wish

  • Getting My Pointer out of a box

    My 18-month old child pounded my keyboard and now I havy my cursor floating in a big black box that stays around it as I move it around the screen. How can I get rid of it?

    Open the Universal Access pane of System Preferences and check the settings under the Seeing tab; one of those may be responsible for making the box appear.
    (10731)

  • Shape tween vector points

    i would like to understand (if possible) how flash deals with
    shape tweens?
    does it try and recognize shapes in order to find what it's
    common between two shapes or does it more simply try to establish a
    link between vector points according to the closest corresponding
    position?
    is there no way of, say, switching off the attempt of shape
    recognition?
    why aren't hints automatically attached to vector points
    within a same layer?
    thx - p

    1. In my experience, Flash merges extra points into one, and
    breaks single points into multiple as necessary. how it picks which
    ones to do this with has always been beyond me.
    2. It seems to be completely by position, but only an Adobe
    engineer could tell you how the algorithm works.
    3. Hints are not automatically attached to anything. You can
    add as many hints as you want, and place them wherever you want. If
    you place a hint on each vector point, and place them on the
    correct places at the end of the tween, then flash will make sure
    the points start and finish where you want them to.
    4. Vector points, to my understanding, hold their position,
    and any information necessary for the calculation of bezier
    curves.

  • Is it possible to access to the path property of a shape layer by AEGP API?

    Hi everyone! I recently started depeloping AE plug-in and trying to access to the path of shapes on the layer from AEGP API. Sorry in advance if my question has been already asked by someone before, but I couldn't find exact answer to my question so let me ask.
    In a composition, I have a shape layer and the shape layer has a vector shape depicted by the pen tool. The constitution of the layer looks like below.
    Apparently, those streams of the layer like Anchor Point, Position, and Scale can be accessed by AEGP_GetNewLayerStream. However, I have no idea how I can get the pointer to the Shape 1 and get the Path from it because the these valuse are not categolized into any AEGP_LayerStream types.
    Very similar question was asked in the following link and the it was advised to use MaskOutlineSuite, PathQuerySuite, and PathDataSuite, although these suites are for making effect plugins, not for AEGP plugins, so I am not sure if they can be used here.
    http://forums.adobe.com/thread/1068528
    So would someone kindly enlighten me about this??
    Thank you very much.

    hi hagmas! welcome to the forum, where there are plenty of existing answers
    but never for exactly what you seek.
    first off, every suite who's functions name start with AEGP, were actually
    created for AEGP's plug-ins use, but most of them (including the suites you
    mentioned) can also be used in effects. (and not as you thought, the other
    way around)
    the shape layer's stream indeed are not indexed, and that's because then
    are added dynamically by the user and can be re-ordered.
    look into the "dynamic stream suite", using which, you'll get the first
    stream of the shape layer, and start navigating though there by getting the
    stream name, type, parent group ect...
    you'll eventually find the "content" group, and in it the "shape" groups,
    and in them the... you get the picture.
    yes, it's somewhat tedious, but since nothing in these gourps order is
    pre-determined or guaranteed, there's no other way to go (that i know of).

  • Strange problem undoing a shape layer move in Photoshop CS5

    Hi. I have a strange recurring problem in Photoshop CS5. Basically, it manifests like this:
    I have a shape layer, or several shape layers. I will move the shape with the move tool (usually via holding Ctrl, depending upon which tool is selected). If I then use undo or step backward, the image does not revert properly. It's like there is a discrepancy between the position of the layer mask and what is displayed on screen. Clicking on the vector mask of the shape layer to reveal its outline shows that the shape is where it should be (i.e. in the position it was originally), but the element of the image it represents is somewhere else. Sometimes, if I move a group of such shape layers, the problem seems to affect some of them but not all. Once so far, I have managed to rectify the problem by simply turning off an unrelated layer and turning it on again! Very strange.
    It's a difficult problem to deal with, because it doesn't happen every time. And when it does, it's a case of reverting to a previous save. Luckily I save reasonably often, but it's still an annoying thing to deal with.
    Hope I've described it well enough to understand. Any ideas?
    I'm using CS5 12.0.4. Windows 7 64-bit. Intel i5 2300. Integrated HD2000 graphics with latest drivers.

    I realise I seem to be talking to myself here (perhaps no-one's still using CS5 here, plus it's a fairly specific problem), but I have discovered a factor that makes for repeatable demonstration of this behaviour.
    It appears that the problem I'm having is related to using feathering on vector masks. Create a shape with the pen tool, add an amount of 'feather' in the mask options panel, use the move tool to move the shape and then undo. This displays the problem I'm seeing where the image is not refreshed. I have at least found a way to workaround the issue for now. Simply changing the feathering amount updates the image to how it should be.
    I'm glad that I can at least continue to use CS5, because I'm totally content with its functionality for my uses, and an upgrade seemed overkill (not to mention having to adjust to the changes made in CS6+ versions).
    Perhaps there is still a cure for this bug somewhere. I will keep looking, and update this thread if I find it, in the hope that it may help someone else out there with the same problem.

  • I am making a complex vector pattern for laser-cutting. No part may be more than 7mm wide at any point. How can I define this in order to get a warning when a shape is too wide? can this be automated?

    I am making a complex vector pattern for laser-cutting. No part may be more than 7mm wide at any point. How can I define this in order to get a warning when a shape is too wide?
    can this be automated?

    Not in Illustrator. You will need a CAD program or similar where you can dial in such manufacturing criteria.
    Mylenium

  • I am making a complex vector pattern for laser-cutting. No part may be more than 7mm wide at any point. How can I define this in order to get a warning when a shape is too wide?

    I am making a complex vector pattern for laser-cutting. No part may be more than 7mm wide at any point. How can I define this in order to get a warning when a shape is too wide?
    can this be automated?

    do you mean Anchor Point to Anchor Point should be less than 7mm? A Script could check segment lengths, on demand, not automatically as you draw.

  • How to get shape layer's content parameters in AEGP?

    Hi all,
    I have no idea when I want to export the parameters from the Contents of shape layer.
    Now I add Polystar Path1, ZigZag 1, and Repeater1, three contents of shaper layer.
    Content seems not equal to effect. I used AEGP_GetNewEffectStreamByIndex can get the effect's parameter of Shape layer. But no any information about Content.
    Does anyone know how to get the content's parameter?
    Thanks.

    Thanks for your reply and sorry about my unclear question.
    I use the picture to describe my question. There is a shape layer include "Contents" and "Effects".
    I can use AEGP_GetLayerEffectByIndex to get the parameter of effects (Blue point).
    However I can't find out the correct method to get the parameter of Contents (Yellow part, include Polystar, Zig Zag and Repeater).
    The yellow part is also not the Stream, I can't not use stream suite to get information.
    BTW, I have the same problem about Text Animator. (Yellow part of follow picture)
    lapula

  • AE CS5 - Shape Layer - Anchor point moves after position keyframe

    I am experiencing unintuitive (to me) behaviour with a brand new shape layer. Here are the steps to reproduce the issue. I have made a screen cap of the problem but can't figure out how to upload it to this forum.
    1. In an existing composition, I create a new Shape Layer
    2. By default the anchor point (center point) is in the dead center of the shape layer. Perfect.
    3. I turn on Position keyframing, and add a position keyframe at my current time
    4. Instantly the anchor point now jumps to the center of the composition, and so now when I scale my shape layer it doesn't scale properly
    If I try to use the Pan Behind tool, I get position keyframing. Besides, I SHOULD NOT HAVE TO DO THIS, since the anchor point was in the correct spot to start with, and it's only because of this keyframing "bug" that the anchor point jumps.
    What am I missing or doing wrong? How can I add a position keyframe to a BRAND NEW LAYER that has no other animation on it, and still keep the anchor point in the dead center of my shape?
    Thanks for your advice,
    Tom

    Thanks to Rick and Mylenium for your helpful answers. Rick, I'd prefer not to have to manually reposition, because I'm never going to be as mathematically precise as the software for positioning the Anchor Point dead center.
    Using the transform controls on the shape rather than the global container certainly did the trick! You guys are great. Thanks.
    [rant]
    In my defense as far as the constant exhortations to "RTFM", we all know that most veteran software users only go to the manual when there's a problem. You also know that Adobe's help system (particluarly in regards to search) has gotten worse over the years, not better. So when I run into a situation like this, I'm going to search through the help for what I believe the problem is: namely "anchor points", "transformations" and "keyframes", and maybe "shape layers". This is a fair amount of research, and it's exactly what I do as my first line of defense.
    The second line of defense that most tech savvy folk do, is a Google search; for example: "anchor point moves after position keyframe" or "After Effects shapes layer anchor point moves keyframe" etc. And you spend your time sifting through forums trying to find the relevant answers. I feel that THAT is my true due diligence, rather than reading the F'n Adobe manual that is so very very sparse.
    So after my due diligence, I turn to the experts communities, because there I know I will get educated, reliable help within a reasonable turnaround time. And because I myself contribute to these same forums in areas where I have higher than average expertise. The Adobe Forums have proven to be one of the great online resources.
    Finally, now that I have a great answer from two knowledgeable experts (thanks again!), I've also enriched the community, because of the way I have crafted my post title, hopefully the next poor ******* who has a similar problem and a similar methodology to finding resolution will stubmle upon my post because I've tried to overload the title with relevant keywords that will generate hits in google.
    Through my question, and your accurate answers, the global knowledgebase has improved.
    So forgive me for not memorizing the F'n Adobe online help. I go to the resources that are the most useful, expedient, and provide the greatest value as a whole.
    [/rant]
    Peace,
    Tom

  • Possible BUG: duplicating a shape layer only duplicates previously selected points - PS CS6

    Unless PS has been updated to make this a feature, i may have found a bug. Now (in CS6 vs. previous versions) when you duplicate a shape layer, if you had previously selected specific points of the shape (for example with the direct selection tool) only those points will be duplicated in the new layer. This is true no matter what tool you are currently using.
    What I did was make a rounded-corner rectangle shape -> then direct selected all points on one side to stretch the rectangle without distorting the rounded corners -> then switched to the move tool so no points were selected anymore and only the layer was selected-> duplicate layer (with the intention of duplicating the whole shape). what i got was just the rounded corners on a new layer.
    It seems the only way to duplicate the shape layer in its entirety is to go back with the direct select tool -> select ALL points of the whole shape -> change to move tool -> dupe layer.
    If that's the intended new functionality, it's a bummer because if you intend to only duplicate certain points, you can already do that while using the direct select tool. Using the move tool, it shows no direct selections and therefore you should be able to duplicate the whole layer.
    Maybe I have some weird default option checked that I'm not familiar with? This is not how any previous versions of PS worked and will add friction to my workflow if this is new.

    Yes, this is an issue with CS6 and the first release of CC.  You have to make sure you deselect all nodes in a path, or you will get the result you describe.  I believe Adobe has made some corrections and improvement in the use of shape layers that will hopefully be released soon.  However, if you're sticking with CS6, you've got to make sure to deselect on Win the esp key works great.

  • How can I feather the vector mask (path) of a shape layer in CS6?

    How can I feather the vector mask, i.e. path of a shape layer in CS6?
    The corresponding slider in the properties pallette is alway grayed out and unmovable for me when dealing with shape layers. Is there a trick to it, or ist it really not possible at all? (In CS5 you can feather any vector mask via the mask pallette, although the mask's behavior is most of the times quiet buggy after doing so.)
    Or is there any other way to non-destructably blur a shape in CS6? (I know I can create a smart object and use a blur filter on it, but that's not really what i'm after.)
    Thanks in advance for any help on this.
    Reiz

    Start from the beginning
    - Select the Rectangle Tool - go to Options Bar, ensure 'Shape' options is on from the the Pick a Tool Mode drop down list.
    - Draw Rect. This should create a vector Shape Layer.
    - Select it in the Layers Panel: The Properties Panel then should highlight the Density and Feather options.
    What happens here when you drag the Feather slider? On my end it feathers the vector shape as a whole.
    If you need further masking capabilities, then apply a Layer Mask to the Shape and proceed with the Properties Panel Density/Feather options.
    h

  • My iPod has a problem. I cannot fit the charger into the bottom of the device, nor can I fit it on to the docking station. It is as if the bottom mechanism has been bent out of shape. Where would I get it repaired? Would it be expensive?

    My iPod has a problem. I cannot fit the charger into the bottom of the device, nor can I fit it on to the docking station. It is as if the bottom mechanism has been bent out of shape. Where would I get it repaired? Would it be expensive?

    Apple will exchange your iPod for a refurbished one for this price. They do not fix yours. The price depends upon model and capacity
    Apple - iPod Repair price                                    
    A third-party place like the following may replace the doc connector for less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens         

  • Shape layer questions

    I’m a web designer that’s used to using Illustrator for all my work. Recently many of my new jobs want me to work in Photoshop, so I’m getting back up to speed with it. I have a  few nagging issues that I haven’t been able to figure out:
    With the direct selection tool, how do I select a small shape that’s overlapping a larger shape? For example, a small line on top of a large rectangle. When I try to do this Photoshop automatically makes me select the larger shape in the background. I have to zoom in super close and individually shift-select each corner of the smaller shape before I can move/transform/whatever it. This gets tedious and slow real fast!
    Recently in a document I’m working in, whenver I make a new shape it automatically adds a bunch of layer styles like drop shadow, stroke, etc. These styles aren’t turned on, but it adds unecessary styles to my layers and my client is very strict about recieving only super clean .psd’s.
    How do I make a line that is truly 1px stoke width? My lines seem to always start out as fuzzy 2px worms until I zoom in and surgically make them 1px. Again, what a waste of time! is there some sort of antialiasing setting that I need to turn off?
    Thanks!

    1. With smaller shapes that are difficult to select, try selecting their layer first. If you are not sure which layer, switch to the Move tool (V), hold Ctrl and click on the small shape. With the default behavior in Photoshop you should be able to select the layer and then use the Direct selection tool to select points on the vector path of the small shape. If you want to just move the entire shape when its the only path on a layer, aside form using the Path Selection tool (black arrow), you can just use the Move tool (V) to change the position of the layer. If you have to deal with a lot of shape layers that you just want to click and move, enable the Auto Select for the Move tool in the Properties bar. Then holding Ctrl while using the tool will toggle to its non - Auto Select mode.
    2.On the Tool's property bar under the main menu, make sure the chain button is not pressed then click on the Style swatch or arrow to the right of the chain button to open the style swatch popup and from its menu there choose No Style. Next shape layer you make will not have the current style automatically applied. 
    3. I'm using CS5 on a pc and creating 1 px straight line with the Line tool is buggy with its alignment to grid. The Line Tool draws lines in Shape mode as rectangle vector paths. The difference between the Rectangle Tool and the Line tool is that the Line tool aside from having a Weight attribute, it draws the rectangles starting from the middle if its side. In order to snap it to grid you have to set the grid in the settings to Gridline every 1 pix and Subdivisions 2. If properly working this is supposed to solve your problem if you enable snap to grid and draw your lines starting in the middle of a pixel. The problem is that this doesn't work properly with the Line Tool which does not snap perfectly to the grid. The work around is to draw your lines with the Line Tool in Fill Pixels mode which has an Anti-aliasing option that you can turn off.
    Another alternative for drawing lines on raster layers without anti-aliasing is to use the Pencil tool and hold Shift while dragging with it. The Pencil Tool in Photoshop is the same as the Brush tool but without anti-aliasing. I think more proper name would be non - anti-alised brush.

Maybe you are looking for

  • How does apple TV cache content, + use with imac

    I am thinking about buying an apple TV, but have some questions -does the Apple TV only stream content in real time, or can it store content e.g If I want to watch a film with the family, can I download the full film to the apple tv in advance, or do

  • IDisk access on MacBook Pro/Lion?

    I have just been asked to access some job files on an iDisk Public Folder. I'm using a recent MacBook Pro w/Lion 10.7.2. IDisk does not seem to be available via the "Go" pulldown on my Desktop. Is there an install/download to perform to access an iDi

  • How can I copy the whole directory of files from PC to iPad?

    How can I copy the whole directory of files from PC to iPad ?

  • Use SYSTAT01 Idoc for reprocess or delete

    Hi guys, I had mounted with SAP XI an interface with SYSTAT01 Idoc for outbound and inbound information. For the IDOCS from FILE to SAP R/3 we need to manage the idoc status of the other interfaces. How can i determine, and send to SAP, the new code

  • IPhoto vanishes

    How is this possible, iPhoto has vanished from my machine, what makes this all the more interesting is I have two hard drives one I'm using to test Indesign (still does not work but thats a different story) so I have two start up disks. I came back t