Yes, nice script!
i added a little extra to "auto-copy" the value, if it has found a unique value.
Since i am not an AppleScript expert it might not work in some cases, but for now, i get good results here.
on alfred_script(q)
set appname to "Dashlane"
tell application appname to activate
tell application "System Events"
repeat until (exists window 1 of process appname)
delay 0.1
end repeat
keystroke "f" using command down
keystroke q
delay 0.5
keystroke "c" using command down
end tell
end alfred_script
Hope this will help you guys a bit too.