diff --git a/AppleScript/Excel-CreateFeedStatisticsSpreadsheet.applescript b/AppleScript/Excel-CreateFeedStatisticsSpreadsheet.applescript index 1ba58fd8f..317e28713 100644 --- a/AppleScript/Excel-CreateFeedStatisticsSpreadsheet.applescript +++ b/AppleScript/Excel-CreateFeedStatisticsSpreadsheet.applescript @@ -1,4 +1,4 @@ --- This script creates an Excel spreadsheet with statistics about all the feeds in your NetNewsWire +-- This script creates an Excel spreadsheet with statistics about all the feeds in your NetNewsWire -- the exportToExcel() function creates a single line of data in a spreadsheet @@ -34,8 +34,8 @@ end tell set totalFeeds to 0 tell application "NetNewsWire" - set allAccounts to every account - repeat with nthAccount in allAccounts + set allActiveAccounts to every account where active is true + repeat with nthAccount in allActiveAccounts set userFeeds to allFeeds of nthAccount repeat with nthFeed in userFeeds set feedname to name of nthFeed diff --git a/AppleScript/Safari-OpenAllStarredArticles.applescript b/AppleScript/Safari-OpenAllStarredArticles.applescript index 81fe85cc0..732109354 100644 --- a/AppleScript/Safari-OpenAllStarredArticles.applescript +++ b/AppleScript/Safari-OpenAllStarredArticles.applescript @@ -12,10 +12,10 @@ to openTabInSafari(theUrl) if (my safariWindow is missing value) then -- first time through, make a new window with the given url in the only tab set newdoc to make new document at front with properties {URL:theUrl} - -- because we created the doucument "at front", we know it is window 1 + -- because we created the document "at front", we know it is window 1 set safariWindow to window 1 else - -- after the first time, make a new tab in the wndow we created the first tim + -- after the first time, make a new tab in the window we created the first time tell safariWindow make new tab with properties {URL:theUrl} end tell @@ -25,7 +25,7 @@ end openTabInSafari -- the script starts here --- First, initialize safariWindow to be missing value, so that the first time through +-- First, initialize safariWindow to be missing value, so that the first time through -- openTabInSafari() we'll make a new window to hold all our articles set safariWindow to missing value @@ -33,7 +33,7 @@ set safariWindow to missing value -- Then we loop though all the feeds of all the accounts -- for each feed, we find all the starred articles ---for each one of those, open a new tab in Safari +-- for each one of those, open a new tab in Safari tell application "NetNewsWire" set allAccounts to every account