Easily find hs.application
and hs.window
objects
This module is deprecated; you can use hs.window.find()
, hs.window.get()
, hs.application.find()
, hs.application.get()
, hs.application:findWindow()
and hs.application:getWindow()
instead.
Signature | hs.appfinder.appFromName(name) -> app or nil |
---|---|
Type | Function |
Description |
Finds an application by its name (e.g. "Safari") |
Parameters |
|
Returns |
|
Source | extensions/appfinder/appfinder.lua line 12 |
Signature | hs.appfinder.appFromWindowTitle(title) -> app or nil |
---|---|
Type | Function |
Description |
Finds an application by its window title (e.g. "Activity Monitor (All Processes)") |
Parameters |
|
Returns |
|
Source | extensions/appfinder/appfinder.lua line 23 |
Signature | hs.appfinder.appFromWindowTitlePattern(pattern) -> app or nil |
---|---|
Type | Function |
Description |
Finds an application by Lua pattern in its window title (e.g."Inbox %(%d+ messages.*)") |
Parameters |
|
Returns |
|
Notes |
|
Source | extensions/appfinder/appfinder.lua line 36 |
Signature | hs.appfinder.windowFromWindowTitle(title) -> win or nil |
---|---|
Type | Function |
Description |
Finds a window by its title (e.g. "Activity Monitor (All Processes)") |
Parameters |
|
Returns |
|
Source | extensions/appfinder/appfinder.lua line 52 |
Signature | hs.appfinder.windowFromWindowTitlePattern(pattern) -> app or nil |
---|---|
Type | Function |
Description |
Finds a window by Lua pattern in its title (e.g."Inbox %(%d+ messages.*)") |
Parameters |
|
Returns |
|
Notes |
|
Source | extensions/appfinder/appfinder.lua line 63 |
© 2014–2017 Hammerspoon contributors
Licensed under the MIT License.
https://www.hammerspoon.org/docs/hs.appfinder.html