【问题标题】:AppleScript to Import All in image capture not workingAppleScript to Import All in image capture 不工作
【发布时间】:2016-09-09 00:51:14
【问题描述】:

我最近遇到了以下脚本,可以在图像捕获中导入所有内容:

tell application "Image Capture"
    activate
    tell application "System Events"
        tell process "Image Capture"
            click button 3 of group 2 of group 1 of splitter group 1 of window 1
        end tell
    end tell
end tell

这在最新版本 6.7 中不起作用。有人可以帮忙吗?

【问题讨论】:

    标签: image macos applescript capture automator


    【解决方案1】:

    这对我有用,但您可能需要在此脚本中调整延迟值。

    tell application "Image Capture"
        activate
        delay 5
        tell application "System Events"
            click button "Import All" of group 2 of splitter group 1 of window "Image Capture" of application process "Image Capture"
        end tell
    end tell
    

    【讨论】:

      猜你喜欢
      • 2018-02-19
      • 1970-01-01
      • 2021-10-01
      • 2012-01-01
      • 2022-12-27
      • 2019-02-14
      • 2022-11-20
      • 2020-01-12
      • 2022-12-02
      相关资源
      最近更新 更多