whats up guys, im working on my own version of a DLA (Digital Life Assistant) and im run into a bit of a snag. One of the things i would like my computer to do, is on a speakable command open up NetNewsWire and read off the 5 newest headlines of a newsfeed i’d pick. I’ve gotten the script to open up netnewswire and refresh the feed, but i cant get it to find the feed and read the 5 newest headlines
Hi,
NetNewsWire is organized into application > subscriptions > headlines
tell application "NetNewsWire"
set theHeadline to title of headline 1 of (get 1st subscription whose givenName is "Apple - Support - Most Recent - Mac OS")
end tell
say theHeadline
You can use this for the 5 newest headlines:
tell application "NetNewsWire"
repeat with num from 1 to 5
set theHeadline to title of headline num of (get 1st subscription whose givenName is "Macworld")
say theHeadline
delay 0.25
end repeat
end tell