Results 1 to 5 of 5

Thread: Feature Request: Show random record

  1. #1
    New Member
    Join Date
    Oct 2015
    Posts
    1

    Default 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.

  2. #2

    Default

    Code:
    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...

  3. #3

    Default

    Quote Originally Posted by nriley View Post
    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.

  4. #4

    Default

    Quote Originally Posted by Michael Tsai View Post
    The scripting currently assumes the given records will be visible in the source that’s currently selected.
    This is fixed in EagleFiler 1.6.7.

  5. #5

    Default

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

    Code:
    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

Similar Threads

  1. Show Record Viewer Not Working
    By shipahoy in forum EagleFiler
    Replies: 2
    Last Post: 11-19-2015, 11:02 AM
  2. Replies: 2
    Last Post: 05-16-2011, 01:21 PM
  3. Show only folders in record list?
    By larme in forum EagleFiler
    Replies: 2
    Last Post: 08-01-2010, 08:28 AM
  4. Feature Request - Bookmark in long record
    By lordmiss in forum EagleFiler
    Replies: 1
    Last Post: 10-02-2008, 10:35 AM
  5. Feature request: delete a record in Tag view
    By brab in forum EagleFiler
    Replies: 6
    Last Post: 05-30-2007, 02:35 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •