There are some clues here:
a screen capture might work
> I want to use Apple Maps to create and insert a map into a record using Applescript
Applescript runs ndendent of FM. FM will not wait for a script to complete. Why not use another online map system. Apple maps is supposed to be an open map kit online this year sometime right?
Maps doesn't have a library for Applescript.
So basically you're forced to use System Commands.
You could export to pdf or screen capture the window and use the path to insert into a container.
It's far easier to use the GoogleMaps API for this kind of stuff.
Just use Insert From URL.
You can use MBS Plugin to execute AppleScript on Mac.
The script text can be calculated and compiled/executed as part of the script.
our plugin also has functions for CoreLocation (geo coordinate lookup) and to take screenshots.
Thank you everyone for your various answers. I've used the Google maps solution in the past but it's not as aesthetically pleasing as I'd like with logos etc. I might have to revert back to it for convenience though.