Questions about properties for the framework document creator

Please tell me how to set value of creative properties document

I tried the below coding

PDOCConfig newConfig = PDDocGetOCConfig (newDoc);

AsText(g) creatorText = PDOCConfigGetName (newConfig);

creatorText = ASTextFromScriptText ("Value Creator", kASRomanScript);

PDOCConfigSetCreator (newConfig, creatorText);

ASTextDestroy (creatorText);

Creation of the API is perfectly, but the performance of the tool of his display error in Acrobat that I attached the screenshotted for your reference

screenshot.PNG

Please help me on this

Kind regards

Hervé

I you have posted this link before, but I think that nobody here has the time to download your code and debug for you - for free. I can only speak for myself, but I generally for it. If you want to (free) help make our jobs easier to come up with a question says: what you're doing, how you're doing, and what is happening.

Karl Heinz Kremer

KHKonsulting.com

Tags: Acrobat

Similar Questions

  • Question about replacement for the P100 broadcast Pro motherboard

    I bought a satellite Pro P100 August 1, 2007 in the United Kingdom.
    Thursday, August 21, went to the turning on and nothing.
    I'm in Malta and took the laptop for the dealer to be informed the next day motherboad was interrupted and must be replaced.
    The laptop is only 3 weeks old, how many others have found the motherboard to go so fast?
    Should I trust this laptop or can I request a replacement?
    If the motherboard is replaced, the operating system must be reinstalled and all of the following software?
    We are in the business of yacht charter and need Windows XP Professional installed to be compatible with our navigation and weather software.
    Any comments welcome.
    Sue Clarke

    If the machine is only 3 weeks and then bring/send it to the next service partner available because you still have a warranty on this machine. And why it s going down so fast - we will be able to answer that. The machine you have is very reliable, so maybe just a "Sunday" - machine if you know what I mean.
    In this case, you have a guarantee, and you should use it and require replacement.

    After the replacement of Don t you need to reinstall anything since only a part is exchanged and nothing significant on your system will be changed.

    Welcome and good luck

  • Simple question about synonyms for the keyword

    I've never used synonyms of the keyword until tonight, and LR4 help isn't much help. It shows you how to add a synonym, but it doesn't tell you how to use a synonym.

    I have a keyword called "railway bridges". I have change the key word to include the synonym RRBridge and then save the new definition of the keyword.

    Then, I expected to be able to enter the synonym RRBridge in the keywords Panel and recognized him and assign the keyword "Railway bridges" in this photo.

    Did not work. Nuh - uh. Created a new RRBridge, distinct and different keyword from the keyword "railway bridges". That is not what I wanted, and is not what I expected.

    So, exactly how do you use synonyms for the keyword?

    They are not really for entering data, as you found, but are applied to the image when you export - see you in the view Will Export in the keywords Panel. They are also available via smart collections and searchable text of the Group Filter tab.

  • Question about classes for the workshop held for OCP

    Im working on my OCP to complete in a few months. Quick question on the workshop class. Is there a test at the end of the week?
    Also how most people pay for these classes? They are quite steep and my company does not pay for this kind of thing for me. IM paying totally of my own pocket. Also why is the class in line of the same amount as the lead instructor class? His im not like in a room at some construction that Oracle has rent to use or something.

    If you ask if the certification test is offered at the end of the course, the answer is no. The certification test is on demand separately. Actually, in the past, some groups have asked for reviews delivered the last day of the formation of a class given internal by Oracle to their installation and the results have been disastrous. Candidates need time to assimilate the information, to work with the tools and continue their studies. You will schedule your exam at www.pearsonvue.com/oracle. Good luck with that!

    Kind regards
    Brandye Barrington
    Certification Forum Moderator

  • Question about ReadyCLOUD for the Mac Client

    Hello

    I have problems of synchronization with ReadyCLOUD.

    After investigating the newspapers, this is the error I get for any file:

    2016 06-20; 08:05:39.6; [4032]; [7] ; E; Task failed, reason: , system error:

    Anyone know what could be the cause of this?

    Thank you

    Hi Brian,.

    I solved this now... I moved the content to another share and deleted the original and synchronized with the client.

    He now works very well.

    Thank you

  • Units of measure for the Framework Document

    Dear Forum gods,

    I am using a VB script to define what I believe to be the units of measure - in other words, the units displayed on the horizontal and vertical rules when opening a document. According to the script:

    myDocument.viewPreferences.horizontalMeasurementUnits = MeasurementUnits.inches
    myDocument.viewPreferences.verticalMeasurementUnits = MeasurementUnits.inches

    This does not seem to do anything.

    Error reports 30480 - which I can't find any information on the newspaper.

    Your help is appreciated!

    You look at the VB reference? your line looks strangely like a line of JavaScript and JavaScript is etque the same syntax as VB.

    A quick Google turned up the VB CS5 reference; your example of a measure is on p. 28, but with different wording.

  • Default properties for the text field of the PDF forms

    How can I set the default properties for the text field?  The creator of forms set of font sizes that are too large.

    Right-click on the field > use current properties as new default.

    It will keep the new settings until the next time that you do this. It is not specific to the document. Do it separately for each field type (text, button, etc.)

    On an existing form, you can select multiple fields. A pro tip, is that you don't have to close the properties to move from the field to the field to the field. Dungeon opens and work faster.

  • Documentation for the Acrobat Document object model

    Hello

    I'm trying to move my first not in this area, I hope you can bear with my naïve questions.

    I'm trying to find documentation for the Acrobat Document object model. To my surprise, a search in the archives of the forum failed.

    I remember download out of curiosity some Adobe's PDF documents on the execution of JavaScript in Acrobat, ADOM precisely about one (but I could be wrong it was a few years ago and I'm getting old): these documents of the are a thing of the past?

    Thank you very much.

    Giordano

    Have a look here:

    http://www.Adobe.com/devnet/Acrobat/JavaScript.html

    The link is for reference in version 9, which is generally pretty good.

    But if you want the last being (PDF form), you can find it inside the

    Package Acrobat X SDK, here:

    http://www.Adobe.com/devnet/Acrobat/SDK/EULA.html

  • I installed a hard drive 500 secondary gig, after re-booting the properties for the new drive hard only show 48.8 GB are available.

    I installed a hard drive 500 secondary gig, after re-booting the properties for the new drive hard only show 48.8 GB are available. where is the rest of the memory?  Its not partitioned to another eather drive

    original title: hard drive problems

    (1) what does your BIOS the drive size?

    ============================================================

    2) disk hard test - find your make and model:
    Speccy - computer/system information in detail
    (More detailed look at your memory and CPU)
    OS, CPU, RAM, card, graphics, hard drive, optical drive
    Audio, peripherals, network.
    Note: Option RAM indicates number of slots, DRAM Timing.
    Works your memory speed (frequency). The nominal frequency of your memory.
    http://www.Piriform.com/Speccy

    Test your player - CD Bootable:
    Ranging from 5 to 20% (depending on the manufacturing) new hard disks are defective. Test your drive with the factory utility. If you have a new hard drive Seagate the very next thing would be to download Seagate Seatools (bootable CD) and check bad sectors:
    http://www.Seagate.com/WW/v/index.jsp?locale=en-us&name=SeaTools&vgnextoid=720bd20cacdec010VgnVCM100000dd04090aRCRD

    For Western Digital readers to download the .iso from WdDiag file: http://support.wdc.com/product/download.asp?groupid=611&sid=30&lang=en

    Samsung Estool: http://www.samsung.com/global/business/hdd/support/utilities/ES_Tool.html
    Samsung Disk Manager software: http://www.samsung.com/Products/HardDiskDrive/utilities/shdiag.htm
    Hitachi Drive Fitness Test Software: http://www.hgst.com/hdd/support/download.htm#DFT
    Diagnostic tool available for use by customers who feel their Toshiba brand Fujitsu hard drive:
    http://SDD.Toshiba.com/main.aspx?path=ServicesandSupport/WarrantySupport/SoftwareUtilities
    Notice of suport Fujitsu disk utility: http://www.fujitsu.com/us/services/computing/storage/hdd/
    Toshiba CD bootable: (BACK Diagnostic Tool version 7.0 for IDE/ATA/SATA hard disks)
    http://SDD.Toshiba.com/main.aspx?path=ServicesSupport/FujitsuDrivesUSandCanada/SoftwareUtilities#diagnostic

    ================================================================

    (3) HD Tune:
    Provides information of the car and has an option (tab scan error) to test your drive.
    http://www.hdtune.com/

    SpeedFan:
    Monitors internal temperatures and has a function of analysis health online (SMART tab) for hard disks drive.
    It displays your drives model number and compares your drive with other discs of the same brand and model.
    http://www.almico.com/SpeedFan.php

    -Partition management utilities-

    Partition Wizard Home Edition:
    http://www.partitionwizard.com/free-partition-manager.html
    Note: There is also a CD bootable or versions of the bootable Flash drive:
    CD: http://www.partitionwizard.com/partition-wizard-bootable-cd.html
    Flash player: http://www.partitionwizard.com/bootable-flash-drive.html
    Among the features and functions: create partition, Delete partition, format partition,.
    A partition resize, move partitions, Partition recovery after an accidental deletion,
    Convert the partition, partition Explore, Hide partition,
    Change the drive letter, a partition active Set, Explorer (content display) of the partition.
    Note: To complete any task use the "Pending Operations" box at the bottom left.

    Alternative to Partition Wizard (a bit easier to use, but Partition Wizard and EASUS have almost identical user interfaces)
    EASEUS Partition Master Home Edition (free):
    http://www.partition-tool.com/
    Partition software ALL-IN-ONE and the most convenient hard disk partition manager Kit
    Includes Partition Manager, Disk & Partition copy Wizard and Partition MBR and GUID partition GPT disk recovery Wizard (table) on Windows 2000, XP, Vista, Windows 7 and Windows Server 2000/2003/2008 (32-bit and 64-bit).
    It allows users to resize/move Partition, drive system extend, copy Disk & Partition, Partition merge, Split Partition, redistribute free space, convert dynamic disk, Partition Recovery and much more.

    J W Stuart: http://www.pagestart.com

  • use Image catalog script for the current document

    Is it possible to use the script to image catalogue for the current document in which we work instead of leaving the mark of script a new document fees for placed images?

    use,

    //ImageCatalog.jsx
    //An InDesign CS6 JavaScript
    /*
    @@@BUILDINFO@@@ "ImageCatalog.jsx" 3.0.0 15 December 2009
    */
    //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-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.activeDocument;
      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;
    }
    
  • Hello.. I have adobe document cloud free 5 GB of storage. I added documents inside. But I don't see them in Adobe acrobat reader section of cloud for the DC document. I connected with the same ID

    Hello.. I have adobe document cloud free 5 GB of storage. I added documents inside. But I don't see them in Adobe acrobat reader section of cloud for the DC document. I connected with the same ID

    Document cloud does not work in some locations of Acrobat Reader. So I used this method.

  • Is it possible to read the contents of the XML file rather than the properties for the location of FLEX

    Is it possible to read the contents of the XML file rather than the properties for the location of FLEX

    Strictly speaking, this is not really true. When running, the ResourceManager of IResourceBundles for localization, not deal with XML files or properties files. As long as you implement IResourceBundle, you can back it up with XML, properties, JSON, AMF files - what you want. The problem is that mxmlc will not build modules of resources for you what it is, with the exception of properties files, and cannot compile just resource bundles in a .swf using anything other than properties files. If you build your own interface to spit IResourceBundles, this could work, but it is probably more trouble that it's worth.

    (Assuming that you establish the link in the application) the best solution is to write a script to pre-process the XML in properties files.

  • Many doubts about your new questionable conditions 'change for the better '.

    I'm an early adopt Revel and a satisfied customer. I improve my account a few months each year, if I did it more than 50 photos I want to back up to Revel. When it remains without downgrading my photos on Revel. Fantastic!

    With the new conditions, I would have to pay for a permanent upgrade as my account triggers the free 2 GB that you offer.

    This is not a change for the better as you say. Not at all.

    As of the first I will keep the rights and conditions that I registered, when I subscribed to the billing department? I expect a clear answer because I think the deletion of my account.

    Change your sound like something... now that I spend a lot of time the upgrade of several GB change you the terms. Not wise at all. and the worst part is that we do not know what you plan for the future...

    The problem is that the decision to penalise early adopters. Not fair at all. Not fair at all. Not fair at all. Adobe is not a reliable company. Not for me. You defend what is indefensible.

  • Impossible to change an attribute of read-only for the My Documents folder in Windows 8

    Problem:

    Everything I put in My Documents directory is converted into read-only, so all my files in this folder (especially my PDFs) cannot be opened OR downloaded/sent online. I tried to use cmd and Type attrib - r "c:\users\myaccountfoldername\documents" but nothing works, document folder still has that little padlock on its icon. I also gave everyone full access to this folder, but whatever I do, I can't change the property "read only". Even if I uncheck that manually in the properties, it continues to go back.

    I looked for a solution now and I still have solved it. I ignore it if I could, but I put a lot of important and frequently accessed files in my library of Documents, so I really need to get this figured out soon.
    I just bought this laptop about a week ago, it came with Windows 8. I'm not sure but I think that this problem happened to me when I joined the homegroup on my local network and began to share files so that I can transfer my old files from my old laptop.
    With this in mind, I tried also to leave the homegroup and restart. The Documents folder was read-only a minute or two after I restarted, but then it became like this again after some time.
    I know that it was designed for the safety of my files and everything, but what should I do with my 'secure' files, if I can't even open a simple PDF file?
    I am the administrator and the user account only on this laptop

    Platform:
    64-bit Windows 8
    Path in question:
    C:\Users\USERNAME\Documents

    I finally understood what was causing the problem! Apparently, he was in the Service of protection against theft by MacAfee (that I installed immediately after the purchase of my new laptop) encrypt all the files in the Documents folder and all the office files that I have! Which explains why no matter how many times I try to seize or delete and redo the folder my documents, it simply would not work. I finally uninstalled the hassle of a service and I can now access my files again :)

  • Question about mismanagement of the effects in the construction of sequence

    Hi all

    I read the BPEL 2.0 document and met a question about management failures and the normal flow of control in the < sequence > construction.

    For example, in the following code fragment:

    <>sequence
    < call...
    < catch faultName = gt; a.
    < / call >
    < receive... >
    < / sequence >

    If fault one is taken and processed by error handler, when the fault handling ends at will are receive > activity start or jumped?

    According to the document: < receive > will begin when < call > complements, but the 'complete' includes the 'ends in vain", (i.e. a fault is stuck inside the < call > and dealt with)?

    Hope you can help me and thank you very much.

    Published by: user8301699 on April 9, 2009 19:04

    Hello

    You have reason, 'full' includes the 'ends in vain", (i.e. a fault is taken inside the and treated).

    Hope this answers your Q.

    See you soon
    Rémy Pucha

Maybe you are looking for

  • How can I activate Windows defender manually if it is not possible to directly access due to an error?

    I received a message that my windows Defender has been turned off, and when I tried to access the Defender himself he told me I couldn't because of the error. I tried to restore my computer and and also the center of problem/solution directly on the

  • How can I return back to Outlook Express with AOL?

    I can't find a way back to AOL Mail after windows mail - Outlook Express makes it so easy to pass to them and import all my mail, but give no information on how to go back and come back all my mail to AOL.

  • OOB CASE compatibility with CASE In-BAND

    Hello We currently have a CASE/CAM (3310 s) deployment in production. The etc is in a deployment-band for VPN users and we plan to add a CASE of OOB for guest access LAN. We are running version 4.6.1. The question is if we can mix the types of CAs (i

  • Adobe update fail code 1601

    I am still having problems with windows install and also two updates to the java runtime environment and adobe flash reader answers for that heal and please don't give me response unless it works for windows 7 Home premium operating system

  • Photoshop question - new hard drive

    I have a new hard drive and my old has Adobe photoshop starter edition 3.2, I have a CD program.  When I try to put my activation code in, thephotoshop program does not accept it (grayed out).  Please help me - I need to know how to get the photoshop