====== GetCurrentProgram ====== The **GetCurrentProgram** function gets the name of the NXT-G program currently running on the NXT brick. program = nxt.GetCurrentProgram(); ====Example - Get current program==== function OnStart() { nxt = app.CreateNxt(); app.SetMenu( "Connect,Get Program" ); } function OnMenu( name ) { if( name=="Connect" ) nxt.ShowDevices(); else if( name=="Get Program" ) { program = nxt.GetCurrentProgram(); app.ShowPopup( program ); } }