Running AppleScript in Bash
Hi,
I have the following Bash Script.
!#/bin/bash
fscanx --pdf /scandata/Trust_Report
if [ "$?" = "0" ]; then
I would like to add the following AppleScript within this BASH Script
tell application "FileMaker Pro Advanced" activate show window "Trust Reports" do script "Scan Trust Report" end tell
else
say âIt did not scanâ
fi
What is the proper syntax to invoke this AppleScript?
Thank you
MacBook Air, Mac OS X (10.7.3)