Appleogle脚本尝试使用applescript在新的Chrome窗口中打开书签文件夹的所有网站的新功能。
这是我到目前为止所拥有的
tell application "Google Chrome"
make new (window)
activate "bookmark bar"
open bookmark folder "Start My Day" of bookmark folder "My Day" of "bookmark bar"
end tell
答案 0 :(得分:0)
良好的开端......
tell application "Google Chrome"
if not (exists window 1) then reopen
set myBMFolder to bookmark folder "Start My Day" of bookmark folder "My Day" of bookmark folder "Bookmarks Bar"
set bmURLs to URL of bookmark items of myBMFolder
repeat with aUrl in bmURLs
open location aUrl
end repeat
end tell