Class GenericHotkey

Inheritance

Object GenericHotkey 🡄 Object

Properties

DelayBetweenActivate Interval in milliseconds that determines the minimum time between hotkey activations.
onHotkey The function to call when the hotkey is pressed.

Methods

getKeys ()
getOnHotkey ()
setKeys ( key, ... )
setOnHotkey ( table )

Creation

createHotkey ( function, keys, ... ) Returns an initialized GenericHotkey class object.


Inheritance

Object
GenericHotkey 🡄 Object

Properties

DelayBetweenActivate
Interval in milliseconds that determines the minimum time between hotkey activations. If 0, the global delay is used.

Type:

    integer
onHotkey
The function to call when the hotkey is pressed.

Type:

    function

Methods

getKeys ()
getOnHotkey ()
setKeys ( key, ... )

Parameters:

  • key
  • ... (optional)
setOnHotkey ( table )

Parameters:

  • table

Creation

createHotkey ( function, keys, ... )
Returns an initialized GenericHotkey class object. Maximum of 5 keys.

createHotkey(function, {keys, ...}) : ^

Parameters:

  • function
  • keys
  • ... (optional)
generated by LDoc 1.4.6-antum-dev-1 Last updated 2019-02-27 23:30:35