Is there a way to create a shortcut, or to write a script, so that once the shortcut is pressed, a guide appears under the mouse pointer and moves with the mouse until next click. Once the mouse is clicked, a guide is placed.

  • 1
    Isn't dragging from a ruler just as easy?
    – Scott
    Mar 30, 2019 at 4:47
  • @Scott, the original question is not about what is easier.
    – Meglio
    Mar 30, 2019 at 8:20
  • 1
    I realize that. Which is why I didn't post an answer but a comment instead. No answer to my question though? :)
    – Scott
    Mar 30, 2019 at 8:42
  • sadly script doesn't allow to wait for userinput :( so i'm feared it can't be done
    – Mr.Online
    Apr 30, 2019 at 3:28

1 Answer 1


There's no such hotkey and to my knowledge, there's no way of getting mouse coordinates from Photoshop via scripting, so it's not possible. (Might be possible with external automatisation application like AHK on Windows though)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.