The only possibilities are system events or user interface scripting. Here’s a simple example:
tell application id "com.devon-technologies.thinkpro2"
activate
set theResults to search "Test"
if not (exists search window 1) then tell application "System Events" to keystroke "f" using {command down, shift down}
set results of search window 1 to theResults
end tell