#
hs
Core Hammerspoon functionality
#
Submodules
- hs.alert
- hs.appfinder
- hs.applescript
- hs.application
- hs.audiodevice
- hs.axuielement
- hs.base64
- hs.battery
- hs.blackmagic
- hs.bonjour
- hs.brightness
- hs.caffeinate
- hs.camera
- hs.canvas
- hs.chooser
- hs.console
- hs.crash
- hs.deezer
- hs.dialog
- hs.distributednotifications
- hs.doc
- hs.dockicon
- hs.drawing
- hs.eventtap
- hs.expose
- hs.fnutils
- hs.fs
- hs.geometry
- hs.grid
- hs.hash
- hs.hid
- hs.hints
- hs.host
- hs.hotkey
- hs.http
- hs.httpserver
- hs.image
- hs.inspect
- hs.ipc
- hs.itunes
- hs.javascript
- hs.json
- hs.keycodes
- hs.layout
- hs.location
- hs.logger
- hs.math
- hs.menubar
- hs.messages
- hs.midi
- hs.milight
- hs.mjomatic
- hs.mouse
- hs.network
- hs.noises
- hs.notify
- hs.osascript
- hs.osc
- hs.pasteboard
- hs.pathwatcher
- hs.plist
- hs.razer
- hs.redshift
- hs.screen
- hs.serial
- hs.settings
- hs.sharing
- hs.shortcuts
- hs.socket
- hs.sound
- hs.spaces
- hs.speech
- hs.spoons
- hs.spotify
- hs.spotlight
- hs.sqlite3
- hs.streamdeck
- hs.styledtext
- hs.tabs
- hs.tangent
- hs.task
- hs.timer
- hs.uielement
- hs.urlevent
- hs.usb
- hs.utf8
- hs.vox
- hs.watchable
- hs.websocket
- hs.webview
- hs.wifi
- hs.window
#
API Overview
Constants - Useful values which cannot be changed
configdir docstrings_json_file processInfo
Variables - Configurable values
accessibilityStateCallback completionsForInputString dockIconClickCallback fileDroppedToDockIconCallback shutdownCallback textDroppedToDockIconCallback
Functions - API calls offered directly by the extension
accessibilityState allowAppleScript autoLaunch automaticallyCheckForUpdates cameraState canCheckForUpdates checkForUpdates cleanUTF8forConsole closeConsole closePreferences consoleOnTop coroutineApplicationYield dockIcon execute focus getObjectMetatable help hsdocs loadSpoon menuIcon microphoneState open openAbout openConsole openConsoleOnDockClick openPreferences preferencesDarkMode printf rawprint relaunch reload screenRecordingState showError toggleConsole updateAvailable uploadCrashData