connecting users of the CorelDRAW family of products

Challenge #18 Quick Cool Macro..

rated by 0 users
This post has 7 Replies | 0 Followers

Share  
Page 1 of 1 (8 items) | RSS

AdvancedArtist Posted: Thu, Oct 22 2009 20:21

One of the things that makes Corel so cool if you ask me is VBA.. Here is quick Macro set up in a tutorial..

 

 

Thomas Knight www.advancedartist.com artist@advancedartist.com

Very very helpful and informative, thanks for sharing it man. This video has answered whatever querries I had in my mind which I would have found difficult to ask.

One thing more that I'd love to add here is that you can use your Undo Docker to save your actions as a macro. I found this very cool when I first came to know about it.

Peace I-)

Top 200 Contributor
Mesquite, TX USA
Male

I agree with you about macros making things easier, I just have trouble remembering which ones are installed and ready to use and which ones are waiting in the wings not yet tried. Let me ask this question if I may, since I have NEVER created a macro of my own. Do you create the macros in Corel by recording the actions that you want to use as a macro as in the video and if you can create them some other way, do the help files have enough info to get one started? I am wondering if Foster's DVD has some coverage about this, I will have to check it out. There are so many already available, so this is for future information. I will have to go back and review your video (BTW, thank you for another freebie). Can you use these to open and close color palettes as needed ( I am thinking about the fleshtone palette as I type)? I still need to buy your video package(s). You go more into the production end of things than some.

chuckray

Hi Ray,

I don't think there is any thing any where in more detail than what ships with coreldraw.

Peace I-)

Top 200 Contributor
Mesquite, TX USA
Male

Thanks Aleem, I will have to take a look and become familiar.

chuckray

Top 10 Contributor
Cave Creek, AZ
Male
TAG - Mediamarketplace (Foster)
Chuck,
 
Yes, I do cover it in my book, but not in depth for programming. I cover it from the aspect of an end user who wants to create a simple macro.
 
Personally, I always start by recording the steps I want in my macro. If there is something I want to clean up, modify or extend; I'll go into the VBA editor to do that. But I'm not a programmer. I'm sure that those who read/write VBA in their sleep can write code from scratch without the recorder.
 
The documentation supplied with CorelDRAW is more extensive, but I find it over the heads of the typical user. It is more geared towards those with a programming background.
 
 
Top 10 Contributor
Pigeon Forge, TN
Male
TAG - gdgmacros.com

Here's my method for learning vba with coreldraw:

1) First and foremost...You gotta want it. You gotta love it. Devote some serious time to learning it and make it priority. Don't dabble to much. Just stick with it for a period of time and this will keep your brain fired up so you don't forget things you learned as if you were dabbling here and there.

2) Get a second monitor and leave the vba program open in it. You can keep it on record and while you do your regular dailty work with corel you will be able to see the commands popping up everytime you do something. This will also help to keep you fresh.

3) Get a task or create a macro. Create something that you need and will help you in your daily work. Create something you really DESIRE to create. It's always tough starting but soon the code you create will come alive. After creating a few macros of your own you will see the power in your own hands.

4) Read "Corel Draw X3 Graphics Suite Programming Guide for VBA.pdf" if you can find it. I seen this book and it seems to be the best for learning vba with coreldraw. All other books are geared for office. Sorry. I don't have it anymore. I think I accidentally deleted it.

5) A prior knowledge of any programming language helps. I am first a PHP developer and found vba to be quite a tough transition but the loops, and if statements and others are all pretty much the same, so it did help a little. If you know JavaScript then the transition should be even easier.

6) There's 2 help files. Corel's help for Microsoft vba itself is awesome and really don't take to long to read. This will give you many basics. READ IT!
Corel's help for the coreldraw object model is also great and has many code examples. Anytime your coding you can simply hit f1 when your cursor in on a word and either the Microsoft vba help or corel object model help will pop up describing that piece of code and usually has examples..

7) The forum over at oberon place is invaluble. The people are great and willing to help. There's tons of code examples too. Study them and keep your brain fired up.

...And don't worry. If it takes you 3 hours to create a simple line, or seemingly forever to do a tiny little task, this is normal and part of the learning process. Along the way you will learn tons of things accidentally while trying to do it.

 

Hope this helps.

-John

"The best thing about learning is that it never stops, and the rabbit hole will go as deep as you let it."
~John
www.gdgmacros.com

Top 200 Contributor
Mesquite, TX USA
Male

WOW! What a responsive group this is and why I am thankful that it exists. I don't know how much time I will be able to devote to learning VBA, but it does sound like a profitable challenge. Maybe I'll try to create one to answer the challenge?!

chuckray

Page 1 of 1 (8 items) | RSS
© Corel Corporation. The content herein is in the form of a personal web log ("Blog") or forum posting. As such, the views expressed in this site are those of the participants and do not necessarily reflect the views of Corel Corporation, or its affiliates and their respective officers, directors, employees and agents. Terms and Conditions / User Guidelines.