If Not File Ready


This command determines if the file selected is not ready to accept input. It checks if the file is still busy. During macro playback it's possible that another application is still writing to it. The If Not File Ready command checks if the file is still being written to.


Note: If the file does not have write permissions then the macro will always flag the file as not being ready. In Windows Vista and later, any files located in the Program Files folder do not have write permission.




Script Editor > Expand Logic Category > If Not File Ready




Insert the file path in this field or click on the Browse button to locate the file to test.


Use the Search Path

This option can be used when not inserting a full file path, only a file name such as test.txt. With this option selected, the macro attempts to locate the file using the Windows search path stored in the Environment variables.


If this option is not selected and only the file name is inserted, then the macro will look in the Macro Express default folder. Use the Change Default Folder command to set the default folder.