
私は Applescript エディタを初めて使用しており、コンピューターを自動的に更新するコードを記述しようとしています。 何らかの奇妙な理由で、Adobe を正常に更新できないようです。 アクセシビリティ インスペクタを使用してみましたが、AXButton のようなものは表示されませんでした。 AXButton オプションがない場合でも、Adobe 用のコードを作成する方法はあるのでしょうか?
コードは次のとおりです:
tell application "Adobe Application Manager"
activate
end tell
delay 7.0
tell application "System Events"
tell process "Adobe Application Manager"
click button "Update" of window "Adobe Application Manager"
end tell
end tell
これはエラーメッセージです:
エラー「システム イベントでエラーが発生しました: プロセス「Adobe Application Manager」のウィンドウ「Adobe Application Manager」のボタン「更新」を取得できません。」番号 -1728、プロセス「Adobe Application Manager」のウィンドウ「Adobe Application Manager」のボタン「更新」から