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. 4 5 -- creates 2 windows, one in normal mode and another in incognito mode. 6 tell application "Chromium" 7 make new window 8 make new window with properties {mode:"incognito"} 9 count windows -- count how many windows are currently open. 10 end tell 11