I have a macro that triggers when a video file is added to a specific folder.
I want to carry out a set of actions (Let's call it a Set A) if the file size is less than (or equal to) 2 GB and I want to carry out different set of actions (Set B) if the file size is more than 2 GB.
How to do that?
(The folder exists in such a way that there would always be either 1 file or no file in the folder. There would never be more than 1 file at any time in the folder.)
Usual warning about waiting for the file "addition" to complete before testing file size -- and how you do that will depend on how you are adding it to the folder.
It is going to be a QuickTime Player screen recording that automatically gets saved (by default in Mac in specified folder) so I suppose the entire file would be added rather the partial version first.