I am creating an automation plugin in C++. If I load a series of images, let's call them img1, img2, img3, and then try to blur img1 it will be img3 that gets blurred.
The documentation specifically says that actiondescriptors operate on "the current object". How do I change the current object to the image I want to manipulate? I suspect that I will use the docindex of the image, but I cannot figure out how to use the docindex to select the image.

Any help would be greatly appreciated,
-John Connor