Re: Write Keyword to Photoshop File Without Opening It
Re: Write Keyword to Photoshop File Without Opening It
- Subject: Re: Write Keyword to Photoshop File Without Opening It
- From: Steve Thompson <email@hidden>
- Date: Tue, 26 Oct 2010 16:40:53 +0100
On 26 Oct 2010, at 15:41, Simon, Garry wrote: Does anyone know a way to write a keyword to the "File Info" field of a Photoshop file without actually opening the file? perhaps a shell script, I would preferably like to do it without using a third party tool.
osascript -e 'tell application "Finder" to set comment of (choose file) to "blah"'
You could also look at the 'xattr' command (xattr -h) but it's a pain. :-)
Steve |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden