applescript
AppleScriptブラウザインタラクション
サーチ…
前書き
AppleScriptは、ブラウザの現在のタブのURLを取得することができます。
タブのURLを返す
サファリ
Safariで現在のタブのURLを返すには、現在のタブのURL of current tab使用しURL of current tab 。
tell application "Safari"
return URL of current tab of window 1
end tell
グーグルクローム
Google Chromeで現在のタブのURLを返すにはURL of active tab使用URL of active tab 。
tell application "Google Chrome"
return URL of active tab of window 1
end tell
Modified text is an extract of the original Stack Overflow Documentation
ライセンスを受けた CC BY-SA 3.0
所属していない Stack Overflow