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?