Using the command line parameters you can launch Agent Ransack with some fields pre-filled. I'm not sure how flexible CodeWarrior is but if you wanted to limit the files to C++ files in a specific folder you'd do something like this:
AgentRansack -f "*.cpp;*.h" -d "C:\Specific\Folder"