Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- get Safari all tabs urls and titles
- -- osascript safari.applescript 2>&1 | less
- tell application "Safari"
- set tabsList to front window's tabs as list --gets all open tabs
- repeat with currTab in tabsList
- set currName to currTab's name
- set currURL to currTab's URL
- set out to currURL & " ==> " & currName
- log out
- end repeat
- end tell
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement