Click Parameters
CParam(repeat: number = 1, hold: number = 0, delay: number = 0, waitNext: number = 100, random: number = 0)
Construct a Click Parameter
| Parameters | |
| repeat | The number of repeat |
| hold | How long to hold the click in miliseconds |
| delay | Delay the click in miliseconds |
| waitNext | Wait miliseconds until the next statement |
| random | Randomize the click point by this amount (x +- random, y +- random) with every repeat |
CParam(param: CParam)
Construct a CParam from another CParam
| Parameters | |
| param | another CParam to copy value from |
static CParam repeat(repeat: number)
Create a CParam with repeat parameter. Other parameter leave default
| Parameters | |
| repeat | The number of repeat |
| Return | |
| CParam | New instance of CParam |
static CParam hold(hold: number)
Create a CParam with hold parameter. Other parameter leave default
| Parameters | |
| hold | How long to hold the click in miliseconds |
| Return | |
| CParam | New instance of CParam |
static CParam delay(delay: number)
Create a CParam with delay parameter. Other parameter leave default
| Parameters | |
| delay | Delay the click in miliseconds |
| Return | |
| CParam | New instance of CParam |
static CParam waitNext(waitNext: number)
Create a CParam with waitNext parameter. Other parameter leave default
| Parameters | |
| waitNext | Wait miliseconds until the next statement |
| Return | |
| CParam | New instance of CParam |
static CParam random(random: number)
Create a CParam with random parameter. Other parameter leave default
| Parameters | |
| random | Randomize the click point by this amount (x +- random, y +- random) with every repeat |
| Return | |
| CParam | New instance of CParam |
CParam repeat(repeat: number)
Set repeat to a new value
| Parameters | |
| repeat | The number of repeat |
| Return | |
| CParam | This CParam instance |
CParam hold(hold: number)
Set hold to a new value
| Parameters | |
| hold | How long to hold the click in miliseconds |
| Return | |
| CParam | This CParam instance |
CParam delay(delay: number)
Set delay to a new value
| Parameters | |
| delay | Delay the click in miliseconds |
| Return | |
| CParam | This CParam instance |
CParam waitNext(waitNext: number)
Set waitNext to a new value
| Parameters | |
| waitNext | Wait miliseconds until the next statement |
| Return | |
| CParam | This CParam instance |
CParam random(random: number)
Set random to a new value
| Parameters | |
| random | Randomize the click point by this amount (x +- random, y +- random) with every repeat |
| Return | |
| CParam | This CParam instance |
© 2025 - Macrorify by KoK-CODE