Tell me more ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Is there any way to go to tab number 5 in Safari?

tell application "Safari" to set current tab of document 1 to 5
share|improve this question

1 Answer

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.