Making a MACRO "finish" Cleanly

I have created the following macro but I cannot get it to "finish" properly, I always have to R Click the mouse prior to selecting the print icon in the printing dialogue box. I have tried multiple ways to make it "finish" cleaner but haven't found the right combination. For example, following the instructions from the Help files for Action Strings, I have tried the E, T & K Key Ins and also multiple spaces, slashes (/) and semi-colons (;) all to no avail.

FIT VIEW EXTENDED 1; PLACE FENCE ACTIVE; / ; PRINT

Using V8i

Parents
  • are you actually using a macro or is it a keyin script that  you run either run from menu or f key  or a text script file?

    You need to add the "execute"  at the end for it to finish

    here is what  I use on f12

    fit view extended;place fence allfiles;selview 1;PRINT;print maximize;print driver MyprinterPDF.pltcfg;execute

    Lorys

    Started msnt work 1990 - Retired  Nov 2022 ( oh boy am I old )

    But was long time user V8iss10 (8.11.09.919) dabbler CE  update 16 (10.16.00.80) 

    MicroStation user since 1990 Melbourne Australia.
    click link to PM me 

Reply
  • are you actually using a macro or is it a keyin script that  you run either run from menu or f key  or a text script file?

    You need to add the "execute"  at the end for it to finish

    here is what  I use on f12

    fit view extended;place fence allfiles;selview 1;PRINT;print maximize;print driver MyprinterPDF.pltcfg;execute

    Lorys

    Started msnt work 1990 - Retired  Nov 2022 ( oh boy am I old )

    But was long time user V8iss10 (8.11.09.919) dabbler CE  update 16 (10.16.00.80) 

    MicroStation user since 1990 Melbourne Australia.
    click link to PM me 

Children
  • This helps, I will try it.  Been frustrated over the issue for a long time, have not see ";execute" documented.

  • when I told msnt  to print I went to the mdl load keyin and looked at all the available keyins  from the already loaded mdls and I went  back to all the docs under printing  I admit I did this way back in V8iss2 and figured out the execute and the  printer settings but there is another equally important  setting

    Workspace config>Printing>Automatically  fit view change to 1

    sets MS_PLOT_AUTO_FIT_VIEW=1

    This then also helps to force a fence automatically  around the extents of  your drag sheet  / title block in model space

    The only problem with the execute you is don't get a chance to change the scale if your not happy with it... and even control P should place your  fence automatically provided all your configs have preset  default printers.pltcfg etc  there is quite of lot under printing in the work space config

    Lorys

    Started msnt work 1990 - Retired  Nov 2022 ( oh boy am I old )

    But was long time user V8iss10 (8.11.09.919) dabbler CE  update 16 (10.16.00.80) 

    MicroStation user since 1990 Melbourne Australia.
    click link to PM me