MacroRecoderCsScript
MacroRecoderCsScript copied to clipboard
Hotkeys Start/Stop? Randomization
Does this program have ability to start/stop the script with hotkeys?
ALSO
Does the scripting language allow for randomizing coordinates and times? If so, could you update the reference document.
Hotkeys is not suppoerted.
Scripting language is C# script with Roslyn for Scripting, so you can use System.Random. Script example is provided below.
using System;
using System.Threading.Tasks;
await SetCoordinateRandom();
async Task SetCoordinateRandom()
{
var rnd = new Random();
int x = rnd.Next( 1000 );
int y = rnd.Next( 1000 );
await SetMousePos( x, y );
await Delay( 100 );
}