I thought of that, but I have over 5000 pdf's that I would need to insert into a container field. I thought using spotlight to find the pdf might be less work. I got a script working that finds a specific file. It is
tell application "Finder"
set the search_string to "46280"
end tell
tell application "System Events"
keystroke " " using {option down, command down}
delay 1
keystroke search_string
delay 1
end tell
What I want to do is instead of searching for "46280" I want to paste the contents of the clipboard into spotlight.