Popular sites on the NTP: check that experiment group StartsWith (rather than IS...
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / applescript / examples / tab_navigation.applescript
blob2337869215dc03ec316b7a0a18e49e7e03459d47
1 -- Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 -- Use of this source code is governed by a BSD-style license that can be
3 -- found in the LICENSE file.
5 tell application "Chromium"
6 tell window 1
7 -- creates a new tab and navigates to a particular URL.
8 make new tab with properties {URL:"http://google.com"}
9 -- Duplicate a tab.
10 set var to URL of tab 2
11 make new tab with properties {URL:var}
12 end tell
13 end tell