![]() |
| |||||||
| Photoshop Help Tips, questions, and solutions for Adobe Photoshop users One tip or question per thread, please |
| | Thread Tools |
|
#16
| |||
| |||
| Re: Time stamp with PS CS4? Thanks a lot Jian |
|
#17
| |||
| |||
| Re: Time stamp with PS CS4? Quote:
Last edited by brolis13; 05-06-2011 at 04:11 AM. |
|
#18
| ||||
| ||||
| Re: Time stamp with PS CS4? Create a new action, run the script, stop the action. |
|
#19
| |||
| |||
| 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; Code: textItemRef.color= foregroundC |
|
#20
| ||||
| ||||
| Re: Time stamp with PS CS4? Quote:
|
|
#21
| |||
| |||
| 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 |
|
#22
| ||||
| ||||
| Re: Time stamp with PS CS4? Quote:
Code: #target photoshop |
|
#23
| |||
| |||
| 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 |
|
#24
| ||||
| ||||
| 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. |
|
#25
| |||
| |||
| 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 |
|
#26
| ||||
| ||||
| 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); |
|
#27
| |||
| |||
| Re: Time stamp with PS CS4? Great, Thank You csuebele fof quick answer and solution, Best regards from Croatia |
|
#28
| |||
| |||
| 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) } |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
| | ||||
| 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 |