Dean Posted August 10, 2005 Report Share Posted August 10, 2005 Hello.... just wondering if the following is possible... Can I have a macro run when a file reaches a particular size? If so.... how? Thanks in advance.. ..Dean.. Quote Link to comment Share on other sites More sharing options...
kevin Posted August 10, 2005 Report Share Posted August 10, 2005 There is not a macro activation based on the file size. However, you could create a scheduled macro to periodically check the file size. You will have to decide how often to check, every 10 seconds, every minute, once an hour, etc. Then, the top of your macro may look something like this: Wait for File Ready: "test.txt" Variable Set Integer %N1% from the size of file "test.txt" If Variable %N1% < 1234567 Macro Return End If // Do your macro stuff here Quote Link to comment Share on other sites More sharing options...
Dean Posted August 10, 2005 Author Report Share Posted August 10, 2005 Thanks Kevin..... I didn't think of that. Will give it a go.. ..Dean.. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.