I am planning to use DA to automatically download pdf file after searching rss feeds of scientific journals using a specific search set and scheduled invokes. This action script unfortunately does not work:
on results(theResults, theSet, theQuery)
tell application “DEVONagent”
repeat with theResult in theResults
set theURL to (URL of theResult) as string
set theReferrer to (URL of theResult) as string
set theObjects to scanner objects of theResult
repeat with theObject in theObjects
if theObject ends with “.pdf” then add download theObject referrer theURL
How can I debug this script / see what happens after invoking it by the search set?
Thanks in advance!