Hello, all
I have been looking into polishing up some of my macro stuff by properly reacting to document settings and such and prettied something that was built for everyday use. It's a simple little tag adding tool:
To try it out just download the attached zip and extract the GMS file into: C:\Users\YOUR USERNAME\APPDATA\Roaming\Corel\CorelDRAW Graphics Suite X6\Draw\GMS
Then in CD go to Tools ==> Macros ==> Macro manager and launch the ShowForm bit.
If you have a document open and a shape selected it should work just fine.
As can be seen some more options are in store - if you have any suggestions, feel free to share.
Hi.
Pretty Cool. Let's build on it
Options to have tag say Color or size?
Nice work!
~John
Thanks, John!!
Sub GDG_John( ) said:Options to have tag say Color or size?
I do plan to add sizing (as indicated by disabled buttons) - it would work the same easy way - just press to read in sizes, add comments if needed and insert neat, readable arrows.
Color - now that's a cool idea!
Alright, thanks to John's advice I have updated the tool with saving of last used values as well as its position.
Also you get the fairly neat dimension lines - the benefit being their clean appearance and easy setup (Press Get to get the values from a current selection) :
Feel free to suggest line ending styles should you want them.
There's also (partially finished) Fill color insertion.
That's looking sweet!
Cool. I was thinking of putting size in a tag, not dimensions. There are already many dimensioning macros.
A fast way to note size in a simple tag, rather than putting dimensions, would be new and keep the theme of the macro together.
Well, it's up to you - you can put the size info you get into a tag - or you can put some text on a dimension line.
I prefer this style of dimensioning for client previews - it's quick and easy and looks clean and readable, hence the function.
Came back from a bunch of work-related trips and finally added some extra options to this little tool. You can now pick which fields get filled in when you use the corresponding buttons and also there's a decimals setting for precision. Here' s a handy demonstration GIF of it in action:
very cool!
Dear Joe
I am Getting Error During the running of your Macro.
Using Windows 7 Ultimate x64 with coreldraw Graphic X6.
Three Files Attached
During Running of your Macro Me Getting Attached Errors
Yes, same problem here too.
Hi there! I had failed to notice that previous message.
Two things come to mind:
1) Make sure you run the ShowForm part of it.
2) In theory I have thought of all the possible color modes and such, but perhaps something was missed.
I have attached a non password-protected version (there's no rocket science in there anyway). If it crashes again please press Debug and share a screenshot of the highlighted line.
Hi Joe,
CMYK document is that matters. This is what I get when I run the macro:
Looks like a cool macro. Don't use many for what I do, but this would be handy.
Take care, Mike