Is there any way to go to tab number 5 in Safari?
tell application "Safari" to set current tab of document 1 to 5
tell window 1 of application "Safari" to set current tab to tab 5
If you run tell app "Safari" to properties of window 1, you'll see that current tab is a property of windows, and that the class of its value is tab.
tell app "Safari" to properties of window 1
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
By posting your answer, you agree to the
terms of service.
2 months ago