小编JFW*_*WX5的帖子

将AppleScript添加到Bash脚本

我有以下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的正确语法是什么?

谢谢

bash applescript

2
推荐指数
1
解决办法
1010
查看次数

标签 统计

applescript ×1

bash ×1