I've been trying to Applescript Sherlock to search for files modified yesterday. I can do this if I select "modified yesterday" and save the search criteria.
In applescript I type:
tell application "Sherlock 2"
search using ("OS 9:modified" as alias)
end tell
'OS 9' is the name of my hard drive and 'modified' is the saved search criteria.
The problem with this is that I want to run this script everyday and I believe my saved search criteria has yesterday's date in it. I need a generic script that will get the date and then search for files created the day before. Any thoughts?