Results 1 to 4 of 4

Thread: Script to close all open folders?

  1. #1

    Default Script to close all open folders?

    I sometimes have a lot of folders open in the Source List. Closing them by hand is tedious. Is there a way to close them with an Apple script. The following doesn't work.

    Code:
    tell application "EagleFiler"
    	tell library document 1
    		close (every library record of root folder whose kind is "Folder")		
    	end tell
    end tell
    Thanks

    Steve

  2. #2

    Default

    Quote Originally Posted by Steve Samuels View Post
    I sometimes have a lot of folders open in the Source List. Closing them by hand is tedious. Is there a way to close them with an Apple script.
    This is not currently scriptable. But one option would be to Option-click the triangle of the outermost containing folder (or Records itself).

  3. #3

    Default

    Quote Originally Posted by Michael Tsai View Post
    This is not currently scriptable. But one option would be to Option-click the triangle of the outermost containing folder (or Records itself).
    Thanks, Michael! Option-clicking, then plain clicking (to re-open) is very fast.

  4. #4

    Default

    Quote Originally Posted by Steve Samuels View Post
    Option-clicking, then plain clicking (to re-open) is very fast.
    Or, if you don’t want to click, you could use:

    1. Option-Command-1 to select Records.
    2. Option-Left Arrow to recursively collapse.
    3. Right Arrow to expand the first level.

Similar Threads

  1. Replies: 7
    Last Post: 08-21-2019, 04:08 AM
  2. Open Library with Script
    By kaybee in forum EagleFiler
    Replies: 9
    Last Post: 06-02-2015, 02:29 PM
  3. Are you close to Maverick compatibility?
    By NJRonbo in forum SpamSieve
    Replies: 2
    Last Post: 06-16-2013, 04:52 AM
  4. Script to open Stationery File
    By jas in forum EagleFiler
    Replies: 4
    Last Post: 02-18-2009, 12:37 PM
  5. Interesting: can't close or quit!
    By EricB in forum EagleFiler
    Replies: 1
    Last Post: 01-18-2007, 08:15 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
  •