I have several tasks that I perform multiple times each day that I want to work on any File I open.
eg. If I select multiple Items I run the Macro and it does 2 things, (1) Rotate everything 270 Degree (2) Removes all Lines
I created the Global Macro, and it worked perfectly but when I opened a New Project of cause it came up with an error because the object names were obviously different.
Can anyone help me solve this?
Thanks in Advance
This is the Task, the part of the code causing the Error is below
OrigSelection(3).Style.StringAssign "{""fill"":{""type"":""1"",""screenSpec"":""0,0,45000000,60,0"",""winding"":""0"",""primaryColor"":""CMYK255,USER,0,0,0,3,100,bfc969d4-a586-4a38-b1ee-346be14a9d8f"",""overprint"":""0""},""outline"":{""rightArrowAttributes"":""0|0|0|0|0|0|0"",""justification"":""0"",""dashAdjust"":""0"",""rightArrow"":""|0"",""dotLength"":""0"",""miterLimit"":""5"",""screenSpec"":""0,0,45000000,60,0"",""angle"":""0"",""overprint"":""0"",""aspect"":""100"",""joinType"":""0"",""matrix"":""1,0,0,0,1,0"",""leftArrow"":""|0"",""leftArrowAttributes"":""0|0|0|0|0|0|0"",""color"":""CMYK,USER,0,0,0,100,100,00000000-0000-0000-0000-000000000000"",""width"":""0"",""dashDotSpec"":""0"",""shareArrow"":""0"",""scaleWithObject"":""0"",""overlapArrow"":""0"",""behindFill"":""0"",""endCaps"":""0""},""transparency"":{}}"
selects all objects inside page area (shapes completely enclosed within the rectangle defined by the page size) rotates them to the right and removes their outlines
PERFECT :-) Many Many Thanks Mek
You're welcome.
I sent you a PM Mek