Copy/Paste Illustrator

Has anybody been able to use Oberon's macro that copies to adobe Illustrator with Draw X5? I've been following some suggestions from the forums at oberonplace but I haven't been able to make it work. I wonder if it has anything to do with the fact that it relies on some of the old Corel scripting commands?

  • I'm using it to go between X5 and CS5. There are some issues with
    transparencies but it works well enough. What specific problems are you
    having? Any error messages?

    Steve
    www.brutefish.com
    • When I try to copy nothing goes to the clipboard. Pasting works after I changed one line but I cannot copy in Corel and paste in Illustrator or  Photoshop.

       

      ************EDIT************

      I went to oberonplace.com and I noticed that now X5 is not listed as one of the supported versions. I guess I'll have to wait until it's fixed.

      • HI.

        I see X5 supported for this macro on this page

        -John

        • When you click on the link that takes you to the download page X5 is not listed as on of the versions supported and obviously it's not since so many users are having problems with it. I'm working with other people at other forums trying to fix it. I did what you suggested at the oberonplace's forum: I commented out the line that was causing the problem and I recorded a new export macro and replaced the export filter options in Alex's macro but I don't think the problem is related to the exporting part; when I run the macro, it analyzes the document as if it was exporting; I don't get an error message but nothing is available to paste, the PASTE command is dimmed.

          If I run the macro copying as Illustrator (I was trying EPS) I get a run time error, if I record a new export macro and replace the settings the error message does not appear anymore but still the clipboard is unavailable. When I run the Windows "clipbrd" command, it seems that there is something there but is not displayed, it tells me that the information cannot be previewed in its current format. However if I copy something from Illustrator I can see it in the clipboard viewer.

          When I try to paste the PASTE command is available in Illustrator but nothing happens when I click it. If I create a new document in Photoshop, the option to created based on the information in the clipboard is dimmed (should be active); If I try to paste, the PASTE command is available, when I click on it I get the regular dialog box that asks me what kind of object I want to paste, and regardless of what I choose i get an error message saying that the object could not be parsed.

          Anyway I appreciate your help.

          • Hi.

            I just tested by replacing some of my settings in the sub CopyToClipBoard:

            Between If statement: If bCopyAI Then

            .Version = IIf(VersionMajor > 12, 2, 0) ' FilterAILib.aiVersionCS2
                        .TextAsCurves = True
                        .PreserveTransparency = False
                        .ConvertSpotColors = True
                        .SimulateOutlines = False
                        .SimulateFills = False
                        .IncludePlacedImages = True
                        .IncludePreview = False
                        .EmbedColorProfile = False
                        .Finish

             

            I copied using the macro and pasted to Illustrator successfully.

            Here's an image of my replacement:

             

            Also make sure the macro is creating the temp file. Comment out these lines (below) and check folderC:\Users\<username>\AppData\Local\Temp for a Temp.ai file

            If the file is not being created you might have a Windows permissions problem.

             

            I finally got a chance to test. Hope this helps.

            -John

            • Ok, I got it to work finally. This is what I changed that made it work: the highlighted number was a "5" and I changed it to a "2" and now it works.
              • Coulf you guys check the link I have posted below? May be you can help. I think.

                http://community.coreldraw.com/forums/t/26439.aspx