Ask questions about DataCAD 20, DataCAD LT 20, or previous versions here.
#18708 by ERT
Tue Jan 16, 2007 4:35 am
Which action code need to use in the toolbar icon action, that the new (Delphi) macros run if I click the icon?

M: only DCAL macros, the new macros is not run.
#18760 by ERT
Wed Jan 17, 2007 5:09 am
Macro extension RENAME from DMX to DCX

I test with my macro. and It's OK.

Macro.dmx (before renameing)
M:macro ---> wrong
M:macro.dmx ---> wrong
A:^Mmacro^$ ---> wrong
A:^Mmacro.dmx^$ ---> wrong

Macro.dcx
M:macro ---> good, macro is running

Why don't worked with DMX extension?
#18791 by joshhuggins
Wed Jan 17, 2007 11:51 am
There was something explained on this somewhere but I can't remember exactly what it was, just that I think things worked out where it was possible. Search the forum and the dbug list and you should be able to find it. Sorry I that's not too much help huh? :?
#18866 by ERT
Thu Jan 18, 2007 5:23 am
I tried, but ...
I don' know that good phrase, which is give good result.
for example:
- toolbar AND icon AND action, or
- toolbar AND action AND macro, or
- icon AND action AND macro, or
- ...

Which is good?[/list]
#18883 by joshhuggins
Thu Jan 18, 2007 12:01 pm
O.K. I found it. The answer was in the DBUG Archives, which is also a great place to search for information.

The trick is to rename the extension from .dmx to .dcx and then adjust your code accordingly.
Code: Select allA=^;^S9^Arrow.dcx$^
or
A=^;^S9^Arrow.dcx^$^
or
A=^;^S9^Arrow^$^

Apparently it's due to the macro tracker not tracking the extensions and it assumes all macros have an extension of dcx.
#18921 by ERT
Fri Jan 19, 2007 5:22 am
Thanks

But before I wrote that I were wise to it oneself.

Thanks once more :D

Who is online

Users browsing this forum: No registered users and 106 guests

About DataCAD Forum

The DataCAD Forum is a FREE online community we provide to enhance your experience with DataCAD.

We hope you'll visit often to get answers, share ideas, and interact with other DataCAD users around the world.

DataCAD

Software for Architects Since 1984