Machsupport Forum
		Mach Discussion => Mach4 General Discussion => Topic started by: thespindoctor on April 24, 2018, 06:09:24 PM
		
			
			- 
				Help, I put an wx.wxmessagebox in the PLC script and I cannot get out of it
 
 Thanks
- 
				Hi,
 I've made that mistake, its a real ba...rd!
 
 Daz showed me a way of doing it...it was a while ago and I've all but forgotten how.
 
 Open a CMD window and navigate to Mach4, I think  run Mach4GUI.exe -p. The '-p' switch means that the program fires up in screen edit mode directly where you can dig the offending statement out.
 
 Let us know how you get on, as I say its been a while...
 
 Craig
- 
				Relief, it worked but used /e to come up in edit mode
 
 Thanks so much!
- 
				Hi,
 kool, glad it worked...for some reason thought the switch was 'p'. Anyway your back in business. The first time I did that I ended up reinstalling Mach before I learnt the
 trick from Daz.
 
 Craig
- 
				Hi,
 funny though...I thought you would have heard it.....it was when I was just getting started with Mach4 and I was doing a lot of shouting
 and swearing VERY LOUDLY indeed....you are only 8000 nautical miles away...you must have heard it! LOL
 
 Craig.
- 
				I have many of those moments too!