OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Corel User Forums > Corel DESIGNER > Macros/Add-ons

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 17-10-2005, 10:51
JSC
Guest
 
Posts: n/a
Default CreateColorSwatch and PageNumbering

The GlobalMacroGMS for CorelDraw12 has a CreateColorSwatch and PageNumbering scripts contained within it.

Can these posssibly be converted to Designer12 GMS compatible scripts?

If so, how can be this done (example of how to modify the scripts) or could someone do this?

They are just as important for Designer and for Draw.

Thank you, John
Reply With Quote
  #2  
Old 17-10-2005, 17:08
shelbym's Avatar
shelbym shelbym is offline
Senior Member
 
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,769
Blog Entries: 9
Send a message via ICQ to shelbym Send a message via AIM to shelbym Send a message via MSN to shelbym Send a message via Yahoo to shelbym
Default Gms

Have you tried just placing the GMS in the Designer Directory, unless these scripts specificly reference Draw, they should work simply by copying the code of GMS to the Designer DIR.

Best of luck,

Shelby
Reply With Quote
  #3  
Old 18-10-2005, 13:38
Alex's Avatar
Alex Alex is offline
Administrator
 
Join Date: Nov 2002
Posts: 1,940
Blog Entries: 4
Default

Copying Draw's GMS files into Designer will not work. However you can move the macros from draw to designer. And here is how.

1. Export all the modules/forms/classes from a Draw's GMS file into corresponding .BAS, .FRM, .CLS files (through VBA in CorelDRAW).

2. Create a new GMS file in Designer's GMS folder and go to its VBA editor

3. Rename the GMS file's project name into something that makes sense (other than GlobalMacros)

4. Import back all those .bas, .frm, .cls files.

Now you can use the macros in Designer
Reply With Quote
  #4  
Old 19-10-2005, 00:13
JSC
Guest
 
Posts: n/a
Default

Thank you for the tip, Alex.

I'll giver a try and see how it goes.

******************************

Alex, it worked. Thanks again.

Last edited by JSC; 10-01-2006 at 16:43.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 15:55.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com