This macro works with 3D+t data from live microscopy. It opens the file, stitches the tiles, corrects the drift in all the dimensions, performs a best focus projection to get a 2D+t all in focus movie automatically saved in a specific folder. Needs BioFormat, Stack Focuser, ImageD, Correct 3D Drifts plugIns.