|
Hi Everyone,
I'm trying to write a macro that allows the user to paste an image and then move it. So far I can paste the image no problem, I then halt the program with a 'waitforuser' command but I cannot now move the pasted object. I want to be able to do this and then use 'getSelectionCoordinates(x, y)' to find the top left corner position of the pasted image.
Here is the code to get this far:
setPasteMode("Blend");
run("paste");
waitForUser("adjust paste position");
getSelectionCoordinates(x, y);
print(x[0]+" "+y[0]);
Is there any way of being able to move the pasted image after the run("paste") command?
Thanks
Neil
|