RetouchPRO

Go Back   RetouchPRO > Tools > Software > Photoshop Scripting
Register Blogs FAQ Site Nav Search Today's Posts Mark Forums Read Chat Room


Photoshop Scripting Learning and sharing for all platforms

Reply
 
Thread Tools
  #1  
Old 11-05-2005, 03:32 PM
Junior Member
 
Join Date: Nov 2005
Location: Auckland New Zealand
Posts: 1
Exclamation Caption to File Name

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.
Reply With Quote
  #2  
Old 11-05-2005, 05:56 PM
Senior Member
 
Join Date: Apr 2004
Location: Seattle
Posts: 131
I've never tried it but I think that Russel Brown's service 1.3 found HERE might very well do what you are after.

Good luck
Reply With Quote
  #3  
Old 11-05-2005, 08:59 PM
DannyRaphael's Avatar
Moderator
Patron
 
Join Date: Mar 2002
Location: Near Seattle, Washington, USA
Posts: 6,242
Quote:
Originally Posted by Carbra
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.
Welcome to RetouchPRO, Carbra:

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
Reply With Quote
  #4  
Old 11-23-2005, 10:47 AM
Member
 
Join Date: Aug 2004
Posts: 35
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;
Change it to:
Code:
myTextRef.contents = docRef.info.caption;
There are a lot of options for font, color, and placement.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
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


All times are GMT -6. The time now is 10:19 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 2008 Doug Nelson. All Rights Reserved