From 5506f00805ec97bdf7f0be2ac8a13e3879a57d99 Mon Sep 17 00:00:00 2001 From: Paul Richardson Date: Fri, 19 Jul 2024 20:17:06 +1000 Subject: [PATCH 1/2] Fix property name --- AppleScript/Safari-OpenAllStarredArticles.applescript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppleScript/Safari-OpenAllStarredArticles.applescript b/AppleScript/Safari-OpenAllStarredArticles.applescript index 81fe85cc0..052738c9f 100644 --- a/AppleScript/Safari-OpenAllStarredArticles.applescript +++ b/AppleScript/Safari-OpenAllStarredArticles.applescript @@ -38,7 +38,7 @@ set safariWindow to missing value tell application "NetNewsWire" set allAccounts to every account repeat with nthAccount in allAccounts - set userFeeds to allFeeds of nthAccount + set userFeeds to allWebFeeds of nthAccount repeat with nthFeed in userFeeds set starredArticles to (get every article of nthFeed where starred is true) repeat with nthArticle in starredArticles From a8e9e268ad8c79ffd76d22c1147dfd60b1eb5087 Mon Sep 17 00:00:00 2001 From: Paul Richardson Date: Fri, 19 Jul 2024 20:19:07 +1000 Subject: [PATCH 2/2] ignore inactive accounts --- AppleScript/Safari-OpenAllStarredArticles.applescript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppleScript/Safari-OpenAllStarredArticles.applescript b/AppleScript/Safari-OpenAllStarredArticles.applescript index 052738c9f..2af8aeed1 100644 --- a/AppleScript/Safari-OpenAllStarredArticles.applescript +++ b/AppleScript/Safari-OpenAllStarredArticles.applescript @@ -36,7 +36,7 @@ set safariWindow to missing value --for each one of those, open a new tab in Safari tell application "NetNewsWire" - set allAccounts to every account + set allAccounts to every account whose active is true repeat with nthAccount in allAccounts set userFeeds to allWebFeeds of nthAccount repeat with nthFeed in userFeeds