CParam

Click Parameters

Constructor
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 Methods
repeat
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
hold
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
delay
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
waitNext
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
random
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
Methods
repeat
CParam repeat(repeat: number)

Set repeat to a new value

Parameters
repeat The number of repeat
Return
CParam This CParam instance
hold
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
delay
CParam delay(delay: number)

Set delay to a new value

Parameters
delay Delay the click in miliseconds
Return
CParam This CParam instance
waitNext
CParam waitNext(waitNext: number)

Set waitNext to a new value

Parameters
waitNext Wait miliseconds until the next statement
Return
CParam This CParam instance
random
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

© 2024 - Macrorify by KoK-CODE