-
Notifications
You must be signed in to change notification settings - Fork 0
01. CursorMacro Options
The main features of CursorMacro are its recorder and player. The goal is to be able to play back mouse and keyboard inputs as accurately as possible.
To start off, press the "Record" button, make some mouse movements, and press the "Stop" button. You should see a script appear in the text pane. When you compile it by pressing the "Compile" button, that script will be playable by pressing the "Play" button.
CursorMacro also has many options. Below is a brief overview of them:
-
Unpress - If this checkbox is ticked, any keys or mouse buttons that are pressed down at the end of execution will be unpressed. If this checkbox is not ticked, the keys or buttons will remain pressed down until you manually press them again. This feature will always run, even if the script is stopped early.
-
Stop Hotkey - If this checkbox is unchecked, the only way to stop the recorder or player is to press the "Stop" button on the top right. Otherwise, pressing ESC automatically presses the "Stop" button. This key can be changed by pressing on the "Key: " button.
-
Snap Recording Mode - If this checkbox is ticked, the recorder will only log mouse movements just before a mouse or key press (or release). This causes the mouse to be jumpy, but allows the resulting script to be cleaner.
-
Mouse Interval - The maximum delay between recorded mouse movements in milliseconds. A mouse movement will always be recorded before a mouse or key press (or release). This is recommended to be set to at least 100 to prevent the script from being filled with mouse movements. A delay of 0 means that all mouse movements will be recorded.
The randomizer will generate an offset value for the Delay and optionally the MouseMove instructions (more on this next page). For the delay, the maximum offset value will be capped according to both the "Random Delay" and "Max Percentage" options (so the offset value will be in range of both fields). Of randomizing, both fields are mandatory. Pressing the "Apply Delay" button changes the script to have a randomizer applied.
-
Seed - The seed for randomizing the instructions. Leaving the seed blank means that the randomizer data will be erased. Pressing "Generate" generates a random seed using nextLong().
-
Random Delay - The maximum amount of delay the randomizer can add or subtract from the base delay, for randomizing the Delay instruction. The randomizer will never generate a negative delay.
-
Max Percentage - The maximum percentage of the delay the randomizer can add or subtract.
-
Randomize location - If this checkbox is ticked, and the MouseMove instruction has a tolerance value (more on this next page), then the location will be offset by a value that is within the tolerance range. If this checkbox is not ticked, a prompt will show up asking if you want to erase MouseMove randomizer data.
The randomizer will output the randomized runtime and normal runtime as a comment (//
) below the instructions. The randomized runtime is the actual runtime and the normal runtime is the runtime when the randomizer is removed.
Selects the type of recorder. By default, only the normal mouse and keyboard recorder is available. A custom recorder can be written and added in (more on this later).