Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1113)

Unified Diff: chrome/browser/cocoa/applescript/examples/open_tabs_from_bookmark_folder.applescript

Issue 3180006: Cleaned up the SDEF... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/cocoa/applescript/examples/open_tabs_from_bookmark_folder.applescript
===================================================================
--- chrome/browser/cocoa/applescript/examples/open_tabs_from_bookmark_folder.applescript (revision 0)
+++ chrome/browser/cocoa/applescript/examples/open_tabs_from_bookmark_folder.applescript (revision 0)
@@ -0,0 +1,12 @@
+-- Copyright (c) 2010 The Chromium Authors. All rights reserved.
+-- Use of this source code is governed by a BSD-style license that can be
+-- found in the LICENSE file.
+
+tell application "Chromium"
+ set var to bookmark folder "New" of bookmarks bar
+ -- Change the folder to whichever you want.
+ repeat with i in (bookmark items of var)
+ set u to URL of i
+ tell window 1 to make new tab with properties {u}
+ end repeat
+end tell

Powered by Google App Engine
This is Rietveld 408576698