This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "Google Chrome" | |
activate | |
set tabfound to false | |
if (exists window 1) then | |
set i to 0 | |
repeat with t in (tabs of window 1) | |
set i to i + 1 | |
if title of t is "Noisli - Improve Focus and Boost Productivity with Background Noise" then | |
set (active tab index of window 1) to i |