I am trying to automate right clicking on the desktop and pressing N (which cycles next desktop background).
Here's what my script looks like:
Right mouse button
Wait: 1.0 seconds
Emulate keystrokes: n
There are two bugs that happen with this. First of all, the right mouse button will not click until 'n' is sent, no matter how long the wait is. I found a work around by inserting a left click right after the right click. However, I run into another problem, the "next background" just never gets executed in the end. If I manually right click on the desktop, then let the script press 'n', it works. If I let the script right click, and manually press 'n', it works. However, not on it's own together.