Is there a way automatically run a macro on startup?

Started by Gymbo, October 06, 2021, 11:46:45 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Gymbo

Regards,

Jim

Pearco

Gymbo;
I remember back in the dark ages of Dcad I did that by creating a blank saved file that opened with a macro to run with all the settings you want to begin with. Then save as what ever you want.If you look in the set up of the work space dialog box you can name it there. But remember this info is coming from a very rusty memory.
Jim
User since ProDesign 1.5

Gymbo

Regards,

Jim

Pearco

Gymbo;
If you always start with the same workspace set up,then go to that workspace dialog the top choice is to set a macro to start when the program starts. There are some other picks there also.
Jim
User since ProDesign 1.5

Gymbo

Regards,

Jim

Gymbo

It looks like it runs the macro before it loads the program, which doesn't work for me. No Biggy.
Regards,

Jim

Rob S

Some forum searches have turned up another way to run a startup macro. 

You used to be able to insert the macro name in an ini file called DC3MAXDEF.INI

I don't have time to test right now to see if it still works in recent versions, but it should.

https://forum.designcad.com/index.php?topic=247.0

https://forum.designcad.com/index.php?topic=1185.msg5918#msg5918
User since forever

Gymbo

Thanks Rob, but the first link essentially performs the same as the Workspace, runs the macro before the Dcad file is loaded.

The second link gave me an error.
Regards,

Jim