this works for me in applescript, looking for files with name ending in test.fmp12:
set F to quoted form of "*test.fmp12"
set T to paragraphs of (do shell script "mdfind -onlyin / " & F)
Thanks siplus, and in the context of the original post, this would go where ??
For Windows ?, for OSX ?
In case the original post is not clear, looking for what goes within the brackets of:
Perform Applescript [ ……….. ] and
Send Event [ ………. ]
Or if you have a better idea ......