I'm looking for some sort of way to execute an external application and wait for the application to return within a script, so that the return can be used as a variable in FIleMaker. I've tried about 5 different third party plugins, all without working, including Monkey Bread, 24U's toolbox, and BaseElements without any sort of success. Anybody here have functionality that does this for a windows system? Most of these are for things such as File Open and Save dialogs and other external tools that we use that require a returned value before FileMaker's script continues.
Have a look at SendEvent:
FileMaker Pro 16 Help