Quantcast
Channel: Adobe Community : Popular Discussions - Photoshop Scripting
Viewing all articles
Browse latest Browse all 12244

Translating a selection

$
0
0

I'm trying to translate a selection (which is NOT a quadrangle, rather the outline of some text) and I'm getting the following error....

 

Error 8800: General Photoshop error occurred. This functionality may not be available in this version of Photoshop.
- The command "Transform" is not currently available:
Line: 574
-> selRef.translate(1,0);

 

(It should also be noted that the error message is referring to the "Transform" command rather than "Translate", but I imagine this is because translation is a transformation function.)

 

Is this actually true that we can't translate selections? Or is my syntax wrong? Is there an alternative way to translate? I've tried changing the bounds, but:

 

a) It doesn't see to actually move the selection

b) I'm not sure how moving the bounds would effect the selection anyway since it is not a quadrangle, but the outline of the text.

 

If translate doesn't work, maybe there is a way to nudge it? Although I imagine behind the scenes that is the same operation.

 

 

 

Any wisdom out there?


Viewing all articles
Browse latest Browse all 12244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>