CorelDRAW X4 :: How To Modify Macro To Process All CDR Files In Folder
May 25, 2012
I am using Coreldraw but in the past I have been able to create the following Macro to do the following
(1) open a file called C:ArtworkC67PSML.cdr
(2) change the text in one field from "Recorded in Ireland" to "Recorded in China"
(3) remove all guideline fields
(4) export the cdr to pdf format and save as new file C:Artwork2C67PSML.pdf
But I would very much like to be able to run the macro on all CDR files in the c:/Artwork folder, how I could amend my code (shown below) to do this ?
Sub Rings()
Dim doc1 As Document Set doc1 = OpenDocument("C:ArtworkC67PSML.cdr") Call TextTranslate ActivePage.Layers("Guidelines").Editable = True ActivePage.Layers("Guidelines").Shapes.All.CreateSelection ActiveSelection.Delete ActivePage.Layers("Guidelines").Activate
[Code] ......
View 2 Replies
ADVERTISEMENT
May 8, 2012
I have created a macro to change the Country of Origin text in a cd label file and I also have created a macro to remove some guide rings in the same label file but I am unable to combine the 2 macros into one macro I can run on the cd label file. The code for each macro is as below.
Sub Rings() ' Recorded 27/04/2012 ActivePage.GuidesLayer.Visible = True ActivePage.GuidesLayer.Visible = False ActivePage.Layers("Guidelines_2").Visible = True ActivePage.Layers("Guidelines_2").Visible = False ActivePage.Layers("Guidelines").Visible = False ActivePage.Layers("Guidelines").Visible = True ActiveLayer.Visible = False ActiveLayer.Visible = True ActivePage.Layers("Graphic Elements").Visible = False ActivePage.Layers("Graphic Elements").Visible = True ActivePage.Layers("Guidelines").Visible = FalseEnd Sub
'TextReplacePublic Function FindReplace(ByVal str As String, ByVal toFind As String, ByVal toReplace As String) As String Dim i As Integer For i = 1 To Len(str) If Mid(str, i, Len(toFind)) = toFind Then ' does the string match? FindReplace = FindReplace & toReplace ' add the new replacement to the final result i = i + (Len(toFind) - 1) ' move to the character after the toFind Else FindReplace = FindReplace & Mid(str, i, 1) ' add a character End If Next iEnd Function
Public Sub TextTranslate() Dim s As Shape ActiveDocument.BeginCommandGroup "Text Translate" For Each s In ActiveDocument.ActivePage.Shapes If s.Type = cdrTextShape Then s.Text.Story = FindReplace(s.Text.Story, "Recorded in Ireland", "Recorded in China") s.Text.Story = FindReplace(s.Text.Story, "Printed in Ireland", "Printed in China") End If Next s ActiveDocument.EndCommandGroupEnd Sub
how I could (1) join the 2 macros above or (2) create a batch macro for each macro above I could run to update all coreldraw cd label files in a folder.
View 7 Replies
View Related
Jan 20, 2014
When I try to use the Process Multiple Files feature, it is giving me a message saying that the process was stopped or cancelled. Press continue or stop. When I click continue, it say that the folder is empty. It is not empty. This is what I use all the time to put my watermark on my photos.
View 4 Replies
View Related
Feb 5, 2012
I want to modify the standard Lightroom 3 export process - I want exported images to be placed in folders named from the collections that are being exported.
Can I do this without writing a complete plugin - which would be hard work and error prone? Ideally I'd like to add an option to the 'File Naming -> custom ' section of the export dialog.
View 7 Replies
View Related
Jul 12, 2011
I'm writing a macro that will take a .cdr file, import it, and then do something with it. When I first run the macro, I would like an "open file" browser to pop-up so that the user may navigate and specify which .cdr file to import.
View 3 Replies
View Related
Aug 16, 2012
Upon startup of CorelDraw X4, I get an error message and the debugger opens (macro) and highlights a line of code in the Recent Files macro. I suspect it may be a Windows 7 update since about 15 updates were installed today.
P.S. - resetting workspace by pressing F8 at startup is not an option.
View 7 Replies
View Related
Jun 4, 2013
Can I modify an existing viewport in a macro or in the command line?
Using a macro, I want to modify (specifically delete) the viewport from a layout tab after chspace from model space.
I have LT so no LISP. qselect works but cannot be put into a macro.
If I "select all" on a layout tab in paperspace ACAD says 1 of the objects selected is the viewport so I know autocad recognizes the viewport as a different kind of object.
View 6 Replies
View Related
Oct 4, 2012
How the PMS color palettes "simulate" on screen how the color will print on different substrates (glossy vs matte vs uncoated paper). That's great for comps, but if you convert it to CMYK to print it, and the values are representing a "simulated" color it won't look correct (by that I mean come close to matching the spot color). For example, the uncoated palette simulates the color by making them appear a bit washed out on screen - pretty good visual simulation. But it might do so by adding black and cyan to orange for example, etc. - effectively dulling the original color.
So if I convert that to CMYK within the new Pantone + color palette, and then send it to the printer - it won't appear as it did on screen, it will dull the end color even more because it's converted the color to the dull simulated version - what a disaster! It's only doing half the job - showing us what it should look like on screen. In order to be truly efficient for design professionals the CMYK conversion might remove black and cyan completely to effectively brighten the color in the final output on uncoated paper. I would prefer it just stick to the standard conversion, which Pantone did have as a standard palette option (PMS to process), and then I can adjust if I think it's necessary.
Any corporate branding system will likely start with a PMS spot color palette for the identity. Then it will build into many different adaptations - full color brochures, large format banners and trade show graphics, website, advertising. So any corporate branding system will need to have PMS, CMYK and RGB versions of their main corporate color palette. There was a standard for these translations that was automatically consistent in the Adobe software and that is now all over the place, so it relies on individuals manually adapting the color mixes for final use - what a great way to screw things up.
View 3 Replies
View Related
May 6, 2013
I want to crop several images to size, then add a white boarder, a drop shadow and a stroke. Is there a way to automate the process, so they are all exactly the same?
View 32 Replies
View Related
Aug 23, 2012
Is there anyway to batch-process a load of parts and assemblies to turn off work planes, sketches etc in the master design view rep?
I'm aware of the Object Visibility feature but I want them turned off in the model tree.
View 4 Replies
View Related
Jul 19, 2005
All of a sudden I get this message when I try to change the materials of any part within my workspace folder. I looked at the project and everything looks fine. I can save the file but cannot change or add anything now.
View 5 Replies
View Related
Mar 21, 2012
I set up for a client of mine a new file server using samba.
Everything is working OK except the browsing/opening of files directly from the network drive, using both X4 amd X5 versions on windows XP and 7.
View 7 Replies
View Related
May 15, 2008
I'm trying to create a macro that can open a specific folder in iam. same like 'place component from' function but from a specific folder.
View 2 Replies
View Related
Apr 12, 2012
I created a folder on my flash drive. I'm trying to use Batch Process to copy the files to the drive. I'm not adding a script. The name of the new folder comes up in the dialogue box, but when I click on the start button I get a notice that the file already exits and do I want to overwrite it. I click on yes. All the photos are then copied, but when I go to the new folder in my flash drive it's empty.
I'm following the instructions in Diane Koers book on PSP X4.
Also, I can't seem to use Batch Process to save my JPEGs and TIFFs. Is it possible to do this.
View 2 Replies
View Related
Aug 29, 2012
I am trying to copy big assembly with its folders from one folder to another.I cant use Copy Design because I get too long path error.
Alternative way of copying files and keeping its relationships?
View 3 Replies
View Related
Nov 11, 2013
I got over 160 color corrected RAW files from my photographer when I thought I was getting TIf or PSD files. I need to put them into an in design doc to send out for printing. Is there a way to convert all of these in one fell swoop without messing up the work that has already been done?
I didn't allow in my timing to save each one individually since i didn't know I was going to need to do this. I am really unfamiliar with batch processing, so how to best go about this, or if I even can. I am working in Photoshop CS6. version 13.06 x 64.
View 2 Replies
View Related
Jun 13, 2013
Photoshop CS6 Extened won't play or process Dolby Digital (AC-3) Audio Files from my AVCHD video files.The video plays fine just no sound at all. When processed still no sound. Are there any (AC-3) audio codecs I can download and install. How would I install them. Do I need to convert audio files to another format & if so how & what format.
View 1 Replies
View Related
Jan 19, 2012
I opened my catalog today and went to one of my folders (2011/9 September). I noticed that there were pictures in the folder that did not belong and had the wrong name attached to them. I was surprized so I right clicked selected "Show in Finder" the folder 2011/9 September opened the photo was not in the folder.
Knowing the folder it should be in I went there and sure it enough it is there with it's original name.Went back to lightroom optimized the catalog... still there. Deleted folder in Lightroom, reimported, but the files came back.
The folder on the finder has 96 pictures, the folder in Lightroom shows 146.I can deal with removing the 40 odd files in this situation but I am afraid it will occur in one of the folders where there are a couple of thousand images.All my other folders seem fine for now, what would cause this issue?
View 4 Replies
View Related
Jul 26, 2004
am using PhotoShop for web development but mostly for digital photo manipulation.
I have found a couple of PNG files that I thought would transparent but were not. How can I transform an existing png file that has been used to modify the boarder of pictures for rough edges..... The png file is not transparent and has a lot of internal noise/distortion that keeps the "magic wand tool from being able to clear out the middle are in one fail swoop?
View 1 Replies
View Related
Nov 23, 2012
i was running a trial version of X6 before i purchased - got to a few days left and had a few issues where i was able to run the programme, but had to open it, then press ESC before i could do anything..Now - a few days later, and the trial is now expired - i am unable to do anything - i cant sign up, purchase the software, uninstal, modify or repair it!!
View 8 Replies
View Related
Jul 4, 2013
How to run a macro through all the pages at a single instance in a malty page document.
View 3 Replies
View Related
Jun 30, 2007
TransformEach.gms
This is a macro I've been working on for a few days, what it does is it applies the selected transformation to each one of the selected objects individually. It rotates, scales and flips in both axes. I think this is a simple but useful workaround to the fact that Corel doesn't have a native command that does this.
[URL]....
View 9 Replies
View Related
Jun 1, 2011
I have a VB script that I created in excel that does a number of things. At some point I want it to open a series of variable Draw documents based on names and paths from columns in an excel document. This part works fine. However, I also want to perform a macro, created in CorelDraw, on said files once opened. This macro also works fine. The issue I am having is getting Excel to tell Draw to run the macro. I wrote the line with the same syntax I would use for telling excel to run a Word macro. IDK.
Set CorelDrawApp = CreateObject("CorelDraw.Application.15")
CorelDrawApp.Visible = True
Dim i As Long
[Code]....
View 8 Replies
View Related
Mar 4, 2011
I work in a trophy shop running laser engravers. I'm looking for a macro that would select everything on a page, flip it vertically, and do so throughout a multi-page document - I just had to do that manually for an order of 236 acrylics (all in one multi-page file!) and it - well - was a bit tedious I can make a macro to select all and flip - but I'm lost when it comes to getting it done throughout a file, I can only get it to do that a page at a time.
View 14 Replies
View Related
Mar 18, 2011
SanM_ExportToJPG.zip
A few days ago I remembered about my old macro Export To JPG, and I updated this one for CorelDRAW X5. This is not perfect macro.
Macros and tools for CorelDRAW @cdrpro_ru
View 4 Replies
View Related
Oct 24, 2013
This script is supposed to open, modify, save, and close all files within a chosen folder.
There are a couple problems with the script The files are "legacy" .eps and .ai, so a save dialog pops up. I want to save the file and move on, suppressing dialogs if possibleOnly the first file is opened If I comment out the line inside the for loop that runs the convertToUncoated() function, all of the files will open. If there is a way to upload the test files I'll gladly do that.
#target illustrator
/**
* Author: Jeff Hines
[Code]....
View 3 Replies
View Related
Sep 19, 2013
I have downloaded a Free vector (.cdr) file which was designed using RGB color. This files has 100's of objects that are in color with RGB..
Is there a way to convert the RGB color's to cmyk without having to do each one by hand?
Maybe some kind of "Macro?
I need to do this because I am going to have this design printed on a T-Shirt and the printer uses "CMYK 4-Color Process" for their printing.
View 5 Replies
View Related
Jul 31, 2013
so I've recorded a macro to find all drop shadows and seperate them from whatever they're attached to. Now my problems is how to deselect the objects leaving just the drop shadows selected
Sub Macro173()
ActiveDocument.CreateShapeRangeFromArray(ActiveLayer.Shapes(3), '
ActiveLayer.Shapes(1)).Cut ActiveLayer.Paste Dim Paste1 As ShapeRange
Set Paste1 = ActiveSelectionRange
ActiveDocument.Undo
ActiveDocument.Undo
ActivePage.Shapes.All.CreateSelection
ActiveSelection.Separate
End Sub
View 7 Replies
View Related
Apr 17, 2012
Macro or vba code to change art and frameText in draw x5. Some resoruces to learn beginners coding ?
View 5 Replies
View Related
Nov 15, 2012
I am looking for a macro to export EPS files to a designated folder.
select ability to export a number of pages in one hit.
ability to add the page name, file path as an eps naming convention (saves me renaming).
set the character allowed in in the filename.
View 1 Replies
View Related
Feb 12, 2013
I want to take the current document, convert to PDF using a profile I have saved, then create a new email message in Microsoft Outlook, attach the PDF that saw just created, and use the file name as the subject of the email (minus the file extension).
Bonus points for also selecting a signature that I have in Outlook. I know the PDF creation can happen, and I know I can save the file name to be passed on, but can I access Outlook from CorelDraw?
Current System: i3 3.07ghz, 3gb ram, Windows 7 32 bit with all updates and X6
View 14 Replies
View Related