(N) in the description indicates that this property is returned or set as a number (floating point) (I) in the description indicates that this property is returned or set as an integer The constants defined in this table are as follows:.The table supports forward (label to number) and reverse (number to label) lookups to increase its flexibility. Methods - API calls which can only be made on an object returned by a constructorĪPI Documentation Constants properties SignatureĪ table containing property types for use with `hs.eventtap.event:getProperty()` and `hs.eventtap.event:setProperty()`.Constructors - API calls which return an object, typically one that offers API methods.Functions - API calls offered directly by the extension.Constants - Useful values which cannot be changed.You should have received a copy of the GNU General Public LicenseĪlong with this program if not, write to the Free Softwareįoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. GNU General Public License for more details. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program is distributed in the hope that it will be useful,īut WITHOUT ANY WARRANTY without even the implied warranty of Of the License, or (at your option) any later version.
Modify it under the terms of the GNU General Public LicenseĪs published by the Free Software Foundation either version 2 This program is free software you can redistribute it and/or Hs. uses an external library by Calf Trail Software, LLC.Ĭopyright (C) 2010 Calf Trail Software, LLC This module is based primarily on code from the previous incarnation of Mjolnir by Steven Degutis.
Hammerspoon docs: hs.eventtap.event docs » hs.eventtap.eventĬreate, modify and inspect events for hs.eventtap