I have added macros to the spotlight index. “title:abc” works, and it includes more or less the full macro text to search so you should find scripts and such with it. I will see if I can make “kind:macro” work, so far I have not figured it out. And it includes the various dates in the field, but I don't know how to make spotlight actually search based on them (“modified:today” does not work for example).