Feature Request: Show random record

Does anyone know if there is an applescript that would once a day show a random “unread” or other variously tagged item? Maybe that way I can read up on all the stuff I’ve recorded.

tell application "EagleFiler"
    tell front library document
        set _record to some library record whose unread is true
        set _rootFolder to root folder
        tell its browser window
            set selected records to {_rootFolder}
            set selected records to {_record}
        end tell
    end tell
end tell

The need to select the root folder first seems a bit confusing…

Thanks for the report. The scripting currently assumes the given records will be visible in the source that’s currently selected. I’ll make a note to have it select the Records source first of necessary.

This is fixed in EagleFiler 1.6.7.

Thanks! A simplified version of the script is, then:

tell application "EagleFiler"
	tell front library document
		set _record to some library record whose unread is true
		set its browser window's selected records to {_record}
	end tell
end tell