Ok Paul, your script worked just great. Thank you!
 
	Now I have an issue with the following script. The log file says "waiting for input" . Nothing happens when I press the 0,1 or 2 key. Any thoughts?
 
	What I'm trying to achieve is to show  a list of different checklists and by selecting the one you want, opens the associated .lua file.
 
	I would really like to be able to mouse over an item and click to go to the specific list. But that's for another time...
 
	Thanks,
 
	Steve
 
	ref = sound.play("F:\\FSX\\Sound\\wavefiles\\senecaII\\Are you ready for the prestart checklist Steve.wav") 
	ipc.lineDisplay("1. Cancel Checklists", 1) 
	ipc.lineDisplay("2. Pre-Flight Checks", 2) 
	ipc.lineDisplay("3. Pre-Start Checks", 3)
 
	function callNew0(keycode, shifts) 
	   ipc.lineDisplay("Checklist terminated by pilot") 
	   ipc.sleep(2000) 
	   ipc.exit() 
	end
 
	function callNew1(keycode, shifts) 
	    ipc.runlua("F:\\FSX\\Module\\Listtest.lua")--runs another lua program 
	end
 
	function callNew2(keycode, shifts)     
	    ipc.runlua("F:\\FSX\\Module\\Listtest1.lua")--runs another lua program 
	end
 
	event.key(48, 8, "callNew0") --key 0 unshifted
 
	event.key(49, 8, "callNew1") --key 1 unshifted
 
	event.key(50, 8, "callNew2") --key 2 unshifted