Photoshop Offset Filter

I’m having a problem with …


tell application “Adobe Photoshop 7.0.1”
filter current layer of current document using offset with options {horizontal offset:10, vertical offset:10, undefined areas:wrap around}
end tell

Now this is just a small segment of a much larger script so the current layer is an art layer than can be moved. Is there something I’m missing here? This is the only filter command I have. If anyone knows of an alternative to moving layers, or better yet… layer sets in PS 7, I would love to hear it.
The downside is even if I get this filter to work, I have to do it layer by layer with a repeat. It will not work on a layer set.

Anyone just want to take a stab at this? It would be nice to know why this doesn’t work.

Name of the filter is offset filter not offset.

tell application "Adobe Photoshop 7.0"
	filter current layer of current document using offset filter with options {horizontal offset:10, vertical offset:10, undefined areas:wrap around}
end tell

:wink:

Well that’s a little redundant isn’t it? Thanks for the help.

I actually ended up using translate. What a perfect name for something that moves the position of a layer… NOT. It took me a while to figure that one out.

It’s still good to know how to do the offset filter though. I might want something to wrap around with it.