Skip to main content
Known Participant
May 5, 2016
Question

Zooming and planning to last click or position of cursor

  • May 5, 2016
  • 0 replies
  • 156 views

Hello:  I have Photoshop and the rest of CS6.  Programmatically, Is it possible to retrieve the position of the cursor in pixels, and then zoom in to that x,y, position?  I am not even sure what the cursor is called in CS6 extendScript? whether it might be keyCenter or keyTo, or if CS6 has either properties?  Programmatically, I am trying to do something akin to selecting the magnetic lasso tool, then clicking somewhere on the photo that I have up, and then zooming in, by pressing ctrl +.  Photoshop does a pretty good job of zooming into the last place that where I clicked, with the lasso tool.

Thank you,

Steve

This topic has been closed for replies.