This function can only return windows in the current Mission Control Space if you need to address windows acrossĭifferent Spaces you can use the hs.window.filter module.Performance is not acceptable consider using the hs.window.filter module This function queries all applications for their windows every time it is invoked if you need to call it a lot and.Modules make use of this function, so it is important to understand its limitations visibleWindows(), orderedWindows(), get(), find(), and several more functions and methods in this and other.A list of hs.window objects representing all open windows.Hs.window.allWindows() -> list of hs.window objects Using `hs.window:setFrame()` in some cases does not work as expected: namely, the bottom (or Dock) edge, and edges between screens, might Initial value is 0.2 set to 0 to disable animations. The default duration for animations, in seconds. Methods - API calls which can only be made on an object returned by a constructorĪPI Documentation Variables animationDuration Signature.Constructors - API calls which return an object, typically one that offers API methods.Functions - API calls offered directly by the extension.See hs.screen and hs.geometry for more information on how Hammerspoon uses window/screen frames and coordinates.Hammerspoon docs: hs.window docs » hs.window