Trap Finder Menu Commands

Some macros I have seem to be invoking the Finder's New Window menu item, or an AppleScript is causing the Finder to do it. I would like to find out why this is happening. Any ideas? Of course now that I've asked the question, I'll probably work it out...