applescript
AppleScript-webbläsarinteraktioner
Sök…
Introduktion
AppleScript kan hämta webbadressen till den aktuella fliken i en webbläsare.
Återgå till flikens webbadresser
Safari
För att returnera URL: en för den aktuella fliken i Safari, använd URL of current tab :
tell application "Safari"
return URL of current tab of window 1
end tell
Google Chrome
För att returnera URL: en för den aktuella fliken i Google Chrome, använd 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
Licensierat under CC BY-SA 3.0
Inte anslutet till Stack Overflow