Some portions of this project have already been upgraded to properly call FileMaker Pro 19+ by getting the process id and then using that to address the frontmost copy of FileMaker. So, that supports running more than one copy simultaneously, even with the same name (although having slightly different names is wise for other reasons).
But, on 2024-08-30, I just modified any "FileMaker Pro Advanced" (version 18) calls to simply be "FileMaker Pro". That is a quick/hack fix, which doesn't properly handle multiple running copies. For any UI scripting via System Events, scripts should be updated to use getFmAppProcessID. And, for any "tell" blocks that need to use FileMaker's OWN dictionary, the app should be addressed by path using getFmAppPath.
So, need to find any code that uses either of these, and update those:
- tell application process "FileMaker Pro"
- tell application "FileMaker Pro"
Some portions of this project have already been upgraded to properly call FileMaker Pro 19+ by getting the process id and then using that to address the frontmost copy of FileMaker. So, that supports running more than one copy simultaneously, even with the same name (although having slightly different names is wise for other reasons).
But, on 2024-08-30, I just modified any "FileMaker Pro Advanced" (version 18) calls to simply be "FileMaker Pro". That is a quick/hack fix, which doesn't properly handle multiple running copies. For any UI scripting via System Events, scripts should be updated to use getFmAppProcessID. And, for any "tell" blocks that need to use FileMaker's OWN dictionary, the app should be addressed by path using getFmAppPath.
So, need to find any code that uses either of these, and update those: