![]() Beside the limitations discussed above, this function will return all windows as reported by OSX, including some.Hs.application.get'Finder':allWindows() will include the desktop in the returned list) This function filters out the desktop "window" use hs.sktop() to address it.minimized windows and hidden windows (i.e.if Displays have separate Spaces is on (in System Preferences>Mission Control) the current Space is definedĪs the union of all currently visible Spaces.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
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |