You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I select a few articles and run this script with NetNewsWire 6.1.1 (macOS 14.2.1):
tellapplication"NetNewsWire"set_articlesto selected articles
repeatwith_articlein _articles
get url of _article -- NetNewsWire got an error: Can’t get webFeed id "10947".end repeatend tell
it fails. Similarly, the properties don’t show up in the Script Debugger explorer:
I think the problem may be that the webFeeds element only includes top-level feeds, but the articles I selected were from a feed that’s in a folder. It seems like here:
we may want flattenedWebFeeds() instead of topLevelFeeds. Or, alternatively, the feed’s object specifier should include the full containment hierarchy.
The text was updated successfully, but these errors were encountered:
If I select a few articles and run this script with NetNewsWire 6.1.1 (macOS 14.2.1):
it fails. Similarly, the properties don’t show up in the Script Debugger explorer:
This may also be related to issue #2332.
I think the problem may be that the
webFeeds
element only includes top-level feeds, but the articles I selected were from a feed that’s in a folder. It seems like here:NetNewsWire/Mac/Scriptability/NSApplication+Scriptability.swift
Line 80 in 41ce348
we may want
flattenedWebFeeds()
instead oftopLevelFeeds
. Or, alternatively, the feed’s object specifier should include the full containment hierarchy.The text was updated successfully, but these errors were encountered: