DNG converting creation date too; dont want
DNG converter changes the creation date to conversion time ( = modify time) in finder.
This is precisely unwanted. How to retain original creation date please?
Mac OSX.8.2
It seems that every time I try to find a workaround or say that something cannot be done, someone comes back and says there is a plug-in that will do that. And I seem to recall that someone has already indicated that there is a plug-in for fixing the problem you are referencing. But I don't use plug-ins. I am just a "plain vanilla" Photoshop/ACR/Lightroom user. You might want to do a Google search and see what you can come up with.
The problem, from my point of view, is that the file date on the DNG after it has been created is not a function of the converter. That date is stamped by the operating system. And since I don't use plug-ins, or at least haven't up to this point, I don't see any way for the operating system to read the EXIF data in the file to get that date.
Similar Messages
-
I'm having troubles converting my raw files from Nikon D5200 (NEF) to DNG. I tried using Lightroom 4, but it didn't identify the folder containing the files. So i downloaded the latest DNG converter but that too didn't identify the files kept in the folder location. So I downloaded DNG converter v7.3 for D5200. It identifies the folder and files; but it is giving me parsing error on trying to convert files. I'm running Windows Vista Home Edition SP1. Kindly advise. Thank you.
I probably missed this detail in what you’ve posted, but do you see the thumbnails of the three cameras’ raw files in Finder if you don’t convert to DNG?
What has happened in the past is that the Apple raw interpreter doesn’t read thumbnails of DNGs it doesn’t like, where at least one thing it didn’t used to like was embedded lens corrections for mirrorless cameras. Are the Olympus and Panasonic mirrorless—meaning there is no optical viewfinder and everything is seen on an LCD screen or perhaps an electronic view finder? If so the reason these are different is that the camera is doing the lens distortion corrections automatically and this information is stored in the raw files and in the DNGs but Apple doesn’t know how to use these embedded lens corrections or doesn’t know how to read the newer DNG spec that does allow for this information to be embedded in the DNG, at least.
Apple could just extract the embedded jpg preview and ignore the other parts of the file it doesn’t understand, but it apparently doesn’t do this.
What I’m not sure about is if the Apple raw interpreter still has this problem or if you’re on an older system without the latest updates for camera raw decoding by Apple. -
For iphone users with att, can you block incoming texts all together? After paying $20 for data i dont want to pay as i go/pay more for texts
SMS is exchanged over the same network as calls - no data involved.
MMS requires data.
iMessage requires the same as email - internet access via an available wi-fi network or via your carrier's cellular data network.
You can disable SMS/MMS altogther with your account by requesting this with AT&T. You can turn iMessage off unless your iPhone is connected to an available wi-fi network. -
When I move files between a couple of Macs the creation date etc chnges to the time I'm moving them.
I need to keep the original details.Well it now looks like it has sorted it's self out, all working fine now.
-
DNG-converted 10D files too large, not recognizable in Aperture
[I've posted this message in the Adobe DNG forums after doing some searing around for an answer. I thought some others here might be doing the same thing and could comment]
While importing some of my older Canon 10D-shot images into Aperture, I noticed something curious about the DNG-versions of the files. They're much larger than I would expect and Apple's Core Image processor doesn't appear to be able to read them. For example, on one file the original CRW file is 5.3MB. The DNG conversion without the embedded original is 17.4MB. This is consistent across all my 10D converted files.
Apple's Preview app, as well as anything else based on the Core Image processing code, can't read the DNG, but it can read the original CRW. I know that Apple has botched parts of the DNG specification, but since the converted DNG is twice the size I would expect it to be, this seems like it might be a problem with the DNG converter itself. Anyone else seeing this with rev 3.2 of the converter?
BTW, the files open up in ACR just fine.
G5 1.8G SP, 1.5M RAM Mac OS X (10.4.3)Sorry for the noise. It turns out that my prefs had gotten munged overnight when the DNG converter crashed and had returned to one of my test configurations where I was converting the RAW files to linear. Aperture, as is well understood, doesn't handle the de-mosaiced format well at all.
This was user error. -
I want to recover only c partition cause i have shrieked the c partition and i dont want to lose dat
Hi
i have hp pavilion dv6 6180se ..i have made the recovery media disks..then i shrinked the c partition to make E partition that used to store my data...now i want to recover my windows with recovery media disks without losing the E partition that i'v made..because there is a lot of data i dont want to lose and i can't move it to external storge.
please could you guide me how to make this procedure ?
Best regards
walid shahin
HP pavilion DV6
serial number {Removed for privacy}
PRODUCT NUMBER: QF459EA#ABV
INSTALLED WINDOWS: WINDOWS 7 64BIT SP1Hi,
There is no option when using your Recovery Discs to reinstall that will allow you to keep a custom partition, so you'll have to do this another way. A possible option is described below.
First, click the Start Menu, open Computer and double-click Local Disk C - you should see a folder called swsetup. This will contain all the driver installers and practically all of the software installers for your notebook - back this up to an external device/media.
Next, create a retail installation disc yourself - just download the correct Disc Image ( this must be the same as the version you currently have ) from the link below and use an application such as ImgBurn to burn the ISO correctly to a blank DVD - a guide on using ImgBurn to write an ISO to a disc is Here.
Windows-7 sp1-iso-official-32-bit-and-64-bit
With reference to the guide on the link below, use this disc to perform the installation - when you get to Step 7, choose the Custom ( advanced ) option and select the C partition as the destination to install Windows.
Windows 7 Custom Installation.
Enter the Windows activation key found on the underside of your notebook when requested and when the installation has completed, use the 'Phone Method' detailed in the link below to activate the OS - this method supported by Microsoft and is popular with people who just want a clean installation of Windows 7 without the additional software load normally bundled with OEM installations.
http://www.kodyaz.com/articles/how-to-activate-windows-7-by-phone.aspx
When the installation has completed, use the installers in the swsetup folder to reinstall your drivers etc.
Regards,
DP-K
****Click the White thumb to say thanks****
****Please mark Accept As Solution if it solves your problem****
****I don't work for HP****
Microsoft MVP - Windows Experience -
My pdf get covert to word i dont want to
all my pdf files are converted to word i dont want to be kindly help me
Regards
Gasper JesudasHello Gasper,
Are you saying that all of your PDFs are trying to open in Word? If that's the case, please try the solution outlined here: http://forums.adobe.com/message/4799146#4799146
If that's not the issue you're facing, could you provide some more detail?
-David -
Report for Inventory batch creation date
Hi experts,
Is there a report in SAP that shows inventory batch creation date? We want the actual creation date NOT when the batch was input into SAP. For example, we went live on 4/1/2010 with SAP but there are inventory batch created prior to that date. We want the creation date NOT the 4/1/2010 of data conversion date.
Regards
Rajneesh GulatiHi Rajneesh,
Check these tables which are relevant for batch management.
MCHA
MCH1
MCHB
Regards
Ram -
Where is DNG converter 8.6?
I understand that the Adobe DNG converter works on raw images in file folders. What I need to know is how to find and start the program. I searched all over but only found ACR 8.6 RC. Is the DNG converter part of that install package? I installed ACR 8.6 RC. Now Bridge uses that when opening a raw file in ACR, but I cannot see that DNG converter was installed, too. How do I get DNG converter to work? Thanks, Ken
It's at the bottom of the following link:
Download Adobe Photoshop Camera Raw 8.6 Beta - Adobe Labs
The link says Camera Raw, but the last little late to the bottom of the screen is for the DNG converter. When you're looking for release candidates and other new technologies, Adobe Labs is what you should look. Incidentally, all versions of the DNG converter work on raw files in folders. What is a you are referring to specifically? -
I have 4 apps that i just downloaded and they are 'Waiting' i need some one
To plz come up with a solution i dont want to erase my data cause i have over
100 games paid and free PLZ HELP i also have my smurfs game updating
And i cant get on it now cause
It wont update plz help!!!!!!!These links might be of help:
Troubleshooting applications purchased from the App Store
iPhone, iPad, iPod touch: Turning off and on (restarting) and resetting
iPod touch: Hardware troubleshooting
I would use these links in order { if the info on first link doesn't work, move to second link } -
Help! I am struggling and im really not a wizz with technology. I must have missed the morph into the new world! I have a macbook (i think!) and i found that im still running off the version 10.5.8. I have just plugged in my new ipad, and tried to get it synced with Itunes and it said i needed a newer version.
Am i able to upgrade to a newer version and if so, how do i do it...i really dont want to throw out this computer because it is awesome...can someone please help me?To be able to connect with the devices that need a newer version of iTunes, you are first going to need to upgrade you OS X. To do this from where you are at, first you need to make sure that your computer meets the minimum requirements for OS X Snow Leopard which you can find here http://support.apple.com/kb/SP575 and then after verifying that it can, you then need to order the Snow Leopard CD from Apple to do the upgrade. You can purchase the CD from them for $19.99 and when it gets to your house, you can insert the CD in the drive and press the "C" key while booting your computer. Then you'll get the install wizard from the CD which will give you directions you need to install Snow Leopard on your computer. After getting that installed, make sure you update the software on your computer and it will get you what you need to be able to Sync your devices. After you get Snow Leopard installed, if you wanted to go further you could then upgrade to 10.7 Lion or 10.8 Mountain Lion if your computer can handle those as well, and you can do that right from the App Store that will be available to you from Snow Leopard and you don't have to order a CD for those.
-
When you update Camera Raw do you need to update DNG converter too?
I have Photoshop CS4 and wanted to update Camera Raw. I have forgoten if you need to update the DNG converter too or just leave it. Im also looking for tutorials or " how to use" stuff for the new features the lastest versions of Camera Raw (5.5 and 5.6). Thank you.
MH975 wrote:
I have Photoshop CS4 and wanted to update Camera Raw. I have forgoten if you need to update the DNG converter too or just leave it. Im also looking for tutorials or " how to use" stuff for the new features the lastest versions of Camera Raw (5.5 and 5.6). Thank you.
If your camera is already supported by ACR, you don't really need the DNG converter. If you prefer to convert to DNGs or your camera is not supported, then you probably should download the latest version of the converter.
For some help on new features, you should check out the following online sources (among others)
The tutorials by Juliana Kost:
http://www.jkost.com/photoshop.html
The Adobe support center:
http://www.adobe.com/support/photoshop/
The Russel Brown show:
http://www.russellbrown.com/tips_tech.html -
Converting Delivery Creation Date/Time into the Local Date/Time
Hi
I have two fields like 'Delivery Creation Date' and 'Delivery Creation Time' in ECC system . My user wants the Delivery Creation Date / Delivery Creation Time in Local time of Plants .
For example :
Delivery Plant DelivCreationDate DelivCreationTime DelivCreationDate(Local) DelivCreationTime(Local)
312456 1650 11/2/2007 4:30 11/2/2007 3:30
Here the Plant 1650 is in Mexico . The above delivery is created in Canada in ECC system according to the candain time .
But user wants to convert the Candain Delivery Creation Date and Time into the Local Date/Time of specific plant .
So we need to convert the Candain Delivery Creation Date and Time into Mexico timings .
How can it is possible this one and user wants to automate this process .
Please let me know
MubeenDATA :
timestamp like TZONREF-TSTAMPS,
time like sy-uzeit,
date like sy-datum.
The following function module is used to convert the
time and date into GMT timestamp
CALL FUNCTION 'IB_CONVERT_INTO_TIMESTAMP'
EXPORTING
i_datlo = <source_fields>-delivery_date
i_timlo = <source_fields>-delivery_time
I_TZONE = CAD'
IMPORTING
E_TIMESTAMP = timestamp.
The following function module is used to convert the
above obtained timestamp to MEX timezone date and time.
CALL FUNCTION 'IB_CONVERT_FROM_TIMESTAMP'
EXPORTING
i_timestamp = timestamp
I_TZONE = MEX
IMPORTING
E_DATLO = date
E_TIMLO = time.
CAD and MEX are variables i have used...
the challenge is to find the canadian and mexican time zone....CAD and MEX.
which you can get by performing a lookup in table T001W and passing country as parameter. -
Batch convert and preserve creation dates
Hello,
How can I batch convert videos and preserve creation dates.
I have a big collection of family video that I want to convert, but preserving the dates is crucial for sorting by date after.
Any ideas if the creation date can be transfered to the video EXIF of similar ?
Simcerely
DanThere are a few things you can do in Compressors...
You can add Annotations to the video. Click on the video in the video well, Inspector window, Additional Information tab:
and/or you can add a small text overlay to the bottom right of the video; Inspector window, Filter tab, Text Overlay: -
Want to get placed images Dimension and Creation Date in Catalog
Below is the script which is free with CS4. Is there anybody who can modify this script in a way which provide the creation date and dimension of the images in image catalog.
//ImageCatalog.jsx
//An InDesign C4 JavaScript
@@@BUILDINFO@@@ "ImageCatalog.jsx" 2.0.0 5-December-2007
//Creates an image catalog from the graphic files in a selected folder.
//Each file can be labeled with the file name, and the labels are placed on
//a separate layer and formatted using a paragraph style ("label") you can
//modify to change the appearance of the labels.
//For more information on InDesign scripting, go to http://www.adobe.com/products/indesign/scripting/index.html
//Or visit the InDesign Scripting User to User forum at http://www.adobeforums.com .
//The myExtensions array contains the extensions of the graphic file types you want
//to include in the catalog. You can remove extensions from or add extensions to this list.
//myExtensions is a global. Mac OS users should also look at the file types in the myFileFilter function.
main();
function main(){
var myFilteredFiles;
//Make certain that user interaction (display of dialogs, etc.) is turned on.
app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAll;
myExtensions = [".jpg", ".jpeg", ".eps", ".ps", ".pdf", ".tif", ".tiff", ".gif", ".psd", ".ai"]
//Display the folder browser.
var myFolder = Folder.selectDialog("Select the folder containing the images", "");
//Get the path to the folder containing the files you want to place.
if(myFolder != null){
if(File.fs == "Macintosh"){
myFilteredFiles = myMacOSFileFilter(myFolder);
else{
myFilteredFiles = myWinOSFileFilter(myFolder);
if(myFilteredFiles.length != 0){
myDisplayDialog(myFilteredFiles, myFolder);
alert("Done!");
//Windows version of the file filter.
function myWinOSFileFilter(myFolder){
var myFiles = new Array;
var myFilteredFiles = new Array;
for(myExtensionCounter = 0; myExtensionCounter < myExtensions.length; myExtensionCounter++){
myExtension = myExtensions[myExtensionCounter];
myFiles = myFolder.getFiles("*"+ myExtension);
if(myFiles.length != 0){
for(var myFileCounter = 0; myFileCounter < myFiles.length; myFileCounter++){
myFilteredFiles.push(myFiles[myFileCounter]);
return myFilteredFiles;
function myMacOSFileFilter(myFolder){
var myFilteredFiles = myFolder.getFiles(myFileFilter);
return myFilteredFiles;
//Mac OS version of file filter
//Have to provide a separate version because not all Mac OS users use file extensions
//and/or file extensions are sometimes hidden by the Finder.
function myFileFilter(myFile){
var myFileType = myFile.type;
switch (myFileType){
case "JPEG":
case "EPSF":
case "PICT":
case "TIFF":
case "8BPS":
case "GIFf":
case "PDF ":
return true;
break;
default:
for(var myCounter = 0; myCounter<myExtensions.length; myCounter++){
var myExtension = myExtensions[myCounter];
if(myFile.name.indexOf(myExtension)>-1){
return true;
break;
return false;
function myDisplayDialog(myFiles, myFolder){
var myLabelWidth = 112;
var myStyleNames = myGetParagraphStyleNames(app);
var myLayerNames = ["Layer 1", "Labels"];
var myDialog = app.dialogs.add({name:"Image Catalog"});
with(myDialog.dialogColumns.add()){
with(dialogRows.add()){
staticTexts.add({staticLabel:"Information:"});
with(borderPanels.add()){
with(dialogColumns.add()){
with(dialogRows.add()){
staticTexts.add({staticLabel:"Source Folder:", minWidth:myLabelWidth});
staticTexts.add({staticLabel:myFolder.path + "/" + myFolder.name});
with(dialogRows.add()){
staticTexts.add({staticLabel:"Number of Images:", minWidth:myLabelWidth});
staticTexts.add({staticLabel:myFiles.length + ""});
with(dialogRows.add()){
staticTexts.add({staticLabel:"Options:"});
with(borderPanels.add()){
with(dialogColumns.add()){
with(dialogRows.add()){
staticTexts.add({staticLabel:"Number of Rows:", minWidth:myLabelWidth});
var myNumberOfRowsField = integerEditboxes.add({editValue:3});
with(dialogRows.add()){
staticTexts.add({staticLabel:"Number of Columns:", minWidth:myLabelWidth});
var myNumberOfColumnsField = integerEditboxes.add({editValue:3});
with(dialogRows.add()){
staticTexts.add({staticLabel:"Horizontal Offset:", minWidth:myLabelWidth});
var myHorizontalOffsetField = measurementEditboxes.add({editValue:12, editUnits:MeasurementUnits.points});
with(dialogRows.add()){
staticTexts.add({staticLabel:"Vertical Offset:", minWidth:myLabelWidth});
var myVerticalOffsetField = measurementEditboxes.add({editValue:24, editUnits:MeasurementUnits.points});
with (dialogRows.add()){
with(dialogColumns.add()){
staticTexts.add({staticLabel:"Fitting:", minWidth:myLabelWidth});
with(dialogColumns.add()){
var myFitProportionalCheckbox = checkboxControls.add({staticLabel:"Proportional", checkedState:true});
var myFitCenterContentCheckbox = checkboxControls.add({staticLabel:"Center Content", checkedState:true});
var myFitFrameToContentCheckbox = checkboxControls.add({staticLabel:"Frame to Content", checkedState:true});
with(dialogRows.add()){
var myRemoveEmptyFramesCheckbox = checkboxControls.add({staticLabel:"Remove Empty Frames:", checkedState:true});
with(dialogRows.add()){
staticTexts.add({staticLabel:""});
var myLabelsGroup = enablingGroups.add({staticLabel:"Labels", checkedState:true});
with (myLabelsGroup){
with(dialogColumns.add()){
//Label type
with(dialogRows.add()){
with(dialogColumns.add()){
staticTexts.add({staticLabel:"Label Type:", minWidth:myLabelWidth});
with(dialogColumns.add()){
var myLabelTypeDropdown = dropdowns.add({stringList:["File name", "File path", "XMP description", "XMP author"], selectedIndex:0});
//Text frame height
with(dialogRows.add()){
with(dialogColumns.add()){
staticTexts.add({staticLabel:"Label Height:", minWidth:myLabelWidth});
with(dialogColumns.add()){
var myLabelHeightField = measurementEditboxes.add({editValue:24, editUnits:MeasurementUnits.points});
//Text frame offset
with(dialogRows.add()){
with(dialogColumns.add()){
staticTexts.add({staticLabel:"Label Offset:", minWidth:myLabelWidth});
with(dialogColumns.add()){
var myLabelOffsetField = measurementEditboxes.add({editValue:0, editUnits:MeasurementUnits.points});
//Style to apply
with(dialogRows.add()){
with(dialogColumns.add()){
staticTexts.add({staticLabel:"Label Style:", minWidth:myLabelWidth});
with(dialogColumns.add()){
var myLabelStyleDropdown = dropdowns.add({stringList:myStyleNames, selectedIndex:0});
//Layer
with(dialogRows.add()){
with(dialogColumns.add()){
staticTexts.add({staticLabel:"Layer:", minWidth:myLabelWidth});
with(dialogColumns.add()){
var myLayerDropdown = dropdowns.add({stringList:myLayerNames, selectedIndex:0});
var myResult = myDialog.show();
if(myResult == true){
var myNumberOfRows = myNumberOfRowsField.editValue;
var myNumberOfColumns = myNumberOfColumnsField.editValue;
var myRemoveEmptyFrames = myRemoveEmptyFramesCheckbox.checkedState;
var myFitProportional = myFitProportionalCheckbox.checkedState;
var myFitCenterContent = myFitCenterContentCheckbox.checkedState;
var myFitFrameToContent = myFitFrameToContentCheckbox.checkedState;
var myHorizontalOffset = myHorizontalOffsetField.editValue;
var myVerticalOffset = myVerticalOffsetField.editValue;
var myMakeLabels = myLabelsGroup.checkedState;
var myLabelType = myLabelTypeDropdown.selectedIndex;
var myLabelHeight = myLabelHeightField.editValue;
var myLabelOffset = myLabelOffsetField.editValue;
var myLabelStyle = myStyleNames[myLabelStyleDropdown.selectedIndex];
var myLayerName = myLayerNames[myLayerDropdown.selectedIndex];
myDialog.destroy();
myMakeImageCatalog(myFiles, myNumberOfRows, myNumberOfColumns, myRemoveEmptyFrames, myFitProportional, myFitCenterContent, myFitFrameToContent, myHorizontalOffset, myVerticalOffset, myMakeLabels, myLabelType, myLabelHeight, myLabelOffset, myLabelStyle, myLayerName);
else{
myDialog.destroy();
function myGetParagraphStyleNames(myDocument){
var myStyleNames = new Array;
var myAddLabelStyle = true;
for(var myCounter = 0; myCounter < myDocument.paragraphStyles.length; myCounter++){
myStyleNames.push(myDocument.paragraphStyles.item(myCounter).name);
if (myDocument.paragraphStyles.item(myCounter).name == "Labels"){
myAddLabelStyle = false;
if(myAddLabelStyle == true){
myStyleNames.push("Labels");
return myStyleNames;
function myMakeImageCatalog(myFiles, myNumberOfRows, myNumberOfColumns, myRemoveEmptyFrames, myFitProportional, myFitCenterContent, myFitFrameToContent, myHorizontalOffset, myVerticalOffset, myMakeLabels, myLabelType, myLabelHeight, myLabelOffset, myLabelStyle, myLayerName){
var myPage, myFile, myCounter, myX1, myY1, myX2, myY2, myRectangle, myLabelStyle, myLabelLayer;
var myParagraphStyle, myError;
var myFramesPerPage = myNumberOfRows * myNumberOfColumns;
var myDocument = app.documents.add();
myDocument.viewPreferences.horizontalMeasurementUnits = MeasurementUnits.points;
myDocument.viewPreferences.verticalMeasurementUnits = MeasurementUnits.points;
var myDocumentPreferences = myDocument.documentPreferences;
var myNumberOfFrames = myFiles.length;
var myNumberOfPages = Math.round(myNumberOfFrames / myFramesPerPage);
if ((myNumberOfPages * myFramesPerPage) < myNumberOfFrames){
myNumberOfPages++;
//If myMakeLabels is true, then add the label style and layer if they do not already exist.
if(myMakeLabels == true){
try{
myLabelLayer = myDocument.layers.item(myLayerName);
//if the layer does not exist, trying to get the layer name will cause an error.
myLabelLayer.name;
catch (myError){
myLabelLayer = myDocument.layers.add({name:myLayerName});
//If the paragraph style does not exist, create it.
try{
myParagraphStyle = myDocument.paragraphStyles.item(myLabelStyle);
myParagraphStyle.name;
catch(myError){
myDocument.paragraphStyles.add({name:myLabelStyle});
myDocumentPreferences.pagesPerDocument = myNumberOfPages;
myDocumentPreferences.facingPages = false;
var myPage = myDocument.pages.item(0);
var myMarginPreferences = myPage.marginPreferences;
var myLeftMargin = myMarginPreferences.left;
var myTopMargin = myMarginPreferences.top;
var myRightMargin = myMarginPreferences.right;
var myBottomMargin = myMarginPreferences.bottom;
var myLiveWidth = (myDocumentPreferences.pageWidth - (myLeftMargin + myRightMargin)) + myHorizontalOffset
var myLiveHeight = myDocumentPreferences.pageHeight - (myTopMargin + myBottomMargin)
var myColumnWidth = myLiveWidth / myNumberOfColumns
var myFrameWidth = myColumnWidth - myHorizontalOffset
var myRowHeight = (myLiveHeight / myNumberOfRows)
var myFrameHeight = myRowHeight - myVerticalOffset
var myPages = myDocument.pages;
// Construct the frames in reverse order. Don't laugh--this will
// save us time later (when we place the graphics).
for (myCounter = myDocument.pages.length-1; myCounter >= 0; myCounter--){
myPage = myPages.item(myCounter);
for (var myRowCounter = myNumberOfRows; myRowCounter >= 1; myRowCounter--){
myY1 = myTopMargin + (myRowHeight * (myRowCounter-1));
myY2 = myY1 + myFrameHeight;
for (var myColumnCounter = myNumberOfColumns; myColumnCounter >= 1; myColumnCounter--){
myX1 = myLeftMargin + (myColumnWidth * (myColumnCounter-1));
myX2 = myX1 + myFrameWidth;
myRectangle = myPage.rectangles.add(myDocument.layers.item(-1), undefined, undefined, {geometricBounds:[myY1, myX1, myY2, myX2], strokeWeight:0, strokeColor:myDocument.swatches.item("None")});
// Because we constructed the frames in reverse order, rectangle 1
// is the first rectangle on page 1, so we can simply iterate through
// the rectangles, placing a file in each one in turn. myFiles = myFolder.Files;
for (myCounter = 0; myCounter < myNumberOfFrames; myCounter++){
myFile = myFiles[myCounter];
myRectangle = myDocument.rectangles.item(myCounter);
myRectangle.place(File(myFile));
myRectangle.label = myFile.fsName.toString();
//Apply fitting options as specified.
if(myFitProportional){
myRectangle.fit(FitOptions.proportionally);
if(myFitCenterContent){
myRectangle.fit(FitOptions.centerContent);
if(myFitFrameToContent){
myRectangle.fit(FitOptions.frameToContent);
//Add the label, if necessary.
if(myMakeLabels == true){
myAddLabel(myRectangle, myLabelType, myLabelHeight, myLabelOffset, myLabelStyle, myLayerName);
if (myRemoveEmptyFrames == 1){
for (var myCounter = myDocument.rectangles.length-1; myCounter >= 0;myCounter--){
if (myDocument.rectangles.item(myCounter).contentType == ContentType.unassigned){
myDocument.rectangles.item(myCounter).remove();
else{
//As soon as you encounter a rectangle with content, exit the loop.
break;
//Function that adds the label.
function myAddLabel(myFrame, myLabelType, myLabelHeight, myLabelOffset, myLabelStyleName, myLayerName){
var myDocument = app.documents.item(0);
var myLabel;
var myLabelStyle = myDocument.paragraphStyles.item(myLabelStyleName);
var myLabelLayer = myDocument.layers.item(myLayerName);
var myLink =myFrame.graphics.item(0).itemLink;
//Label type defines the text that goes in the label.
switch(myLabelType){
//File name
case 0:
myLabel = myLink.name;
break;
//File path
case 1:
myLabel = myLink.filePath;
break;
//XMP description
case 2:
try{
myLabel = myLink.linkXmp.description;
if(myLabel.replace(/^\s*$/gi, "")==""){
throw myError;
catch(myError){
myLabel = "No description available.";
break;
//XMP author
case 3:
try{
myLabel = myLink.linkXmp.author
if(myLabel.replace(/^\s*$/gi, "")==""){
throw myError;
catch(myError){
myLabel = "No author available.";
break;
var myX1 = myFrame.geometricBounds[1];
var myY1 = myFrame.geometricBounds[2] + myLabelOffset;
var myX2 = myFrame.geometricBounds[3];
var myY2 = myY1 + myLabelHeight;
var myTextFrame = myFrame.parent.textFrames.add(myLabelLayer, undefined, undefined,{geometricBounds:[myY1, myX1, myY2, myX2], contents:myLabel});
myTextFrame.textFramePreferences.firstBaselineOffset = FirstBaseline.leadingOffset;
myTextFrame.parentStory.texts.item(0).appliedParagraphStyle = myLabelStyle;"Scripting Forum Conduct
While this forum is a great place to get scripting help, it's also very easy to misuse it. Before using this forum, please read this post!"
Maybe you are looking for
-
I updated my itunes to 10.5 and now my iphone wont sync
I have a pc, and i just updated my itunes. When i went to sync my iphone 3gs, it goes through everything then says "iTunes could not back up the iPhone...because a session could not be started with the iphone." I don't know what to do and could reall
-
Keynote files in iCloud do not appear when opening Keynote on iPad
I have just run into a problem in which one file created in Keynote, 5MB, stored in iCloud, doesn't appear when I open Keynote on my iPad. This is the only file that I am having difficulty with. I have tried removing and resaving it to iCloud to kn
-
10.0.6 Projects/Events on External Drive Issue
Ever since the update of 10.0.6, I seem to be having an issue with the projects that are stored on my external media. They are no longer shown in the project manager (infact one of the storage devices flashes up with the project but then it dissapear
-
Requeste European AC POWER CORD
Hi, I own a Magsafe 85W with the the AC powercord for the USA and I was wondering if anyone who has the magsafe with the Continental Europe Powercord could provide with the reference of the power cord only it should be something like Volex APC7Q (tha
-
Requirement to display more than 65K rows of data
Has anyone addressed the issue of Excel not being able to provide more than 65K rows of data with the users? I am working with users whom are concerned about Excel not being able to provide more than 65K rows of data. Why would you use BI reporting t