Do you want to use AppleScript in your FileMaker solution? This can be a very powerful tool, either using the Calculated AppleScript that lets you create a calculation to use as the AppleScript text. Or, use Native AppleScript to manually enter the text of an AppleScript. Note that the Native AppleScript is limited to 30000 characters and indenting of repeat loops and conditional statements is not supported.
You can use this function to interact with applications outside of FileMaker, on a Mac.
What is AppleScript? "AppleScript is an English-like language used to create script files that control the actions of the computer and the applications that run on it. Much more than just a macro-language, which simply repeats your recorded actions, AppleScript scripts can "think." Scripts can make decisions based on user-interaction or by parsing and analyzing data, documents or situations. AppleScript scripts can automate much of what we do,.." (Quoted from this useful resource: http://www.macosxautomation.com/applescript/)
Check FileMaker's website at the link below for the most updated information regarding this function.