This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > PainShop Pro Scripting > March 2006 > Just for the fun of it... Batch add the date/time of modification to a image file.





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Just for the fun of it... Batch add the date/time of modification to a image file.
RonaldV

2006-03-10, 6:31 pm

I did this one just to see what would happen to the date script, when
I placed it into the batch process. (At SR's suggestion, of course.)

Technical: Unzip the two scripts to your trusted scripts directory.

The script you run is named 'Batch Add Date Time To Image.PspScript'
(whew!)

It pops up an information box telling you to set the batch mode, which
is coming up next.

In the batch mode, most people should see the second script already
set as the script to run. If not, select it from the dropdown script
list. As the info box states, it's ####

Verify and set if the Script Save isn't already checked.

Do a Browse and select some images.***

Click Start.

All of the image files you selected get renamed to the original name +
date + time of modification. If the image hasn't been modified, it's
creation time.

*** I'm not sure if the way I coded the Batch command will accept all
image types, I may need to make a change in it. Let me know if you
have problems, thanks.


RonV
Tangling with the Python

begin 644 BatchAddDateTimeToImage.zip
M4$L#!!0````(`*1T:C0EP2E*#0(``$T$```.````(R,C(RY0<W!38W)I<'1]
M4F%KVS`0_1[(?[AO<F;'39IV'6;]8)J5$D@;YE(VMC)46XX%L23D<T@8^^^3
M;"NN,YC`1KKW=/?NZ7(M2]@DFU@IX*62&N'#>-3M9!68+U04BP"0ERR`"C47
MV_%H/,I8#DFJN<*-EHIIY*SR)M%X!&9IAK46\+L]V47B&@NI200U^2H%W67P
M0H)W^)U41\VW!384(04;P$M6-<6X%`TASC(H9<9SGE(;A(PBN[`B`250R/F.
M@:#FN.<4WLC//I==-:&8%H,*#[)J:V\H%PA)(168UN#;/RQX8;IR0N:S<+8@
M/>./,V=#,P_9`1/4SA:>PXZ)4_3S9=3?ZX)P"V1&P'?G@9^GV'A42H%%9=F'
MPV%%Q3U[6U,=*[VFQU4M5O4NKK< )4T\I/LK]DJ7$Z5I*[XO8<RU%R00Z:4K;
MILT8A'&*?,^6,JTM'CX:#UO*O;'T6=X55&R9*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]V:(',]F#RR?QYPM6Q40,W')1K2(B`,U^OC
MT5^8M"3Q_OD:3"591FOF'7K_YR8T&W\`4$L!`A8+%`````@`I'1J-"7!*4H-
M`@``300```X``````````0`@`("!`````",C(R,N4'-P4V-R:7!T4$L!`A8+
M%`````@`^W1J-!BU,G4M`@``L04``"8``````````0`@`("!.0(``$)A=&-H
M($%D9"!$871E(%1I;64@5&\@26UA9V4N4'-P4V-R:7!T4$L%!@`````"``(`
*D````*H$`````%1I
`
end
Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews