If you want the find performed on a table in the second file, write the script in the second file.
Then use perform script in your first file to select this script in the other file and perform it.
You may need to add a select window step to bring the correct window to the front. Your external script could start with
Select Window [CurrentWindow] to do this.
Thank You Phil. Works great.