Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scripting issue involving feeds in folders #4412

Open
meowkymeowky opened this issue Nov 28, 2024 · 0 comments
Open

Scripting issue involving feeds in folders #4412

meowkymeowky opened this issue Nov 28, 2024 · 0 comments

Comments

@meowkymeowky
Copy link

meowkymeowky commented Nov 28, 2024

(Edited)

Scripting (both AppleScript and JXA) sometimes breaks when dealing with article(s) belonging to a feed inside any folder.

tell application "NetNewsWire"
  set thisArticle to current article
  get url of thisArticle
end tell

-- Works fine if the feed of current article is not in any particular folder. Produces a "Can't get webFeed" error if the feed of the article is in a folder.

On the other hand, the following script works without any issue, with the feed already specified (for lack of a better term) in the 2nd line:

tell application "NetNewsWire"
  set theArticles to articles of webFeed 1 of folder 1 of account "iCloud"
  repeat with theArticle in theArticles
    get url of theArticle
  end repeat
end tell
@meowkymeowky meowkymeowky changed the title iCloud feeds inaccessible in AppleScript Scripting issue involving feeds in folders Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant