Hello Guest it is April 29, 2024, 04:32:07 AM

Author Topic: Help Strange Macro Problem seems to load at startup  (Read 388 times)

0 Members and 1 Guest are viewing this topic.

Offline gorf23

*
  •  189 189
    • View Profile
Help Strange Macro Problem seems to load at startup
« on: December 31, 2022, 10:23:14 AM »
I was working on a macro for a wxlua dialog i ran the macro and the dialog box and buttons appaired on screen and seemed to work ok.

But wouldn't close on exit, now every time i boot mach4 the dialog box loads and displays on screen but my screen is a blank page no mach4 screen set displayed..
and i still can't close the dialog box and when i exit mach4 it crashes..

any suggestion's other than starting over, i can't get back into screen edit to copy any of my newer scripts, i would like not to have to rewrite them..

Thanks gary 

Offline DazTheGas

*
  •  778 778
  • DazTheGas
    • View Profile
Re: Help Strange Macro Problem seems to load at startup
« Reply #1 on: December 31, 2022, 11:55:13 AM »
Run "Mach4GUI.exe  /e" from the command line, this should load you direct into the editor after selecting your profile.

DazTheGas
New For 2022 - Instagram: dazthegas

Offline gorf23

*
  •  189 189
    • View Profile
Re: Help Strange Macro Problem seems to load at startup
« Reply #2 on: January 02, 2023, 05:59:19 PM »
Thanks DazTheGas

Got it working for now, till i break it again :)

Offline Bill_O

*
  •  563 563
    • View Profile
Re: Help Strange Macro Problem seems to load at startup
« Reply #3 on: January 02, 2023, 06:01:48 PM »
When I am doing things with the Mach I make a copy of the folder before I change anything.
Then when I mess up I just delete the Mach4 folder and rename the copy.

Offline gorf23

*
  •  189 189
    • View Profile
Re: Help Strange Macro Problem seems to load at startup
« Reply #4 on: January 04, 2023, 07:16:24 PM »
I guess I ran into another glitch..

I have the dialog working fine as it seems it's in a m code file m1005

if I place the m1005 in side a g code file it seems to run fine dialog displays good and i can run the g code file over and over and no error's

but now when I close mach4 and exit mach4, it seems to crash wants to generate a crash error file every time i close after running the dialog though g code..
It doesn't crash if I have run it with the MDI

is it not allowed to run a Lua wx dialog being called from a g code file?