Machsupport Forum
		Mach Discussion => General Mach Discussion => Topic started by: mob06 on May 24, 2012, 10:25:30 AM
		
			
			- 
				When opening Mach 3 is there anyway for it to automatically
 open a specified program? This is a project for work, and the
 less the user has to do, the better.
 
 Thanks in advance
- 
				You cna use the initialization function line.
 
 Create a macro that loades the correct Gcode program, such as M2222
 
 'M2222 Macro to autoload program
 Loadfile("C:\mach3\Gcode\roadrunner.tap")  'Name of requested Gcode file
 End
 
 Then add in the Mcode to the init line in Gen/config.
 
 When Mach3 open and you press the reset button it will LOAD the program.
 
 (;-) TP
 
- 
				Worked like a charm, Thanks BR549!
			
- 
				Nice, didn't realise this was possible.
 
 I can get my operator starting runs without me now :D
- 
				I have tried this to load a g code file at start up and I get nothing. I am sure I must be missing something simple