Allows you to change the cursor type of the mouse.
Example
Running this code will create UI buttons named "Pen" and "Arrow" assigned with the following cursor paths "C:\Windows\Cursors\aero_pen.cur" and "C:\Windows\Cursors\aero_arrow.cur", respectively.
This is shown in the UBot browser. When the UI buttons are pressed, the following cursors will be shown:
This is the cursor "C:\Windows\Cursors\aero_pen.cur".
This is the cursor "C:\Windows\Cursors\aero_arrow.cur".
ui button("Pen") {
plugin command("OS Automation.dll", "change mouse cursor", "C:\\Windows\\Cursors\\aero_pen.cur", "Arrow")
}
ui button("Arrow") {
plugin command("OS Automation.dll", "change mouse cursor", "C:\\Windows\\Cursors\\aero_arrow.cur", "Arrow")
}