Is there a default var that contains current filename of sketch ?

You might start here:

Predefined Macros, GNU

2 Likes