Hi all,
wondering if this is possible.
Is there a way to incorporate into my processor script to:
Find the person altering file (User) and imbed this into the files metadata? It really wouldn't matter where, Author, Description, etc.
We have multiple people that work on files and I would like to be able to reference who worked on the file in the file's metadata.
Any ideas? I have found how to do this by entering the user name manually, but wondering if there is a way to pull the user (MacHD-Users-jtredinn).
Thanks in advance!
Imbed user into files Metadata
-
Mikaeru
Imbed user into files Metadata
jtredinn wrote:Any ideas? I have found how to do this by entering the user name manually, but wondering if there is a way to pull the user (MacHD-Users-jtredinn).
Code: Select all// Warning: $.getenv () is only available from CS2
app.activeDocument.info.author = $.getenv ("USER");
If you ever need to get access to some specific Mac OS X system-related information, please have also a look at: Mac Environmental Variables
HTH,
--Mikaeru
Code: Select all// Warning: $.getenv () is only available from CS2
app.activeDocument.info.author = $.getenv ("USER");
If you ever need to get access to some specific Mac OS X system-related information, please have also a look at: Mac Environmental Variables
HTH,
--Mikaeru
-
tms
Imbed user into files Metadata
I set up another workflow for our photostudio (where every computer has the same user):
- every time you start photoshop you're asked for your name (which is written into a txt file on your desktop)
- when a document is opened the txt file is read and the name is appended to app.activeDocument.info.author
drop me a note if you're interested in the code.
sebastian
- every time you start photoshop you're asked for your name (which is written into a txt file on your desktop)
- when a document is opened the txt file is read and the name is appended to app.activeDocument.info.author
drop me a note if you're interested in the code.
sebastian