Applescript translate layer units are points instead of pixels

J
Posted By
Joe6pack
Oct 25, 2006
Views
1012
Replies
0
Status
Closed
I have something like the following in an AppleScript:

tell application "Adobe Photoshop 7.0"
activate

set ruler units of settings to pixel units
translate layer "Layer 1" of current document delta x 100 delta y 50

This worked correctly with Photoshop 7 in OS 9, but in CS2 on OS X Photoshop moves the layer in points instead of pixels (at least that’s what it seems to do–at 300 dpi stuff is moving approx. 4+ times further than specified).

How do I make the layer move in pixels, the way it’s supposed to?

How to Master Sharpening in Photoshop

Give your photos a professional finish with sharpening in Photoshop. Learn to enhance details, create contrast, and prepare your images for print, web, and social media.

Related Discussion Topics

Nice and short text about related topics in discussion sections