How is the best way to have the ' create date & time ' to print a picture?

I'vehas attempted to make a script to work, but since I don't know what I'm doing, without success.  I use CS2, and as if so I didn't update.  If I need to upgrade to get something to go, I'll do it.  Meta data.

Any suggestions appreciated,

You could get the date and time of the imformation exif... IE:

This should add create Date and time into your open document.

main();
function main(){
if(!documents.length) return;
var exifArray =activeDocument.info.exif;
for(var a in exifArray){
    if(exifArray[a][0].match(/^date time orig/i)){
        var dateTime = exifArray[a][1].toString();
        break;
        }
}
//Amend to suit
var Percent = 50; //The text is the percentage of smallest side
var blendmode = activeDocument.activeLayer.blendMode.toString().replace(/blendmode./i,'');
var Opacity = parseInt(activeDocument.activeLayer.opacity);
var TextInfo = dateTime;
var Black = new SolidColor();
Black.rgb.hexValue = '000000';
var newTextLayer = activeDocument.artLayers.add();
newTextLayer.kind = LayerKind.TEXT;
newTextLayer.textItem.kind = TextType.POINTTEXT;
newTextLayer.textItem.color = Black;
newTextLayer.textItem.font = "Georgia";
newTextLayer.textItem.size = 10;
newTextLayer.textItem.contents = TextInfo;
var startRulerUnits = app.preferences.rulerUnits;
app.preferences.rulerUnits = Units.PIXELS;
var myDoc = activeDocument;
var LB = myDoc.activeLayer.bounds;
var docHeight = myDoc.height;
var docWidth = myDoc.width;
var LHeight = Math.abs(LB[3].value) - Math.abs(LB[1].value);
var LWidth = Math.abs(LB[2].value) - Math.abs(LB[0].value);
var percentageHeight = ((docHeight/LWidth)*Percent);
var percentageWidth = ((docWidth/LWidth)*Percent);
if(docWidth < docHeight){
myDoc.activeLayer.resize(percentageWidth,percentageWidth,AnchorPosition.MIDDLECENTER);
}else{
  myDoc.activeLayer.resize(percentageHeight,percentageHeight,AnchorPosition.MIDDLECENTER);
  }
align('AdCH'); align('AdBt');
activeDocument.activeLayer.translate(0,-10);
app.preferences.rulerUnits = startRulerUnits;
}
function align(method) {
activeDocument.selection.selectAll();
   var desc = new ActionDescriptor();
           var ref = new ActionReference();
           ref.putEnumerated( charIDToTypeID( "Lyr " ), charIDToTypeID( "Ordn" ), charIDToTypeID( "Trgt" ) );
       desc.putReference( charIDToTypeID( "null" ), ref );
       desc.putEnumerated( charIDToTypeID( "Usng" ), charIDToTypeID( "ADSt" ), charIDToTypeID( method ) );
    try{
   executeAction( charIDToTypeID( "Algn" ), desc, DialogModes.NO );
   }catch(e){}
   activeDocument.selection.deselect();
};

Tags: Photoshop

