Jump to content

HELP with a non working Macro


AndyC

Recommended Posts

Can anyone see what the difference is betwen the following two macros.

 

The first one works and allows me to first insert an incremental number and then a block.

 

The second, where i have swaped the order around and have tryed to insert the block first does not work. It allows me to insert the block and end simply ends and does not attempt to insert the incremental number.

 

MACRO 1

 

^c^c-layer;m;"LB-T007-SET-OUT";c;WHITE;;l;continuous;;;-insert;"LB-setting-out-point";sc;"~";;;;$M=$(+,$(getvar,USERR1),$(getvar,USERR2));setvar;USERR1;$M=$(+,$(getvar,USERR1),$(getvar,USERR2));-insert;"LB-setting-out-point";sc;"~";;

 

 

MACRO 2

 

^c^clayer;m;"LB-T007-SET-OUT";c;WHITE;;l;continuous;;;_text;\;;$M=$(+,$(getvar,USERR1),$(getvar,USERR2));setvar;USERR1;$M=$(+,$(getvar,USERR1),$(getvar,USERR2));-insert;"LB-setting-out-point";sc;"~";;

Link to comment
Share on other sites

Thanks for the response

 

That was a typo and have correctly added -layer at the start, but the macro still stops after (getvar,USERR2)); and will not run the -insert part of the command.

 

see amended macro below

 

^c^c-layer;m;"LB-T007-SET-OUT";c;WHITE;;l;continuous;;;_text;\;;$M=$(+,$(get var,USERR1),$(getvar,USERR2));setvar;USERR1;$M=$(+ ,$(getvar,USERR1),$(getvar,USERR2));-insert;"LB-setting-out-point";sc;"~";;

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...