我有以下Bash脚本.
!#/bin/bash
fscanx --pdf /scandata/Trust_Report
if [ "$?" = "0" ]; then
Run Code Online (Sandbox Code Playgroud)
我想运行以下AppleScript
tell application "FileMaker Pro Advanced"
activate
show window "Trust Reports"
do script "Scan Trust Report"
end tell
else
say “It did not scan”
fi
Run Code Online (Sandbox Code Playgroud)
调用此AppleScript的正确语法是什么?
谢谢