Hi Guys
Slightly off topic but not too much, kinda staying with illustrator, this thread caught my eye.
A couple of years ago i had a go at creating a vector image of my company logo using the the entire path property.
so dug it out to show you guys now i’m not bragging cause its a good script don’t get me wrong,
i’m just like any bloke i was just impressed by it’s size! 
tell application "Adobe Illustrator"
activate
set thisDoc to current document
set theOrigin to ruler origin of thisDoc as list
set properties of thisDoc to {ruler origin:{0, 0}}
set docheight to height of current document
set docwidth to width of current document
set locked of every layer of current document to true
set mynewlayer to make new layer in current document
set the name of current layer of document 1 to "Logo Layer"
set swatch_one to make new spot in current document with properties {name:"PANTONE 306 C", color type:{spot color}, color:{cyan:75, magenta:0, yellow:7, black:0}}
set swatch_two to make new spot in current document with properties {name:"PANTONE 2758 C", color type:{spot color}, color:{cyan:100, magenta:80, yellow:0, black:26}}
set the default stroke color of document 1 to {class:no color info}
set default fill color of document 1 to {spot:spot "PANTONE 306 C" of document 1}
set lineRef to make new path item in current layer of current document with properties {entire path:{{class:path point info, anchor:{250.5048828125, 470.884765625}, left direction:{250.5048828125, 470.884765625}, right direction:{250.5048828125, 470.884765625}, point type:smooth}, {class:path point info, anchor:{250.5048828125, 523.7451171875}, left direction:{250.5048828125, 523.7451171875}, right direction:{250.5048828125, 528.3818359375}, point type:smooth}, {class:path point info, anchor:{242.1064453125, 532.13671875}, left direction:{246.7470703125, 532.13671875}, right direction:{237.4697265625, 532.13671875}, point type:smooth}, {class:path point info, anchor:{233.71484375, 523.7451171875}, left direction:{233.71484375, 528.3818359375}, right direction:{233.71484375, 523.7451171875}, point type:corner}, {class:path point info, anchor:{233.71484375, 439.6591796875}, left direction:{233.71484375, 439.6591796875}, right direction:{233.701171875, 435.9423828125}, point type:smooth}, {class:path point info, anchor:{239.921875, 431.5244140625}, left direction:{236.16015625, 432.53515625}, right direction:{244.3974609375, 430.3173828125}, point type:smooth}, {class:path point info, anchor:{250.2158203125, 437.4453125}, left direction:{249.025390625, 432.9658203125}, right direction:{255.8408203125, 458.60546875}, point type:smooth}, {class:path point info, anchor:{298.05859375, 474.193359375}, left direction:{275.1279296875, 474.193359375}, right direction:{320.9892578125, 474.193359375}, point type:smooth}, {class:path point info, anchor:{345.8955078125, 437.4453125}, left direction:{340.2734375, 458.60546875}, right direction:{347.1015625, 432.96875}, point type:smooth}, {class:path point info, anchor:{356.189453125, 431.5244140625}, left direction:{351.712890625, 430.3173828125}, right direction:{360.66796875, 432.7275390625}, point type:smooth}, {class:path point info, anchor:{362.11328125, 441.8115234375}, left direction:{363.3232421875, 437.3359375}, right direction:{354.49609375, 470.1064453125}, point type:smooth}, {class:path point info, anchor:{298.05859375, 490.990234375}, left direction:{328.75, 490.990234375}, right direction:{279.404296875, 490.990234375}, point type:smooth}, {class:path point info, anchor:{250.5048828125, 470.884765625}, left direction:{262.552734375, 483.283203125}, right direction:{250.5048828125, 470.884765625}, point type:corner}}}
set default fill color of document 1 to {spot:spot "PANTONE 2758 C" of document 1}
set lineRef1 to make new path item in current layer of current document with properties {entire path:{{class:path point info, anchor:{362.11328125, 407.5771484375}, left direction:{362.11328125, 407.5771484375}, right direction:{354.49609375, 379.2822265625}, point type:smooth}, {class:path point info, anchor:{298.05859375, 358.40234375}, left direction:{328.75, 358.40234375}, right direction:{267.3671875, 358.40234375}, point type:smooth}, {class:path point info, anchor:{234.0009765625, 407.5771484375}, left direction:{241.546875, 379.2666015625}, right direction:{232.806640625, 412.0595703125}, point type:smooth}, {class:path point info, anchor:{239.921875, 417.8681640625}, left direction:{235.4453125, 416.6640625}, right direction:{244.3974609375, 419.078125}, point type:smooth}, {class:path point info, anchor:{250.2158203125, 411.947265625}, left direction:{249.025390625, 416.4267578125}, right direction:{255.8408203125, 390.7861328125}, point type:smooth}, {class:path point info, anchor:{298.05859375, 375.1962890625}, left direction:{275.1279296875, 375.1962890625}, right direction:{320.9892578125, 375.1962890625}, point type:smooth}, {class:path point info, anchor:{345.8955078125, 411.943359375}, left direction:{340.2734375, 390.7861328125}, right direction:{347.1015625, 416.419921875}, point type:smooth}, {class:path point info, anchor:{356.189453125, 417.8681640625}, left direction:{351.712890625, 419.078125}, right direction:{360.66796875, 416.6640625}, point type:smooth}, {class:path point info, anchor:{362.11328125, 407.5771484375}, left direction:{363.3232421875, 412.056640625}, right direction:{362.11328125, 407.5771484375}, point type:corner}}}
set lineRef2 to make new path item in current layer of current document with properties {entire path:{{class:path point info, anchor:{247.017578125, 333.1005859375}, left direction:{247.017578125, 333.1005859375}, right direction:{242.7919921875, 333.1005859375}, point type:smooth}, {class:path point info, anchor:{237.138671875, 328.671875}, left direction:{239.4296875, 331.2529296875}, right direction:{237.138671875, 328.671875}, point type:corner}, {class:path point info, anchor:{237.138671875, 343.822265625}, left direction:{237.138671875, 343.822265625}, right direction:{237.138671875, 344.796875}, point type:smooth}, {class:path point info, anchor:{235.4228515625, 345.5302734375}, left direction:{236.3984375, 345.5302734375}, right direction:{234.4580078125, 345.5302734375}, point type:smooth}, {class:path point info, anchor:{233.71484375, 343.822265625}, left direction:{233.71484375, 344.796875}, right direction:{233.71484375, 343.822265625}, point type:corner}, {class:path point info, anchor:{233.71484375, 320.5986328125}, left direction:{233.71484375, 320.5986328125}, right direction:{233.71484375, 320.560546875}, point type:smooth}, {class:path point info, anchor:{233.720703125, 320.4892578125}, left direction:{233.720703125, 320.53125}, right direction:{233.720703125, 320.3544921875}, point type:smooth}, {class:path point info, anchor:{233.71484375, 320.083984375}, left direction:{233.71484375, 320.2158203125}, right direction:{233.71484375, 314.279296875}, point type:smooth}, {class:path point info, anchor:{247.017578125, 306.9228515625}, left direction:{238.1875, 306.9228515625}, right direction:{254.556640625, 306.9228515625}, point type:smooth}, {class:path point info, anchor:{259.9365234375, 320.083984375}, left direction:{259.9365234375, 312.7919921875}, right direction:{259.9365234375, 327.3818359375}, point type:smooth}, {class:path point info, anchor:{247.017578125, 333.1005859375}, left direction:{254.556640625, 333.1005859375}, right direction:{247.017578125, 333.1005859375}, point type:corner}}}
set default fill color of document 1 to {class:CMYK color info, cyan:0, magenta:0, yellow:0, black:0}
set lineRef3 to make new path item in current layer of current document with properties {entire path:{{class:path point info, anchor:{246.625, 309.9345703125}, left direction:{246.625, 309.9345703125}, right direction:{241.73046875, 309.9345703125}, point type:smooth}, {class:path point info, anchor:{237.158203125, 320.0712890625}, left direction:{237.158203125, 313.802734375}, right direction:{237.158203125, 326.345703125}, point type:smooth}, {class:path point info, anchor:{246.625, 330.0849609375}, left direction:{242.1162109375, 330.0849609375}, right direction:{252.6962890625, 330.0849609375}, point type:smooth}, {class:path point info, anchor:{256.46484375, 320.0712890625}, left direction:{256.46484375, 325.76953125}, right direction:{256.46484375, 314.375}, point type:smooth}, {class:path point info, anchor:{246.625, 309.9345703125}, left direction:{252.6962890625, 309.9345703125}, right direction:{246.625, 309.9345703125}, point type:corner}}}
set default fill color of document 1 to {spot:spot "PANTONE 2758 C" of document 1}
set lineRef4 to make new path item in current layer of current document with properties {entire path:{{class:path point info, anchor:{286.5224609375, 319.10546875}, left direction:{286.5224609375, 319.10546875}, right direction:{286.5224609375, 319.10546875}, point type:smooth}, {class:path point info, anchor:{266.1181640625, 319.10546875}, left direction:{266.1181640625, 319.10546875}, right direction:{266.2919921875, 313.95703125}, point type:smooth}, {class:path point info, anchor:{275.7265625, 309.8447265625}, left direction:{270.408203125, 309.8447265625}, right direction:{279.4921875, 309.8447265625}, point type:smooth}, {class:path point info, anchor:{284.1796875, 313.8408203125}, left direction:{282.06640625, 311.5048828125}, right direction:{284.517578125, 314.240234375}, point type:smooth}, {class:path point info, anchor:{285.267578125, 314.4208984375}, left direction:{284.8623046875, 314.4208984375}, right direction:{285.55078125, 314.4208984375}, point type:smooth}, {class:path point info, anchor:{286.1748046875, 314.0732421875}, left direction:{285.888671875, 314.2978515625}, right direction:{286.5224609375, 313.7900390625}, point type:smooth}, {class:path point info, anchor:{286.6962890625, 312.9853515625}, left direction:{286.6962890625, 313.384765625}, right direction:{286.6962890625, 312.6953125}, point type:smooth}, {class:path point info, anchor:{286.3525390625, 312.078125}, left direction:{286.5771484375, 312.361328125}, right direction:{284.408203125, 309.4453125}, point type:smooth}, {class:path point info, anchor:{275.6044921875, 306.9296875}, left direction:{280.34765625, 306.9296875}, right direction:{268.3447265625, 306.9296875}, point type:smooth}, {class:path point info, anchor:{262.5751953125, 320.0126953125}, left direction:{262.5751953125, 312.6953125}, right direction:{262.5751953125, 327.330078125}, point type:smooth}, {class:path point info, anchor:{275.3212890625, 333.1005859375}, left direction:{268.0556640625, 333.1005859375}, right direction:{282.46484375, 333.1005859375}, point type:smooth}, {class:path point info, anchor:{287.83203125, 320.302734375}, left direction:{287.83203125, 327.2822265625}, right direction:{287.83203125, 319.5556640625}, point type:smooth}, {class:path point info, anchor:{286.5224609375, 319.10546875}, left direction:{287.3203125, 319.10546875}, right direction:{286.5224609375, 319.10546875}, point type:corner}}}
set default fill color of document 1 to {class:CMYK color info, cyan:0, magenta:0, yellow:0, black:0}
set lineRef5 to make new path item in current layer of current document with properties {entire path:{{class:path point info, anchor:{275.3212890625, 330.1943359375}, left direction:{275.3212890625, 330.1943359375}, right direction:{270.294921875, 330.1943359375}, point type:smooth}, {class:path point info, anchor:{266.1181640625, 321.673828125}, left direction:{266.6328125, 326.529296875}, right direction:{266.1181640625, 321.673828125}, point type:corner}, {class:path point info, anchor:{284.408203125, 321.673828125}, left direction:{284.408203125, 321.673828125}, right direction:{283.8935546875, 326.474609375}, point type:smooth}, {class:path point info, anchor:{275.3212890625, 330.1943359375}, left direction:{280.34765625, 330.1943359375}, right direction:{275.3212890625, 330.1943359375}, point type:corner}}}
set default fill color of document 1 to {spot:spot "PANTONE 2758 C" of document 1}
set lineRef6 to make new path item in current layer of current document with properties {entire path:{{class:path point info, anchor:{309.552734375, 329.849609375}, left direction:{309.552734375, 329.849609375}, right direction:{309.552734375, 329.849609375}, point type:smooth}, {class:path point info, anchor:{293.720703125, 310.46875}, left direction:{293.720703125, 310.46875}, right direction:{293.720703125, 310.46875}, point type:corner}, {class:path point info, anchor:{308.35546875, 310.46875}, left direction:{308.35546875, 310.46875}, right direction:{309.14453125, 310.46875}, point type:smooth}, {class:path point info, anchor:{309.7744140625, 309.046875}, left direction:{309.7744140625, 309.8447265625}, right direction:{309.7744140625, 308.2353515625}, point type:smooth}, {class:path point info, anchor:{308.35546875, 307.6142578125}, left direction:{309.14453125, 307.6142578125}, right direction:{308.35546875, 307.6142578125}, point type:corner}, {class:path point info, anchor:{290.7509765625, 307.6142578125}, left direction:{290.7509765625, 307.6142578125}, right direction:{289.779296875, 307.6142578125}, point type:smooth}, {class:path point info, anchor:{289.0869140625, 309.0947265625}, left direction:{289.0869140625, 308.0712890625}, right direction:{289.0869140625, 309.4453125}, point type:smooth}, {class:path point info, anchor:{289.4345703125, 310.1279296875}, left direction:{289.2060546875, 309.8447265625}, right direction:{289.4345703125, 310.1279296875}, point type:corner}, {class:path point info, anchor:{305.263671875, 329.505859375}, left direction:{305.263671875, 329.505859375}, right direction:{305.263671875, 329.505859375}, point type:corner}, {class:path point info, anchor:{290.6318359375, 329.505859375}, left direction:{290.6318359375, 329.505859375}, right direction:{289.83984375, 329.505859375}, point type:smooth}, {class:path point info, anchor:{289.1455078125, 330.9248046875}, left direction:{289.1455078125, 330.1298828125}, right direction:{289.1455078125, 331.732421875}, point type:smooth}, {class:path point info, anchor:{290.6318359375, 332.353515625}, left direction:{289.83984375, 332.353515625}, right direction:{290.6318359375, 332.353515625}, point type:corner}, {class:path point info, anchor:{308.35546875, 332.353515625}, left direction:{308.35546875, 332.353515625}, right direction:{309.263671875, 332.353515625}, point type:smooth}, {class:path point info, anchor:{309.8935546875, 330.7607421875}, left direction:{309.8935546875, 331.6162109375}, right direction:{309.8935546875, 330.419921875}, point type:smooth}, {class:path point info, anchor:{309.552734375, 329.849609375}, left direction:{309.7744140625, 330.1298828125}, right direction:{309.552734375, 329.849609375}, point type:corner}}}
set lineRef7 to make new path item in current layer of current document with properties {entire path:{{class:path point info, anchor:{314.830078125, 307.1640625}, left direction:{314.830078125, 307.1640625}, right direction:{313.8583984375, 307.1640625}, point type:smooth}, {class:path point info, anchor:{313.0537109375, 308.8759765625}, left direction:{313.0537109375, 307.9013671875}, right direction:{313.0537109375, 308.8759765625}, point type:corner}, {class:path point info, anchor:{313.0537109375, 331.1630859375}, left direction:{313.0537109375, 331.1630859375}, right direction:{313.0537109375, 332.1279296875}, point type:smooth}, {class:path point info, anchor:{314.830078125, 332.884765625}, left direction:{313.8583984375, 332.884765625}, right direction:{315.8017578125, 332.884765625}, point type:smooth}, {class:path point info, anchor:{316.4873046875, 331.1630859375}, left direction:{316.4873046875, 332.1279296875}, right direction:{316.4873046875, 331.1630859375}, point type:corner}, {class:path point info, anchor:{316.4873046875, 308.8759765625}, left direction:{316.4873046875, 308.8759765625}, right direction:{316.4873046875, 307.9013671875}, point type:smooth}, {class:path point info, anchor:{314.830078125, 307.1640625}, left direction:{315.8017578125, 307.1640625}, right direction:{314.830078125, 307.1640625}, point type:corner}}}
set lineRef8 to make new path item in current layer of current document with properties {entire path:{{class:path point info, anchor:{314.830078125, 339.50390625}, left direction:{314.830078125, 339.50390625}, right direction:{313.69140625, 339.50390625}, point type:smooth}, {class:path point info, anchor:{312.71875, 341.5595703125}, left direction:{312.71875, 340.4208984375}, right direction:{312.71875, 342.69921875}, point type:smooth}, {class:path point info, anchor:{314.830078125, 343.6162109375}, left direction:{313.69140625, 343.6162109375}, right direction:{315.96875, 343.6162109375}, point type:smooth}, {class:path point info, anchor:{316.83203125, 341.5595703125}, left direction:{316.83203125, 342.69921875}, right direction:{316.83203125, 340.4208984375}, point type:smooth}, {class:path point info, anchor:{314.830078125, 339.50390625}, left direction:{315.96875, 339.50390625}, right direction:{314.830078125, 339.50390625}, point type:corner}}}
set lineRef9 to make new path item in current layer of current document with properties {entire path:{{class:path point info, anchor:{343.5078125, 319.10546875}, left direction:{343.5078125, 319.10546875}, right direction:{343.5078125, 319.10546875}, point type:smooth}, {class:path point info, anchor:{323.11328125, 319.10546875}, left direction:{323.11328125, 319.10546875}, right direction:{323.2802734375, 313.95703125}, point type:smooth}, {class:path point info, anchor:{332.7080078125, 309.8447265625}, left direction:{327.392578125, 309.8447265625}, right direction:{336.482421875, 309.8447265625}, point type:smooth}, {class:path point info, anchor:{341.1650390625, 313.8408203125}, left direction:{339.0537109375, 311.5048828125}, right direction:{341.5126953125, 314.240234375}, point type:smooth}, {class:path point info, anchor:{342.255859375, 314.4208984375}, left direction:{341.853515625, 314.4208984375}, right direction:{342.5361328125, 314.4208984375}, point type:smooth}, {class:path point info, anchor:{343.1728515625, 314.0732421875}, left direction:{342.8828125, 314.2978515625}, right direction:{343.5078125, 313.7900390625}, point type:smooth}, {class:path point info, anchor:{343.677734375, 312.9853515625}, left direction:{343.677734375, 313.384765625}, right direction:{343.677734375, 312.6953125}, point type:smooth}, {class:path point info, anchor:{343.3369140625, 312.078125}, left direction:{343.5654296875, 312.361328125}, right direction:{341.390625, 309.4453125}, point type:smooth}, {class:path point info, anchor:{332.595703125, 306.9296875}, left direction:{337.341796875, 306.9296875}, right direction:{325.33984375, 306.9296875}, point type:smooth}, {class:path point info, anchor:{319.5634765625, 320.0126953125}, left direction:{319.5634765625, 312.6953125}, right direction:{319.5634765625, 327.330078125}, point type:smooth}, {class:path point info, anchor:{332.3095703125, 333.1005859375}, left direction:{325.0498046875, 333.1005859375}, right direction:{339.453125, 333.1005859375}, point type:smooth}, {class:path point info, anchor:{344.8271484375, 320.302734375}, left direction:{344.8271484375, 327.2822265625}, right direction:{344.8271484375, 319.5556640625}, point type:smooth}, {class:path point info, anchor:{343.5078125, 319.10546875}, left direction:{344.3125, 319.10546875}, right direction:{343.5078125, 319.10546875}, point type:corner}}}
set default fill color of document 1 to {class:CMYK color info, cyan:0, magenta:0, yellow:0, black:0}
set lineRef10 to make new path item in current layer of current document with properties {entire path:{{class:path point info, anchor:{332.3095703125, 330.1943359375}, left direction:{332.3095703125, 330.1943359375}, right direction:{327.2802734375, 330.1943359375}, point type:smooth}, {class:path point info, anchor:{323.11328125, 321.673828125}, left direction:{323.6279296875, 326.529296875}, right direction:{323.11328125, 321.673828125}, point type:corner}, {class:path point info, anchor:{341.390625, 321.673828125}, left direction:{341.390625, 321.673828125}, right direction:{340.8818359375, 326.474609375}, point type:smooth}, {class:path point info, anchor:{332.3095703125, 330.1943359375}, left direction:{337.341796875, 330.1943359375}, right direction:{332.3095703125, 330.1943359375}, point type:corner}}}
set default fill color of document 1 to {spot:spot "PANTONE 2758 C" of document 1}
set lineRef11 to make new path item in current layer of current document with properties {entire path:{{class:path point info, anchor:{360.9228515625, 332.3701171875}, left direction:{360.9228515625, 332.3701171875}, right direction:{360.9228515625, 332.3701171875}, point type:smooth}, {class:path point info, anchor:{356.8037109375, 332.3701171875}, left direction:{356.8037109375, 332.3701171875}, right direction:{351.88671875, 332.3701171875}, point type:smooth}, {class:path point info, anchor:{347.8935546875, 323.4560546875}, left direction:{347.8935546875, 328.3798828125}, right direction:{347.8935546875, 323.4560546875}, point type:corner}, {class:path point info, anchor:{347.8935546875, 308.8759765625}, left direction:{347.8935546875, 308.8759765625}, right direction:{347.8935546875, 307.9013671875}, point type:smooth}, {class:path point info, anchor:{349.55078125, 307.1640625}, left direction:{348.63671875, 307.1640625}, right direction:{350.46484375, 307.1640625}, point type:smooth}, {class:path point info, anchor:{351.265625, 308.8759765625}, left direction:{351.265625, 307.9521484375}, right direction:{351.265625, 308.8759765625}, point type:corner}, {class:path point info, anchor:{351.265625, 323.7880859375}, left direction:{351.265625, 323.7880859375}, right direction:{351.265625, 326.84765625}, point type:smooth}, {class:path point info, anchor:{356.8037109375, 329.3291015625}, left direction:{353.7431640625, 329.3291015625}, right direction:{356.8037109375, 329.3291015625}, point type:corner}, {class:path point info, anchor:{360.9228515625, 329.3291015625}, left direction:{360.9228515625, 329.3291015625}, right direction:{361.78125, 329.3291015625}, point type:smooth}, {class:path point info, anchor:{362.40625, 330.8349609375}, left direction:{362.40625, 329.9755859375}, right direction:{362.40625, 331.6875}, point type:smooth}, {class:path point info, anchor:{360.9228515625, 332.3701171875}, left direction:{361.78125, 332.3701171875}, right direction:{360.9228515625, 332.3701171875}, point type:corner}}}
set grouped_logo to make new group item at end of current layer of current document
set selection to every path item of current layer of current document
move every path item of current layer of current document to end of grouped_logo
scale page item 1 of thisDoc horizontal scale 50.0 vertical scale 50.0 about center
set VisW to width of selection
set VisH to height of selection
set x to {20, 20 + VisH}
set position of selection to x
end tell