RetouchPRO

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


Photoshop Help Tips, questions, and solutions for Adobe Photoshop users
One tip or question per thread, please

Time stamp with PS CS4?

Reply
 
Thread Tools
  #16  
Old 04-01-2011, 10:28 AM
whoisjian whoisjian is offline
Junior Member
 
Join Date: Mar 2011
Posts: 4
Re: Time stamp with PS CS4?

Great, Thanks, I been playing around, recorded an Action to change font and color, not perfect yet, but getting there.

Thanks a lot

Jian
Reply With Quote
  #17  
Old 05-06-2011, 03:41 AM
brolis13 brolis13 is offline
Junior Member
 
Join Date: May 2011
Posts: 1
Re: Time stamp with PS CS4?

Quote:
Originally Posted by csuebele View Post
Here is a script file you can use. Unzip the attachement and place the file timestamp in the subfolder of photoshop CS4\presets\scripts. Start photoshop. Open an image and then go to file>scripts>timestamp. This will place the date and time in the lower right corner. You can and should add this to an action. After you run the script in the action, you can adjust the layer style and such to make it more visable.
How do I add this to an action?

Last edited by brolis13; 05-06-2011 at 04:11 AM.
Reply With Quote
  #18  
Old 05-06-2011, 06:41 AM
csuebele's Avatar
csuebele csuebele is offline
Member
 
Join Date: Oct 2009
Location: Los Angles area
Posts: 88
Re: Time stamp with PS CS4?

Quote:
Originally Posted by brolis13 View Post
How do I add this to an action?
Create a new action, run the script, stop the action.
Reply With Quote
  #19  
Old 12-16-2011, 10:18 AM
dcast99 dcast99 is offline
Junior Member
 
Join Date: Dec 2011
Posts: 1
Re: Time stamp with PS CS4?

Coming into this late, and I dont know if this was answered or not but, I found out how to change the font color, first set the foreground and dont forget that "foregroundC" is now an object

Code:
var foregroundC = new SolidColor();
			foregroundC.rgb.red = 255;
			foregroundC.rgb.green = 255;
			foregroundC.rgb.blue = 255;
			foregroundColor = foregroundC;
so then in this line, you can refer to that object:

Code:
textItemRef.color= foregroundC
I put that under the line for font size and it worked.
Reply With Quote
  #20  
Old 12-17-2011, 08:58 AM
DannyRaphael's Avatar
DannyRaphael DannyRaphael is offline
Moderator
Patron
 
Join Date: Mar 2002
Location: Near Seattle, Washington, USA
Posts: 6,285
Re: Time stamp with PS CS4?

Quote:
Originally Posted by dcast99 View Post
Coming into this late, and I dont know if this was answered or not but, I found out how to change the font color, first set the foreground and dont forget that "foregroundC" is now an object

Code:
var foregroundC = new SolidColor();
            foregroundC.rgb.red = 255;
            foregroundC.rgb.green = 255;
            foregroundC.rgb.blue = 255;
            foregroundColor = foregroundC;
so then in this line, you can refer to that object:

Code:
textItemRef.color= foregroundC
I put that under the line for font size and it worked.
It's never too late to share knowledge. Welcome to Retouch Pro and thanks for contributing.
Reply With Quote
  #21  
Old 04-29-2012, 07:41 AM
nik0teen nik0teen is offline
Junior Member
 
Join Date: Apr 2012
Posts: 2
Re: Time stamp with PS CS4?

is there a CS5 version of this script available
this one doesn't seem to work with CS5
Many Tnx
Reply With Quote
  #22  
Old 04-29-2012, 09:01 AM
csuebele's Avatar
csuebele csuebele is offline
Member
 
Join Date: Oct 2009
Location: Los Angles area
Posts: 88
Re: Time stamp with PS CS4?

Quote:
Originally Posted by nik0teen View Post
is there a CS5 version of this script available
this one doesn't seem to work with CS5
Many Tnx
Try changing the very first line of the script to:

