0
:AppleScript - 「AXMain」とは何ですか?このスクリプトで
global frontApp, frontAppName, windowTitle
set windowTitle to ""
tell application "System Events"
set frontApp to first application process whose frontmost is true
set frontAppName to name of frontApp
tell process frontAppName
tell (1st window whose value of attribute "AXMain" is true)
set windowTitle to value of attribute "AXTitle"
end tell
end tell
end tell
return {frontAppName, windowTitle}
"AXMain" とはどういう意味ですか?私はドキュメンテーションやこれに関するどこか他の質問を見つけることができません!
ありがとうございます!あなたはこれを見つけた場所を覚えていますか?私。どこかに隠れた書類があれば? – Dylanthepiguy
[OS X用アクセシビリティプログラミングガイド](https://developer.apple.com/library/content/documentation/Accessibility/Conceptual/AccessibilityMacOSX/index.html#//apple_ref/doc/uid/TP40001078-CH254)があります。 -SW1)。プロパティーは詳細には説明されていませんが、ほとんどは自明です。 – vadian