Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / applescript / examples / delete_bookmarks.applescript
blob341b100d3d65dd3e206f97b00f367f4a399a1eaa
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 -- 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