If you forget what sketch is loaded can you retreve that back from the Arduino?

With the constant changing of sketches, is it all possible to retrieve the name of the current sketch that is on the Arduino?

If so, how do I do that?

This way I would know what program I have been working on…:slight_smile:

No. The Arduino never knows the name of the program. It is a meaningless concept as far as the Arduino is concerned. You should maybe get into the habit of printing the program name to Serial as part of setup()

Example of this technique:

void setup ()
  {
  Serial.begin (115200);
  Serial.println ();
  Serial.println (F(__FILE__));
  }  // end of setup

void loop () { }

That would print the current file (sketch) name as part of setup.