Macro run from AppleScript command in Filemaker not working properly

A post was split to a new topic: Cheat Sheet: Using File Maker Pro (FMP) with KM and AppleScript