RetouchPRO

Go Back   RetouchPRO > Tools > Software > Photoshop Scripting

Notices

Photoshop Scripting Learning and sharing for all platforms

Reply
 
LinkBack 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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #2  
Old 11-05-2005, 05:56 PM
Senior Member
 
Join Date: Apr 2004
Location: Seattle
Posts: 127
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
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: 5,659
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
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 On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
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
Impressionist plugin: Troubleshooting Cheryl H Photo-Art Resources 26 04-02-2006 08:43 AM
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 12:21 PM.


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




1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51