Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. COThanks, this is very helpful. I do however get the following error when I run it: `Can’t get item 1 of {}`. To get around this, i wrapped the `click first item of eachWindow` with `if contents of eachWindow is not {} then` and an `end if`. And also, if I display the contents of theResults, I notice that ALWAYS has the same list of windows in it, whether they are already minimized or not, so I think visible property is true even for a minimized window, but (I think) it would only be false for windows that are hidden.
      singulars
    2. COThis script solves the bugs I was seeing before where some, but not all the windows would get minimized, so now they ALL get minimized (thanks for a good side effect). It is faster than my original script, since it does not repeat thru background processes as well. If I save it as an application though, it is still taking 5 to 15 seconds before it even starts running. If I run it from the Scripts Menu, then it runs just as fast as when I click play in the AppleScript Editor.
      singulars
    3. COJust some more questions, out of curiosity ... #1 Can you create an Alias to a script in the Scripts Menu and have it Run the script instead of opening it up in AppleScript Editor? #2 Can the two repeat loops somehow be combined into one line with a whose clause something like `click first item of eachWindow whose (some combination the two repeat loops)` #3 Can an AppleScript be imported in either Automator or Xcode and be converted to an application that will run faster than an application created by AppleScript?
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload