CorelDRAW X4 :: How To Combine 2 Macros Or Run A Batch Process On Each Macro
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
ADVERTISEMENT
Jul 3, 2012
I found Oberon Fit Objects To Path as a very interesting macro and i tried to download it.I have downloaded the zip file from Oberon website , but an Error showed up on my screen saying:Â "Unable to find CorelDraw x5 installation"...
I know the reason for this is because of the x5 version, which i don't have in my system.But i have also downloaded some other macros that are x4 or x5 versions and they are working excellent on my CorelDraw x6.
Any other macros similar to the "oberon Fit Objects To Path" macro?
View 14 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
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
View Related
Sep 30, 2011
I have a subroutine i wrote that works fine.Just not sure how to turn it into a batch processor so i can apply it to all the files in a directory. And would I just run it like i run the non-batch version, like, from a document? Or is there some kind of batch process setup in corel where I can just load a sub and point to a folder and run it, like illustrator?
View 8 Replies
View Related
Jun 17, 2012
I am having issues with the batch process function with X6 photopaint.
that is a simple conversion of 20 or more images from TIF to CPT. i get the message
"Images failed to load. Some formats are not supported for batch processing". I have never encountered this problem before.Â
View 4 Replies
View Related
Mar 27, 2012
Back with photoshop after some time away and a while back i set up a few macros/batch jobs to add frames to photos and had a few set up depending on the resolution of the photo, portrait/landscape.Â
I know how to create them again - but obviously would rather not! so question is how do i find out what Function keys I mapped the different batches to?
View 1 Replies
View Related
Apr 21, 2009
After assembling the render output of my 3d app in photoshop (32bit) and changing the appearance via several CC layers in different layer modes (e.g. Hue/saturation in Overlay mode) I ended up with my composing for print purposes. The comp is complex, with several masked folders, single masked CC layers and many image layers (some with masks). Now the client wanted me to animate part of the image. No problem I thought. But the trap is of how to assemble the different image sequences (diffuse, specular, reflection, masks, etc, etc). I came up with a PS action which loaded the single images and arranged them in the same fashion as the master file. But now PS doesn't load the incremental images for the batch processing. Images are named in a Diffuse_00001, Specular_00001, ... fashion. Loading the first set works, but from Diffuse_00002 everything goes wrong and PS load the 00001 files (except from one file which loads in the proper incremental way). I can't transfer this stuff to AE as it is much too complex and I do no AE only very little. I guess PS should be capable to solve this batch task, but a simple action via batch seems to fail.
View 1 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
Nov 21, 2005
I really hate the "JPG Options" Dialog Box while I was doing a batch job of Autocolor + Duplicate Layer > Mode SofLight. Is there any way to disable that Dialog box , or saving the settings as default so it won't come again in future ?
View 7 Replies
View Related
Feb 26, 2008
I’ve set up a retouching process in photoshop cs2
Now at the moment, I have to open each image and hit the retouching button which takes ages when I have 500 images to touch up
How do you process multiple jobs at a time?
I remember seing a guy just dragging all the pictures he wanted touching up in a folder and that’s it.
think its called batch progess?
View 2 Replies
View Related
Dec 13, 2011
I've deleted my test macro from my .CDR file via Tools -> Visual Basic... But after closing Corel and opening that file again, it says that it "contains macros"
View 2 Replies
View Related
Feb 27, 2012
Process a batch of files?
View 5 Replies
View Related
Aug 5, 2008
completely remove the white background. Because this will be a batch process that includes others lighter hats, I can only use a maximum of 10 as a tolerance. When placed on a black background, it reflects some white fringe.
I'm starting with the Magic Eraser (10 tolerance), then doing Layer/Matting/Defringe, and no matter what tolerance I apply there (up to 20), some white pixels remain around the edge. Very frustrating to find a happy medium process in order to batch various colors to an acceptable quality.
View 9 Replies
View Related
Aug 9, 2004
Is it possible to put a watermark on images in photoshop,like putting the word "preview" or "sample" on the jpeg,with a transparant type of effect on it?
Also would it be possible to do this in a batch process?
View 2 Replies
View Related
Mar 24, 2012
macros are all disabled and i remembered there is a command to disable all the events but i could not figure out where exactly it is located and even i tried to reinstall the using modiy and repair twice times to install the software but still persists to activate the macros.
all the macros are grayed out and even Alt F11 also not working.
View 2 Replies
View Related
Mar 9, 2011
Have new pc want to move macros... Have exported workspace but Macros did not come...
View 1 Replies
View Related
Mar 25, 2012
Assigning shortcuts to macros? I did some but now the option to select macros has completely disappeared.
Correction - all my macros have disappeared. The macro manager is showing up empty. It's as if X6 can't see any macros at all. Delay Load is unchecked.
Just noticed the file name window is named "trial expired" - yet I can open a file.
View 8 Replies
View Related
Jul 4, 2013
Been meaning to make some more videos. Here's one I made today pertaining to looping.
[URL].........
[URL]......
[URL].........
View 1 Replies
View Related
Aug 14, 2013
I am trying to switch from X3 to X5, I moved my macros to the X5 GMS folder but the macros don't show up under "Macros" in the customization dialog. I can do Menu>Tools>Macros>Run Macro... and run a macro like that but I would like t be able to assign shortcut keys to the macros and create tool bars, but so far no luck with that.
View 6 Replies
View Related
Jun 15, 2011
I installed the X5 suite and updates, set up my macros, and everything was working fine. When I restarted Coreldraw, all my macros were disabled? I uninstalled, rebooted and reinstalled, and the same thing happened again. Everything works fine in X4.
My OS is Vista Home Premium with Service Pack 1.
View 12 Replies
View Related
Aug 11, 2012
I have a batch of 1000 images that all need to be processed with the exact same levels adjustments and the exact same crop command. I recorded the necssary actions in photoshop, and I can now open up approximately 20 of my images and batch apply the actions to all 20 images automatically. The trouble is that I have 1000 images to process like this, and I can't open all 1000 in photoshop at once; it just kills my machine. I don't want to do the whole 1000 in little batches of 20 either. I'll be getting a new pile of 1000 images to process like this every day or two, so I need a way to do the whole 1000 automatically without user intervention.
Â
Is such a thing possible?
Â
I'm a software develoeper by profession, so if doing this sort of massive batch processing requires any command line work or scripting then I would totally be up for that.
View 2 Replies
View Related
Apr 12, 2013
I'm using Photoshop CS5.5, and I'd like to batch process a folder with thousands of images ordered in several deeper subfolders.
The problem is, that I'd like to do this with preserving subfolders order, as it's the most important part of my project.
View 2 Replies
View Related
Jul 17, 2013
I have a set of actions i need to run on a couple of hundred jpegs, they simply need a lens correction, auto colour and auto contrast, then need saving as tiffs, all works fine when i record the action, but when i run it on a folder full of jpegs, the tiffs are huge! original jpegs are around 5mb and the tiffs are 30mb, if i apply the save as to a file individually it seems fine (file size around 2mb)
In the save as section i have specified jpeg compression at a quality of 8, but it seems to miss this in the batch process, am i missing something?
View 4 Replies
View Related
Dec 4, 2012
I have several .psd images that I need to turn into .swf's. The only solution I can figure is to place the psd into illustrator and save. Is there a faster/easier option as I have hundreds of files that I need to do this to! I also need them to be .pngs.
View 13 Replies
View Related
Apr 2, 2013
I work at an animation studio where our artists work directly in Photoshop CS5 to draw storyboards (3 panels across). We are having major difficulties figuring out how to successfully convert our action (which exports the three panels as tiff images) into a batch process,
The action basically just selects each channel of the main storyboard (three channels for the three panel areas), copies/pastes the image into a new canvas, saves that new image as a tiff to the desktop. It does that for all three panels and yields three tiff images on my desktop, which I then have to drag and drop into a folder before running the action on the next page or else it will replace the previous round of images (saving over them).
Â
Using Automate > Batch doesn't work and I am wondering if it is even possible to run a batch or if the action is simply too complex because it creates three new image files.
View 4 Replies
View Related
Jun 14, 2013
Just recently got into time lapse photography and have been batch processing away to my hearts content. I have one scene that looks unbelievable with the "surrealistic" HDR toning preset. However, I record my action and set up the folders and set it to go, but it seems to want me to click "ok" after filtering each photo...there's 1685 of them, so not very keen on that.
View 1 Replies
View Related
Jan 20, 2008
I am making sets of wedding stationary for a photography studio. Each set contains an invitation, dinner card, place card etc.
Each set has a dominant color throughout the series.
What I want to do is offer each set in a variety of colors but going through each image, replacing the color in each layer with the new color for each image in the set would take forever.
Is there a way to "Batch process" this where I can replace a color in each image with a new color. I think I may have to make a separate action for each new color I want to use but that is still better than nothing.
Also, I need to keep the new images in layers as the studio wants the ability to go in and make layer changes if necessary.
View 3 Replies
View Related
Mar 2, 2006
I need to add a logo onto several jpg images and then re-save them as jpg's.
I start the action recording, then open the image, then opening the psd with the logo, I then duplicate the logo layer onto the jpg file. I then move it into place and then save the jpg. After this I stop the action from recording.
Now when I go to run it in batch mode, at the point it should duplicate the layer from teh psd file onto the jpg, it says cannot open "new document"
way I can create an action and get the image onto the jpgs and avoid thsi error?
View 1 Replies
View Related
Dec 12, 2007
Is there way to get around the process of...
I setup to batch some images with a Action i created.
I chose Save and Close, but each time it goes to save the JPG window pops up to ask me what quality, etc..
I want them to just save as JPG quality 10.
I don't want to have to hit enter after every image is processed.
View 2 Replies
View Related
Aug 5, 2005
there were a simple batch process for resizing ... primarily for resizing width. This would be good for quickly creating thumbnails from larger images.
View 15 Replies
View Related