![]() ![]() bundleID - A string containing an application bundle identifier (e.g.Gets the metadata of an application from its bundle identifier This is the application which currently receives input events.Įxtensions/application/libapplication.m line 21 Returns the application object for the frontmost (active) application. Hs.ontmostApplication() -> hs.application object If you set this to false, then the notifications indicating that more results might be possible if Spotlight is enabled will be suppressed.Įxtensions/application/a line 429 You can disable Spotlight alternate name mapping by setting this value to false or nil.If this was set to true and you set it to true again, it will purge the alternate name map and rebuild it from scratch.This setting is persistent across reloading and restarting Hammerspoon. ![]() state - an optional boolean specifying whether or not Spotlight should be used to try and determine alternate application names for hs.application.find and similar functions. ![]() Get or set whether Spotlight should be used to find alternate names for applications. Hs.application.enableSpotlightForNameSearches() -> boolean A string containing a bundle ID, or nil if none could be foundĮxtensions/application/libapplication.m line 215.Returns the bundle ID of the default application for a given UTI A table of zero or more hs.application objects that match the given identifierĮxtensions/application/libapplication.m line 71.bundleID - An OSX application bundle identifier.Returns any running apps that have the given bundleID. ![]() Hs.application.applicationsForBundleID(bundleID) -> list of hs.application objects
0 Comments
Leave a Reply. |