【发布时间】:2016-04-05 00:04:45
【问题描述】:
do shell script "screencapture -l$(osascript -e 'tell app 'Transmission' to id of window 1') ~/tempDirectory/test.png"
基本上,我想在使用传输完成下载后截取屏幕截图。
此代码在终端中工作
screencapture -l$(osascript -e 'tell app 'Transmission' to id of window 1
【问题讨论】:
-
代码的哪一部分不工作?
标签: terminal applescript