Hi,
I have just finished my first Delphi macro a few days ago, and sent it to a user for testing. He raised a point which I had already noticed but had not gotten around to asking about:
When you enter the name of a dmx macro in the 'Enter macro filename' dialog you need to enter the '.dmx' extension. This is different to the way it works with dcx files (where the file extension is not required).
This would not be such an issue except that having used a macro once, the name is retained in the dialog next time you go to invoke a macro. But the retained name does not include the file extension. So if you use a dcx macro you only have to invoke the selection dialog and press enter to use the same macro again. But if you invoke a dmx macro you cannot invoke it again in this way (as the file extension is not there).
I guess that it is assuming a dcx extension if no extension is entered, so in the case of the dmx macro it does a file.
I am wondering if others have an opinion about this, or if there is any chance that this could be changed to look for a dmx file if the dcx file is not present?
Thanks,
David H
I have just finished my first Delphi macro a few days ago, and sent it to a user for testing. He raised a point which I had already noticed but had not gotten around to asking about:
When you enter the name of a dmx macro in the 'Enter macro filename' dialog you need to enter the '.dmx' extension. This is different to the way it works with dcx files (where the file extension is not required).
This would not be such an issue except that having used a macro once, the name is retained in the dialog next time you go to invoke a macro. But the retained name does not include the file extension. So if you use a dcx macro you only have to invoke the selection dialog and press enter to use the same macro again. But if you invoke a dmx macro you cannot invoke it again in this way (as the file extension is not there).
I guess that it is assuming a dcx extension if no extension is entered, so in the case of the dmx macro it does a file.
I am wondering if others have an opinion about this, or if there is any chance that this could be changed to look for a dmx file if the dcx file is not present?
Thanks,
David H
David Henderson
dhSoftware - Add-on Macros for DataCAD
dhSoftware - Add-on Macros for DataCAD