Signature |
hs.hints.windowHints([windows, callback, allowNonStandard]) |
Type |
Function |
Description |
Displays a keyboard hint for switching focus to each window |
Parameters |
- windows - An optional table containing some
hs.window objects. If this value is nil, all windows will be hinted
- callback - An optional function that will be called when a window has been selected by the user. The function will be called with a single argument containing the
hs.window object of the window chosen by the user
- allowNonStandard - An optional boolean. If true, all windows will be included, not just standard windows
|
Returns |
|
Notes |
- If there are more windows open than there are characters available in hs.hints.hintChars, multiple characters will be used
- If hints.style is set to "vimperator", every window hint is prefixed with the first character of the parent application's name
- To display hints only for the currently focused application, try something like:
hs.hints.windowHints(hs.window.focusedWindow():application():allWindows())
|
Source |
extensions/hints/init.lua |