Error binding a macro to context menu

  • 1
  • Problem
  • Updated 4 years ago
I am trying to bind a custom created macro to the topic context menu and am getting an error when I select it.

I have confirmed that the location of the .mmbas file is correct (I have re-selected it several times) and that the macro itself doesn't error out.

The configuration dialog looks like this:



The error message I get when I click on it is this:



Anyone got any ideas??
Photo of Mike Danielski

Mike Danielski

  • 191 Posts
  • 6 Reply Likes

Posted 4 years ago

  • 1
Photo of Nigel Goult (Olympic & MIVAP)

Nigel Goult (Olympic & MIVAP)

  • 348 Posts
  • 134 Reply Likes
Hi again Mike,

Try any or all of these.

A) remove the hyphen from the macro name
B) remove the space from the macro filename
C) relocate the macro to another location like My Documents

Good luck.

Nigel
Photo of Nick Duffill

Nick Duffill, Champion

  • 508 Posts
  • 169 Reply Likes
I could not reproduce this on MM15. Even if the macro is invalid (has compilation errors), the Organize Macros dialogue still accepts it. Time for a reboot! :)
Photo of Mike Danielski

Mike Danielski

  • 191 Posts
  • 6 Reply Likes
Thanks Nigel, That did the trick! I renamed all of the macros and camel cased all the names and everything seems to be working just fine now.