Results 1 to 5 of 5

Thread: Apple Script Question: "phantom" windows

  1. #1

    Default Apple Script Question: "phantom" windows

    I've written a script to minimize EF windows that I select with a "choose from list" statement. I've run into the following issue. I have two open library windows, one each from my Work and Personal libraries. When I list the "name of every browser window whose minimized is false" I sometimes get a list like the following:

    {"Personal — Records (169 records)", "Work — Nacomex (9 records)", "Personal — Records (168 records)", "Work — Nacomex (9 records)", "Personal"}

    Only the first two names belong to the real windows. The others are the names of recent ones. Logging out and in cures the problem. Is there another way of listing only the real windows?

    Thanks,

    Steve
    Last edited by commoner; 12-01-2009 at 06:14 PM.

  2. #2

    Default

    Quote Originally Posted by commoner View Post
    Is there another way of listing only the real windows
    It looks like there’s a bug here (in EagleFiler or the OS, I’m not sure which yet). You could try:

    Code:
    name of every browser window whose minimized is false and visible is true

  3. #3

    Default

    That does the trick. Thanks, Michael.

  4. #4

    Default

    Quote Originally Posted by commoner View Post
    Only the first two names belong to the real windows. The others are the names of recent ones.
    I believe I’ve fixed this bug in EagleFiler 1.4.13.

  5. #5

    Default

    I believe I’ve fixed this bug
    You have.
    Last edited by Steve Samuels; 01-22-2010 at 09:17 PM.

Similar Threads

  1. Replies: 2
    Last Post: 11-22-2010, 05:32 PM
  2. Replies: 5
    Last Post: 06-08-2009, 11:09 AM
  3. New script "Empty Junk Mail Folder" ?
    By RichardG in forum SpamSieve
    Replies: 2
    Last Post: 03-21-2008, 04:01 PM
  4. Replies: 2
    Last Post: 03-20-2008, 10:42 PM
  5. Script to move "Gray" messages to trash
    By tabaholic in forum SpamSieve
    Replies: 2
    Last Post: 03-19-2007, 10:21 AM

Posting Permissions

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