RetouchPRO

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


Photoshop Scripting Learning and sharing for all platforms

Caption to File Name

Reply
 
Thread Tools
  #1  
Old 11-05-2005, 04:32 PM
Carbra Carbra is offline
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 top
  #2  
Old 11-05-2005, 06:56 PM
Robt Robt is offline
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 top
  #3  
Old 11-05-2005, 09:59 PM
DannyRaphael's Avatar
DannyRaphael DannyRaphael is offline
Moderator
 
Join Date: Mar 2002
Location: Near Seattle, Washington, USA
Posts: 6,300
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 top
  #4  
Old 11-23-2005, 11:47 AM
xbytor xbytor is offline
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 top
Reply

  RetouchPRO > Tools > Software > Photoshop Scripting


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Resizing images for RetouchPRO jeaniesa Photo Retouching 19 11-05-2016 09:28 PM
Paint Engine Presets - installing, custom uploads (file) DannyRaphael Photo-Based Art 32 08-06-2014 08:06 PM
Impressionist plugin: Troubleshooting Cheryl H Photo-Art Resources 34 06-15-2009 11:13 PM
Driving me crazy! (about file extensions) dungbeetle Photoshop Help 8 07-26-2006 05:32 PM
Small vs. Large File Size For Restorations Doug Nelson Photo Restoration 8 04-29-2002 10:02 AM


All times are GMT -6. The time now is 12:43 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
Copyright © 2016 Doug Nelson. All Rights Reserved