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

set string to clipboard

$
0
0

Hi,

 

Photoshop JSX noob here.

 

I want to do a very basic thing: copy a selection rectangle as text.

Ideally if I can get the location of the mouse and copy it to the clipboard, that would be great,

but bounds is ok as well.

 

I've managed to output selection coordinates:

$.writeln(app.activeDocument.selection.bounds);

 

how can I get those coordinates copied into the system clipboard ?

 

note: I am using osx 10.5.8.


Viewing all articles
Browse latest Browse all 12244

Trending Articles



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