guide14:298,guide15:299,guide1:300,guide2:301,guide3:302,guide4:303,guide5:304,guide6:305,guide7:306,guide8:307,guide9:308,guide10:309,guide11:310,guide12:311,guide13:312 This is my label inserted into the activeDocument like so. app.activeDocument.insertLabel('guides', guideList); Then I am parsing it like this function getGuide(guidesLabel, index){ var guidesList=guidesLabel.split(",") return app.activeDocument.guides.itemByID(Number(guidesList[index].split(":")[1])) } Then I move the guides like this. getGuide(guides,2).location=mark3.geometricBounds[1] - (mark3.geometricBounds[1] - mark3.geometricBounds[3]) / 2 getGuide(guides,3).location=mark1.geometricBounds[3] getGuide(guides,4).location=mark1.geometricBounds[2] getGuide(guides,5).location=mark1.geometricBounds[2] + .75 getGuide(guides,6).location=mark1.geometricBounds[3] - .75 getGuide(guides,7).location=mark1.geometricBounds[2] - .75 getGuide(guides,8).location=mark6.geometricBounds[1] getGuide(guides,9).location= mark6.geometricBounds[0] getGuide(guides,10).location=mark6.geometricBounds[0] - .75////set guide for spine text getGuide(guides,11).location=mark6.geometricBounds[1] + .75 getGuide(guides,12).location=mark6.geometricBounds[0] + .75 getGuide(guides,13).location=mark3.geometricBounds[1] getGuide(guides,14).location=mark3.geometricBounds[3] if (spineWidth >= .75) { getGuide(guides,0).location=mark7.geometricBounds[1] getGuide(guides,1).location=mark7.geometricBounds[3] }
... View more