Home | History | Annotate | Download | only in examples
      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 -- This script deletes all the items within a bookmark folder.
      6 tell application "Chromium"
      7   set var to bookmark folder "New" of bookmarks bar
      8   -- Change the folder to whichever you want.
      9   tell var
     10     delete every bookmark item
     11     delete every bookmark folder
     12   end tell
     13 end tell
     14