Similar Questions

  • Can someone tell me which is the best way to have a client to download a folio on their ipad to review customer?

    Can someone tell me which is the best way to have a client to download a folio on their ipad to review customer?

    Hi Winstonian,

    Ask the customer to download Adobe Content Viewer on iPad on the App Store. Then they need a free account Adobe DPS https://digitalpublishing.acrobat.com. Sign-in on the Adobe Content Viewer app.

    You need to share the folio of the producer Folio for e-mail, once shared, they will be able to view the folio on Adobe Content Viewer App.

    Thank you

    Afonso Upreti

  • In DWCS5.5 what happens if the best way to have more a href

    Hello

    Been factory DW8 now go with Adobe DWCS5.5 great curve of learning for me.

    In DWCS5.5 what happens if the best way to have more a href

    I tried style and span but does not seem to to do me what I need.

    Looking for suggestions - samples.

    Thank you for the help

    Bob

    http://help.Adobe.com/en_US/Dreamweaver/CS/using/WScbb6b82af5544594822510a94ae8d65-7c36a.h tml

    Who help me?

    You should have no difficulty in adding links to your pages.

    You use the tags

    Martin

  • I have two accounts in Apple Mail. Mailed to some documents from one to the other. When I received the email, it had been sent to about 30 people from my Contacts. How could it happen? I have never create a distribution list.

    I have two accounts in Apple Mail. Mailed to some documents from one to the other. When I received the email, it had been sent to about 30 people from my Contacts. How could it happen? I have never create a distribution list. MBP OS 10.11.4

    Open the "sent" folder on the account that you mailed to and look at the message that you sent it to see.

    You have email of the accident to a group? You have a group created in the application of Contact with these names? Or maybe that you click on reply to all to create the message?

  • How the stamp date & time email with a photo

    I send a photo to prove I did not damage a rental car, but the stamp date & time are not displayed. How can I add them to the email please

    The recipient can also access the properties of the files you sent to them as well to confirm your screenshots.

    See you soon.

  • When I complete and sign a form and then print it out, the form data does not print.

    When I complete and sign a form and then print it out, the form data does not print. The form fields are empty with the exception of any signature.

    Thank you. Depending on your answer, I have compiled a procedure:

    Fill & sign a form in Adobe CD and print the form fields:

    (1) open the document.

    (2) click on tools - prepare the form. All fields are displayed in a vertical list in the bottom right of the screen.

    3) click on the first field in the list, scroll to the bottom of the list and shift-click to select all.

    4) click on the first field in the document, make a right click, select Properties.

    (5) on the general tab, uncheck the box locked in the lower left corner. Under field properties common form, select Visible and uncheck the read-only box, close.

    (6) print out and save the file.

    Note: even if you select all the fields in the document in step 3, this procedure may work for the fields on page 1. In this case, repeat steps 3 through 5 for each subsequent page.

  • change the selection date &amp; time in PSE 8 Mac/bridge

    OK, maybe it's the Jet lag. I downloaded all my vacation photos and realized that I had forgotten to adjust the camera date/time zone time. I remember that earlier versions of Windows PES had the ability to adjust the tour time batch, but I can't find it in CS4 Bridge or PSE 8 Mac. I really want to do it manually for a couple hundred pictures. Is the ability to hide in there somewhere? THX

    There are dozens of free utilities that will do, and I think you may even be able to do with automator. Here is an example of a free utility (have not used it myself, caught the first of dozens that came when I googled). I think that Graphic Converter can also do (it can batch change all kinds of EXIF, so I guess that the timestamps are included)

  • What is the best way to have an indicator that scrolls the content of a table that is updated during the execution of a program?

    I have a program that runs continuously. During this time the errors are produced and I store them in a table. What is the best way to display the table in a window that the user can scroll upwards or downwards, while the program is running?

    Thank you.

    Hi chuck,

    If allowing you to feed two tables to the table you will see also all of these channels in the table

  • Have desktop PC, you want to buy a MacBook Pro.  Best way to have the Adobe software on both?  I have 4 products from Adobe installed on PC.

    Hello

    I have a young PC Desktop with PS CS6, LR 5, AI CS6 and PES 11 installed.  I'm going to teach photography classes and therefore need a laptop.  I want to buy a MacBook Pro.  What is the best way to get my Adobe on the Mac software?  I know I could use Boot Camp or turn it into a "virtual" Windows machine  These two deteriorating performance.  Is there a better way?

    Thank you

    Jennifer

    AFAIK, the versions in box elements (Photoshop and first) programs have two versions... If you purchased via download, only one version, so you will have to buy again to get the other version... and P.Elements 14 is now updated

    CS6 exchanging platform, but as much as I know you do not get to keep your old version

    The only current cross-platform license is for the cloud, which allows two activations, and maybe it's a on each platform

  • What is the best way to have a form of request for a page web app that tells you what element of web application they watch?

    In previous old web apps, I used the see a scenario of a friend, even if it was not ideal, it did / still works for the most part elderly. It's a long time I don't remember putting it in place! What is the best way to make a request for information from the page now? Any help appreciated

    If you have a form on the detailed view of the web application, and you fill in the fields, lets say 'product name' with the actual tag name as the value of the entry. So who will automatically fill.

    Given that the user has no need to change it, you can even hide the field filled with his car.

  • What is the best way to have datagrid, including converters disabled with loading spinner?

    I understand how fire my loading of start / end of load events when a datagrid is filled from external data. What I do not know how effecitively (and have been Googling) is what is the best practice to make the datagrid appear as modal with a top in top-load it?

    My train of thought of the approach is - longshoring, Make existing datagrid not clickable, then set alpha to cloud the current data grid. Show a spinner of loading on top of the grid.

    I can put the alpha that gives him the modal aspect, but how to ensure that the user cannot click on anything in the existing grid? Affecting the grid enabled = false classification of works, but there are icons in a converter of element in the grid which to are still clickable. Do I have to manually disable all schools?

    Unfortunately, I'm surprised that Googling for this didn't turn out much. I know this must be a fundamental problem.

    Here is the solution, check that it http://www.rphelan.com/flex/LoadCanvas/LoadCanvasExample.html

  • Satellite L500-1KK - how to the maximum battery time?

    Hello

    1. it is indicated on the product specifications L500-1kk expected autonomy is about 03:20 Hrs use mobile brand! However, I was using my laptop for almost a year now, the maximum battery time I get is 02:15 Hrs, whenever I load my mobile suit, the battery still bar program shows me this maximum time remaining! I use the default power settings!

    2. most intriguing, is that my sister used another laptop, its battery is approximately the same capacity that mine, around 43200 mWh, us both using Windows 7 Ultimate (she 32bits, I, 64-bit version), but its battery time is at least 4.5 Hrs. Why is this, and how I would maximize my battery time!

    3. Finally, her laptop is new (4 months, yet battery pro program shows that the battery wear rate is 7%, my laptop is almost a year and it shows a wear rate of 1.3%, I use mostly my laptop while the power is plugged in, unplugged rarely!) Is their an explanation to the different rates of wear?

    Thank you

    Hello

    To be honest, I think a battery about 02:15 hours is good and I think that everything is ok with your laptop. My new Satellite A500 I also only 2.5 hours if I running on battery, sometimes less than 2 hours or less. That s always according to the applications you run.

    > 2. More intriguing, is that my sister used another laptop, its battery is approximately the same capacity as mine, around 43200 mWh, we're both using Windows 7 Ultimate (she 32bits, I, 64-bit version), but its battery time is at least 4.5 Hrs. Why is this, and how I would maximize my battery time!
    Well, it s the same you compare two cars with the same ch from different manufactures a car's fuel consumption higher than the other car, even it have the same hp. Why? Well, the different manufacturers using different parts: other tires, gears, weight, dray of air, etc.

    You can compare two identical notebooks or cars from the manufacturing even to find a problem, but * not * from different manufacturers. ;)

    Last but not least, this could be an interesting document:
    http://APS2.toshiba-tro.de/KB0/HTD9401AZ0001R01.htm

  • Best way to have an image on two columns in a CSS page layout?

    My home page is a presentation of three typical fixed-width columns. For the Interior, the content pages, I need basically the same layout, except that I need to have an image that spans the columns left and Center at the top. Below the image, columns on the left and in the Center should continue on. The right column does not change every m

    My first thought is to start with a two column layout where the left column contains the image. Then I would divide the left column into two columns that start below the image, using a top margin or maybe another attribute of proper positioning.

    But before that I have to create a whole new layout for these pages, I thought I'd check and see if there may be a way easier or better to do. any ideas?

    I dare say?  Yes!  What is the absolute positioning.

    Example:

    http://ALT-Web.com/notjustagrid/index.html

    Nancy O.

  • Best way to have a button click on create a context menu with URL link?

    Hello world

    What is the best way to define click a button to open a pop-up window and take the user to a specific link?

    I did some research and it seems that there are many methods and I don't know if the positions were older, but many mention that certain methods are incompatible with different browsers + get stuck in the pop-up blockers...

    Different methods:

    navigationToURL()

    Window.Open)

    ExternalInterface.call("saveglobalscore",score))

    Thank you very much

    DK


    http://www.Adobe.com/2006/mxml"layout ="absolute">
       
            import flash.net.navigateToURL;
               
    private function goGoogle (): void {}
    var urlRequest:URLRequest = new URLRequest ("http://www.google.co.uk")
    navigateToURL (urlRequest, '_blank');
    }
               
               
    ]]>
       

       

    That should do it.

    Andrew

  • Videos imported into LR 5.6 have Date of Capture the imported date/time value

    When I import videos from my Lumix DMC - LX5, the Capture Date is set to the date and time of when the video has been imported.  Photos do not have this problem.  The files are imported in the form of the MTS files.

    Unfortunately, LR is not properly read or write video metadata.  Please, vote and give your opinion on this subject in the official feedback forum:

    Lightroom: LR4 Beta: metadata applied to videos in Lightroom is not available in other applications

    To work around the problem, you can use the Asset Management video plugin or the plugin of any file.

Maybe you are looking for