How do I have a macro take action based on the date of a file?
Use the Variable Set from File command. You can obtain the date and/or time the file was created, modified or last accessed. Not all file systems will support all three of these date/time formats. Macro Express will warn you when you try to run the macro if the format you selected is not available.
The file date and time information is saved to integer variables. You can then manipulate the variables to do any number of things. One option would be to use the If Variable command. For example, you can have the macro take action based upon whether today’s date equals the date saved to the variable.
– Applies to: Macro Express and Macro Express Pro