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!
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:
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
Ok, I made some more changes, try the attached version. If not - I guess it might be related to how VBA deals with values in different versions or something. To overcome that let's try this:
When you get to that debug screen Right click the yellow bit and pick Definition, you'll end up at a line like this:
Sub ShowForm() LMS End Sub
LMS
End Sub
you need to disable the setting loading so add an apostrophe before it, like this:
Sub ShowForm() 'LMS End Sub
'LMS
And then hit F5 (if it says that changes will restart the project that's ok too - just accept and then try to use the thing again).
If it works there will be saved settings and you can try to uncomment this line.