applescript
AppleScript 브라우저 상호 작용
수색…
소개
AppleScript는 브라우저의 현재 탭의 URL을 검색 할 수 있습니다.
탭 URL 반환
원정 여행
Safari에서 현재 탭의 URL을 반환하려면 현재 탭의 URL을 사용 URL of current tab .
tell application "Safari"
return URL of current tab of window 1
end tell
구글 크롬
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