I am trying to automate the export of an open file to Illustrator CS 6 format. I have found that the output is very different from when the same process is run manually. I have to assume there's some kind of issue with the macro, but what could it be?
2K words worth of examples:
File exported while macro was being recorded:
File exported by running the recorded macro:
The macro is obviously killing all the transparencies but since it was recording my actions, shouldn't the macro produce the same results as the actions it was supposed to be recording?
Any suggestions on how I could make this work would be greatly appreciated.
Cheers,
J^2
Seems like that's a red herring. I must have borked something in AI when fiddling with the color settings there. So. Close... If I could just figure out this color issue I would have this problem done.
It is opening as CYMK for me when the Profile is Embedded (The Larger File Size) if it is not, then it opens as RGB.
Interesting... Perhaps I missed something. Here's the code I am using currently:
Dim expopt As StructExportOptions Set expopt = CreateStructExportOptions expopt.UseColorProfile = Trueexpopt.ProofColorSettings = CreateProofColorSettings("U.S. Web Coated (SWOP) v2")Dim expflt As ExportFilter Set expflt = ActiveDocument.ExportEx(fileName, cdrAI, cdrActivePage, expopt) Call util.Log("[Debug] Performing ActiveDocument.ExportEx to " & fileName)With expflt .Version = 10 ' FilterAILib.aiVersionCS6 <-- This file can not be imported into Maya. For color reference only .TextAsCurves = False.ConvertSpotColors = False .SimulateOutlines = False .SimulateFills = False .IncludePlacedImages = True 'fullColor .IncludePreview = True .EmbedColorProfile = True .Finish End With
The above code worked fine for me. It opened just liked the screenshot I had shown above.
Odd... That same code creates a file that opens as RGB for me...
Perhaps you could could send that source CDR file you are testing with so I can compare it to my test file?