Macro advice please!!!

Macro advice please!!!

brendon_butler
Enthusiast Enthusiast
359 Views
1 Reply
Message 1 of 2

Macro advice please!!!

brendon_butler
Enthusiast
Enthusiast

Hello!

I have tryed to create this macro today [^C^C-layer;make;ENGINEERS;C;8;ENGINEERS;;_seclc;\_change;P;;P;LA;ENGINEERS;;] but I'm getting a problem towards the end of the routine, if someone could help me out.

I am getting the following to work: [^C^C-layer;make;ENGINEERS;C;8;ENGINEERS;;_seclc;\] But I'm obviously missing something after the user selection switch and is not rolling over into the _change command. How do I make the user selection, confirm that selection automatically and then go the _change command?

 

I've attached the seclc.lsp should is be useful to test.

 

Cheers

Brendon

 

0 Likes
360 Views
1 Reply
Reply (1)
Message 2 of 2

brendon_butler
Enthusiast
Enthusiast

Thanks for those of you who may have already started helping me with this, however I solved this myself by reading help. I found that a user selection at the end of the command will end that macro and not continue. Therefore, I ran the SELECT command first to store a selection set first and use PREVIOUS to allow the macro to continue to the CHANGE command.

See below

^C^C-layer;make;ENGINEERS;C;8;ENGINEERS;;_SELECT;\_seclc;P;;_change;P;;P;LA;ENGINEERS;;

 

Cheers

Brendon

0 Likes