Answered
AppleScript : ドキュメント設定や環境設定のウィンドウを取得したい
お世話になっております。
AppleScriptでドキュメント設定や環境設定のウィンドウを取得したいのですが、なかなかうまくいきません。
tell application "Adobe Illustrator"
activate
execute menu command menu command string "document"
tell application "System Events"
tell process "Adobe Illustrator"
set b to title of window 1
display dialog b as string
end tell
end tell
end tell
これでは出来ませんでした。
window 1ではないのでしょうか。
教えていただきたいです。よろしくお願いします。
