I was trying to simulate the Rotate button being clicked and dragged in order to rotate the current tool on the screen.
I tried the following line of code
//buttonCenterX,buttonCenterY are set to the center of the button. that code
//not shown here
[IClick, Transform:Rotate Edit, buttonCenterX, buttonCenterY, buttonCenterX + 10, buttonCenterY + 10]
I can see that the Rotate button is pressed since it gets a little selection rectangle around it…but the object never rotates.
Any ideas for how to solve this is as always greatly appreciated.
Thanks,
mobbe