Code:
#target photoshop
Reply With Quote
  #23  
Old 04-29-2012, 02:17 PM
nik0teen nik0teen is offline
Junior Member
 
Join Date: Apr 2012
Posts: 2
Re: Time stamp with PS CS4?

tnx works ok now but text was so small i couldnt see it, but made action to include script and works fine now tnx again
Reply With Quote
  #24  
Old 04-29-2012, 02:31 PM
csuebele's Avatar
csuebele csuebele is offline
Member
 
Join Date: Oct 2009
Location: Los Angles area
Posts: 88
Re: Time stamp with PS CS4?

It's been a while since I wrote the script. Lots of things I could improve upon. Text is always a bit tricky in that it's not tied to px but to units such as inches, which is relative to pixels depending upon image resolution. I made a new script for work that converts all images to 11" inch max length without resampling. That was the text is always the same size in relation to the image no matter what the pixel dimension.
Reply With Quote
  #25  
Old 06-21-2012, 09:14 AM
pigor pigor is offline
Junior Member
 
Join Date: Nov 2009
Posts: 2
Re: Time stamp with PS CS4?

Hi,

this script is excellent, but I have one question - how can I change date format?
I wolud like date format to be DAY:MONTH:YEAR

Thank You
Reply With Quote
  #26  
Old 06-21-2012, 10:48 AM
csuebele's Avatar
csuebele csuebele is offline
Member
 
Join Date: Oct 2009
Location: Los Angles area
Posts: 88
Re: Time stamp with PS CS4?

It depends if you want the month as a number or spelled out in some way. Just a number would be easier. you would replace line 24 in my original posting with this line:

Code:
timeDate = dateString.substring(27,29) + ':' + dateString.substring(24,26) + ':' + dateString.substring(19,23);
If you wanted the month spelled out you would have to create a switch clause and write out each month ho you would want it to look and reference it with the number of each month.
Reply With Quote
  #27  
Old 06-21-2012, 11:34 AM
pigor pigor is offline
Junior Member
 
Join Date: Nov 2009
Posts: 2
Re: Time stamp with PS CS4?

Great, Thank You csuebele fof quick answer and solution,

Best regards from Croatia
Reply With Quote
  #28  
Old 07-25-2012, 11:50 PM
dwd dwd is offline
Junior Member
 
Join Date: Jul 2012
Posts: 1
Re: Time stamp with PS CS4?

Hi CSuebele, I try to put the day in front of date-time stamp
but I fail to get the correct day for the date, below is my addition line in your script
Scripting is new for me, Please advice... THANKS

var d=new Date()
var weekday=new Array(7)
weekday[0]="Sunday"
weekday[1]="Monday"
weekday[2]="Tuesday"
weekday[3]="Wednesday"
weekday[4]="Thursday"
weekday[5]="Friday"
weekday[6]="Saturday"

for (var i = 0; i <docRef.info.exif.length; i++)
{
dateString = docRef.info.exif[i].toString()

if (dateString.substring(0,18) == 'Date Time Original')
{

d = new Date(dateString.substring(19,23), (dateString.substring(24,26))-1, dateString.substring(27,29))

var n = weekday[d.getDay()]
timeDate = d.getDay() + ' ' + n + ', ' + dateString.substring(27,29) + '-' + dateString.substring(24,26) + '-' + dateString.substring(19,23) + ' ' + dateString.substring(30,35)
}
Reply With Quote
Reply


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
Help with animated gif in CS4 Lee_Hitsugaya Photo Retouching 1 09-04-2009 04:47 PM
Digital Velvia Panel for CS4 gmitchel Software 2 08-23-2009 06:20 PM
CS4 Panel for Diffuse Glows gmitchel Software 0 08-20-2009 08:51 PM
Tone-Based Mask Panel for CS4 gmitchel Software 4 08-14-2009 07:04 PM
Beta Available for Photoshop CS4 Sharpening Panels gmitchel Software 0 08-01-2009 12:57 PM


All times are GMT -6. The time now is 03:54 PM.


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