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
Common operations, like count and select, don't work on the lists of feeds and articles returned by allFeeds and selected articles unless the value is first assigned to a variable.
This might be an issue with AppleScript, not NNN, I can't recall a specific case but I think I've had similar issues before with different applications.
Count
This works:
tell application "NetNewsWire"
set myArticles to selected articles
get count of myArticles
end tell
but this returns
selected articles doesn’t understand the “count” message.
tell application "NetNewsWire"
get count of selected articles
end tell
Type specifier
This works:
tell application "NetNewsWire"
set myFeeds to allFeeds of account 1
get item 1 of myFeeds
end tell
but this returns
Can’t make item 1 of allFeeds of account 1 into type specifier.
tell application "NetNewsWire"
get item 1 of (allFeeds of account 1)
end tell
Version
I am using version 5.0.3 (2618)
The text was updated successfully, but these errors were encountered:
I think this issue still persists in version 6.0.3 (6035).
I can do with this:
tellapplication"NetNewsWire"get selected articles
end tell
But this would threw an error error "NetNewsWire got an error: Can’t make title of selected articles into type specifier." number -1700 from title of selected articles to specifier:
tellapplication"NetNewsWire"get title of selected articles
end tell
Common operations, like count and select, don't work on the lists of feeds and articles returned by
allFeeds
andselected articles
unless the value is first assigned to a variable.This might be an issue with AppleScript, not NNN, I can't recall a specific case but I think I've had similar issues before with different applications.
Count
This works:
but this returns
Type specifier
This works:
but this returns
Version
I am using version 5.0.3 (2618)
The text was updated successfully, but these errors were encountered: