Skip to main content
Participant
February 19, 2010
Question

How to copy active documentname to clipboard

  • February 19, 2010
  • 1 reply
  • 403 views

Hi,

I need a script for PS which will copy active document name to the clipboard, which then have to manually'll put myself as the text in the picture.
Reading the document's name I've already got:

MyDoc = app.activeDocument.name;

but I can not cope with this copy. I should be grateful for any help and suggestions.

Yours
Rafal

This topic has been closed for replies.

1 reply

c.pfaffenbichler
Community Expert
Community Expert
February 19, 2010

There used to be a Script around called »AddFileName.js« that may help, though it did not go through clipboard but just created a text layer.

http://newsgroups.derkeiler.com/Archive/Comp/comp.graphics.apps.photoshop/2005-11/msg00309.html

Bafal_83Author
Participant
February 19, 2010

Thanks you, its exactly what i'm loking for.