set error capture on
enter find mode(no pause)
If ( Get ( foundcount ) > 0 ; do this ; else do this )
I was struggling with this also, but with no help from documentation I discovered FM 15 doesn't provide the dialog it used to for selecting whether to pause. Now you need to click on the On or Off in the script step to toggle:
Enter Find Mode [Pause:Off].