Author Topic: Stop Recording Macro causes error - v2011  (Read 2415 times)

JimmieC

  • Senior Community Member
  • Posts: 477
  • Hero Points: 16
Stop Recording Macro causes error - v2011
« on: April 30, 2015, 02:05:27 pm »
I went through some debugging yesterday with my first macro in SE. See link below.
https://community.slickedit.com/index.php/topic,11357.0.html

However, as a result of those debugging steps (I think), I now get an error when I attempt to stop recording a macro. See attached images.

Jim

JimmieC

  • Senior Community Member
  • Posts: 477
  • Hero Points: 16
Re: Stop Recording Macro causes error - v2011
« Reply #1 on: April 30, 2015, 02:13:49 pm »
Additional information:
Directory listing of ...Documents\My SlickEdit Config\16.0.3 attached.



Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6468
  • Hero Points: 504
Re: Stop Recording Macro causes error - v2011
« Reply #2 on: April 30, 2015, 02:35:16 pm »
Looks like you unloaded the wrong macro and now the function in that macro can't be found. Off the top of my head maybe you unloaded last.e instead of lastmac.e. Try loading last.e. I think that has the st() function.

JimmieC

  • Senior Community Member
  • Posts: 477
  • Hero Points: 16
Re: Stop Recording Macro causes error - v2011
« Reply #3 on: April 30, 2015, 02:42:40 pm »
Thanks Clark,
That fixed it. Yeah, at some point I was unloading lastmac.e and I probably unloaded both. Maybe a "Load Default Macro Set" button would be in order to catch stuff required for proper function. I don't really know enough about it to opine strongly on that. Probably not if this kind of problem rarely occurs.
Jim