That's probably all you really need. Though I was actually recommending
something like this (pseudo-code)
> def find_uses_and_search():
> app = wingapi.gApplication
> uses = app.ExecuteCommand('find-points-of-use')
> app.ExecuteCommand('batch-search', exclude=uses)