C-Command Software Forum

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

It looks like there’s a bug here (in EagleFiler or the OS, I’m not sure which yet). You could try:

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

That does the trick. Thanks, Michael.

I believe I’ve fixed this bug in EagleFiler 1.4.13.

I believe I’ve fixed this bug

You have.