SteveR Posted April 17, 2016 Report Share Posted April 17, 2016 I just wanted to share a tip. I was finding it difficult to understand exactly what was happening as my macro waited for or tested for various conditions. I have found that using the timed floating dialog box is a great way to provide feedback as to when the macro finds certain conditions. The command to show the box can always be disabled or deleted after things are working, but it seems a great way to aid in debugging things. I have not found it to interfere with the execution of the macro at all. Quote Link to comment Share on other sites More sharing options...
acantor Posted April 17, 2016 Report Share Posted April 17, 2016 Good tip! I use the same technique to display the current values of variables, or to show a script has reached a certain point. Here is a tip in return: in the Script Editor, the keyboard shortcut to disable/enable a line of code is Ctrl + N. Quote Link to comment Share on other sites More sharing options...
rberq Posted April 17, 2016 Report Share Posted April 17, 2016 Good suggestion. When I insert debugging code, I almost always disable the lines when done rather than remove them, because I probably will need them again someday. 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.