![]() |
|
#1
| |||
| |||
| Hi, I've been working on a project for work for some weeks now and I've hit a brick wall. I was hoping that someone may be able to help? I'm writing a script to take the caption in the File Info, puts it on the front of an image and then save it using the caption as the file name too. It's been relatively easy to do the first part, but when it comes to resaving the image using the caption as the file name, I'm hitting a brick wall. Please, can anyone give me a clue or point me towards a site that may help. |
|
#3
| ||||
| ||||
| Quote:
Check out these scripts from http://share.studio.adobe.com/ * "Add Filename Plus" - the one I would start with FWIW * "FilenameAsTextlayer" * "Add Filename Plus & Date" Each extracts an image's file name in order to populate a Text layer. Perhaps you can reverse engineer them to figure out how to populate the file name variable? These are two excellent PS scripting forums: * A great scripting website started by Andrew Hall: http://www.ps-scripts.com * Adobe.com - Photoshop Scripting forum: http://www.adobeforums.com/cgi-bin/webx?14@@.ef7ec95 |
|
#4
| |||
| |||
| Download the 'Add Filename Plus & Date' script here: http://share.studio.adobe.com/axAsse....asp?aID=11493 Down towards the bottom of the file is a line: Code: myTextRef.contents = TextBefore + " " + fname + " " + TextAfter; Code: myTextRef.contents = docRef.info.caption; |
| Thread Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Impressionist plugin: Troubleshooting | Cheryl H | Photo-Art Resources | 34 | 06-15-2009 10:13 PM |
| Paint Engine Presets - installing, custom uploads (file) | DannyRaphael | Photo-Based Art | 31 | 02-21-2007 08:57 PM |
| Driving me crazy! (about file extensions) | dungbeetle | Photoshop Help | 8 | 07-26-2006 04:32 PM |
| Resizing images for RetouchPRO | jeaniesa | Photo Retouching | 18 | 09-26-2005 12:20 AM |
| Small vs. Large File Size For Restorations | Doug Nelson | Photo Restoration | 8 | 04-29-2002 09:02 AM |