Szukaj…


Wprowadzenie

AppleScript jest w stanie pobrać adres URL bieżącej karty przeglądarki.

Zwracane adresy URL kart

Safari

Aby zwrócić adres URL bieżącej karty w przeglądarce Safari, użyj URL of current tab :

tell application "Safari"
    return URL of current tab of window 1
end tell

Google Chrome

Aby zwrócić adres URL bieżącej karty w Google Chrome, użyj 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
Licencjonowany na podstawie CC BY-SA 3.0
Nie związany z Stack Overflow