Say I want to be able, in an arbitrary notebook, to quickly invoke a cell containing the commands
NotebookFileName[]
DateString[]
What are good ways to get to be able to do this?
I have tried to create a palette for this purpose (see the image of it below), but, when I click on the palette, nothing happens. I guess I created a wrong kind of pallette.