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

Mouse coordinates?

$
0
0

One last thing I will try before starting my project is to shave a bit of time off of it.  Currently, I've got a script I've been using for months now that selects 95x95.  I use another script (or actually action up until now) to copy and paste into a new file and save.  I think the smarter approach is this:

 

-Open desired files

-Have script loop through each open document, waiting for mouse input.

-Once the mouse is clicked, set the 95x95 selection from wherever the XY coordinates are

-Copy -> New File -> Paste -> Close -> Close

-Rinse->Repeat.

 

Problem is, after quite a bit of searching, I've not found anything that hints that Photoshop's implementation of Javascript can get mouse coordinates.  In fact, I see that in Javascript they are browser specific, so that's not going to help me.

 

Am I at a total loss here?


Viewing all articles
Browse latest Browse all 12244

Trending Articles



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