PSD to recreate a link with the layermask or layers in Indesign

Hai,

I wrote several scenarios to recreate a link to the pictures from one place to the other.

but when you use a file .psd with more then 1 layer or layermasks

and during the first connection with the PSD, with importoptions one or several layers of the .psd are disabled.

restoring links automatically with a (java) script causes all the visible PSD layers in Indesign files

I do not found all the properties of binding to reallocate after the reissue link

example of the script so far:

theDoc var = app.activeDocument;

var low = "72 dpi";

Top Var = "300 DPI";

var theDoc.allGraphics = myImages;

for (i = myImages.length - 1; i > = 0; i--) {}

var myImage = myImages [i] .itemLink;

var org_path = myImage.filePath;

org_path = org_path.replace(low,high);

var myNewName = org_path;

var myNewLink = new queue (myNewName);

if {(myNewLink.exists)

myImage.relink (myNewLink);

myImage.update ();

}

}

there in the Indesign of DOM properties and methods to manipulate re-edit it according to the old link

change only the linkpath. Not found so for.

There is "link.properties", which is the index?

var theDoc = app.activeDocument;
var low ="72dpi";
var high = "300dpi";
var myImages = theDoc.allGraphics;

for (var g = 0; g < myImages.length; g++) {
     myImages[g].graphicLayerOptions.updateLinkOption = UpdateLinkOptions.KEEP_OVERRIDES;
}

myImages = theDoc.allGraphics;

for (i = myImages.length-1; i >= 0 ; i--) {
     var myImage = myImages[i].itemLink;
     var org_path = myImage.filePath;
     org_path = org_path.replace(low,high);
     var myNewName  = org_path;
     var myNewLink = new File (myNewName);
     if (myNewLink.exists) {
          myImage.relink (myNewLink);
          myImage.update();
     }
}

Tags: InDesign

Similar Questions

  • Bug trying to create the link with the Cyrillic characters in URL

    I'm transforming words in my text on the links, but with Cyrillic characters in their URL (such as https://en.wiktionary.org/wiki/ хорошо). The problem is that, depending on how create the link, the page refuses to accept the URL.

    It's my preferred method (which accepts not the Pages):

    1. Write or select the text to be transformed into link;
    2. Press cmd + k;
    3. Paste the URL (https://en.wiktionary.org/wiki/ хорошо) in the field;
    4. Hit enter or click out;
    5. When I check the link, it is www.apple.com.

    The strange is that other methods work very well.

    1 against nature (accepts Pages):

    1. Delete my word;
    2. In its place, paste the URL (https://en.wiktionary.org/wiki/ хорошо);
    3. Hit the space bar (a link is created automatically with the correct URL);
    4. Edit the link that is created and change its text;
    5. When I check the link, he kept correct.

    2 against nature (accepts Pages):

    1. Write or select the text to be transformed into link;
    2. Press cmd + k;
    3. Find a way to build a version with my URL (https://en.wiktionary.org/wiki/%D1%85%D0%BE%D1%80%D0%BE%D1%88%D0%BE) escape sequence;
    4. Paste the URL with escape sequence in link field;
    5. Hit enter or click out;
    6. When I check the link, ironically, is хорошо https://en.wiktionary.org/wiki/.

    To stretch more:

    1. Editing a link created successfully (with any success methods above);
    2. Changed its URL (from хорошо https://en.wiktionary.org/wiki/ to https://en.wiktionary.org/wiki/ плохо)
    3. Hit enter or click out;
    4. When I check the link, it's still хорошо https://en.wiktionary.org/wiki/;
    5. Finally edited and changed its URL still once, now remove the Cyrillic (https://en.wiktionary.org/wiki);
    6. Press enter, click out and he finally accepted the URL.

    Pages seems to be denying the creation of links with the URL that contains Cyrillic characters (only?), but exclusively through his little creation of link popup. I think it's a simple problem, but I'm sure it's very annoying.

    Everyone knows the same?

    Cyrillic characters in the range of table encoding UTF-8 code points u + 0400 - u + 04 FF are represented by two bytes. These people must be encoded as a percentage (read the two paragraphs of the current standard of article), as the Pages v5.6.2 will convert automatically URI to this encoding for you in the link Inspector. It will simply ignore what it considers incorrect URI links, they are Cyrillic, or even English.

    Use what is easier for you, and that Pages v5.6.2 accepts.

  • I just updated my system to yosemite 10.10.3 software. I don't seem to be able to establish links with the APPs on my desktop creative cloud. I have just a spinning wheel?

    I just updated my system to yosemite 10.10.3 software. I don't seem to be able to establish links with the APPs on my desktop creative cloud. I have just a spinning wheel?

    Screen Shot 2015-06-28 at 20.13.32.png

    Does not open App | Wheels of progress turn continuously

    https://helpx.Adobe.com/creative-cloud/KB/creative-cloud-app-doesn ' t - open.html

  • How to customize the behavior of a click on a link with the middle mouse button?

    I have just upgraded to Firefox 24ESR as part of an update to CentOS 5 (RHEL5) and now medium by clicking on a link opens the link in a tab and not in a new window (as he did with Firefox 17ESR). I want to restore the Middle, click on behavior of link to what it was in Firefox 17ESR. I * hate * tabs and do not, ever.

    Hello

    To resolve this issue, go to the Firefox preferences panel and make sure that the tabs > open new windows in a new tab instead of preference is unchecked.

    Then type "Subject: config" in your address bar. In the page that is displayed, please click on the button "I'll be careful." In the top search bar, type "browser.tabs.opentabfor.middleclick." Display preference set to false by double-clicking it.

    I hope this helps!

    -Josh

  • Photo of thumb as a link with the large photo?

    I created a picture of thumb on a product on my site.  I want this picture of thumb to make a link to a large photo of the same product.  I read a lot of suggestions for how to do, but apparantely I do not understand how to operate the suggestions.

    "This is the code I use--< img src ="... /... /.. /.. /.. /.. "/ Desktop/dropbox/ABELIA CONFETTI tiny.jpg" width = "50" height = "50" alt = "" / >

    What code add to make a link so when someone clicks the thumb picture a large version appears?

    I worked with the producers of plants over the years, so I am very familiar with the requirements of the web site.

    Your site is the 1st impression that many people have of you and your business.  Must be polite & professional through an search engine work, so people can quickly find the right plants they need.   It is necessary to categorize plants by type species, requirements water/Sun, pH of the soil, climate zone, price, size, etc... Those are the key words, people search for.  And you can't build a search engine without a proper database.  For example, look at the web site of Burpee.

    Burpee seeds and plants - House Garden, vegetable seeds, annual flowers at Burpee.com

    I can show you how to make a CSS rollover, but it won't help you with the biggest problem to a user-friendly website that is scalable and easy to manage.

    If you need help, feel free to contact me via my website.

    http://ALT-Web.com

    Nancy O.

  • Email link with the email address of the admin client

    We include an e-mail to Webhelp to our product link to allow our users to send us your comments on specific topics (none received to date, but I live in hope that someone, somewhere, reads for help...).

    A customer asked if it is possible to include an email link in the help topics that will send an email to that client sys admin.

    Obviously, a search / replace on all htm files would be the case, for example to replace the email address of my company doc feedback with email of the customer on the link send comments. But is there a more elegant way to do it?

    • The e-mail address used in the link could be specified when using the product is installed. The installer should go through all of the htm files and do the replacement.
    • The e-mail address may be specified in a file separate and included somehow in all htm, while a single file would need to be changed by the installer.

    Someone at - it solved this problem already? Is the 2nd option above even possible?

    Cheers, Julie

    I guess you want to simply send e-mail to the user's system, right? If it is to be sent automatically in the background, you need a solution on the side server.

    I see two options: sets of variables and JavaScript.

    • With the sets of variables, you set the email as a variable. And that you configure a set for each customer. But you will end up with a single output by customer.
    • With JavaScript, you put all the logic for the email link in a script. Then you have just the single file where the e-mail address is stored. Then only one place to update. See the site of Peter for the sample scripts: Email this theme
  • Recreate a link to the mp4 video when exporting the apk from CC animate?

    Hello, I have a problem with my video in a mini app that I have to do.

    I joined a video with the video import box and all this beautiful work on the debug (with Tablet android usb connected) mode and the preview.

    But when I publish on the APK, the video does not come with it, and the link is borken (I guess).

    It's just a simple menu with a Buton "Video game" entering a period where I put the video with the FLVplayback thing (video is a mp4 encoded with the android 720 p preset).

    I don't want any link flow online ect, I want just a local use.

    Then, how to properly export the package?

    If anyone can help...

    It didn't occur to me before, but you've entered in the publishing settings, general tab and video added to the list of included files?

  • Merged clips are not automatically linked with the audio when put to the timeline.

    So I've updated to the latest version of first pro, and it seems that he has this bug with merged clips or is a 'feature' I don't know.

    I synced the audio clips video and multichannel, as I do usually - using audio matching feature.

    When I put the video merged to the timeline and try to move around, only following a video audio track, others are unrelated. It wasn't the question in the previous version first. Any suggestions how to solve this problem?

    A screenshot below, this is what I get when I put a clip merged directly to the timeline. As you can see, only the audio is linked (marked with [A])

    Screen Shot 2015-12-05 at 12.43.38.png

    Hi bunaras,

    Yes, it's a bug with clips merged; It also affects the edit of a sequence in another with the "insert and replace sequences such as nests or individual clips" button to "individual clips." Sorry for the inconvenience; Currently, the only solution would be to manually connect the audio and video components.

    Colin

    First Pro EQ

  • How to end Manager dynamic link with the Premier Pro CC

    I'm trying to use Adobe Audition directly from the premier pro, but am unable to do so because of the Daynamic Link Manager preventing the audio directly open by Audition.

    Any suggestions?

    "Note: the command change in hearing is not available for Adobe Dynamic Link clips."

    It is something very different from what you're saying.

    How can I make sure a specific *. SESX file opens with the hearing?

    Make sure that the operating system can open these files with hearing.  You set this with file Associations.  You can just Google how to for your specific operating system.

  • column of a link with the ability to send the user on several different pages

    using apex 4.0

    In my example:
    User: Secretary for a large company in charge of the HR database, enter new employees, reorganizing the employees, managers, etc.).
    Employee: A person working for the company whose information is in the database.

    The problem: my client wants the data divided into several subcategories, so, for example, it would be like sales, managers, etc., using the human resources database. The main page of this project contains a table that lists all the company employees, low to high. There is a column of navigation with several links to predefined reports filter that filters data on the question whether the employee in the database is a seller, Manager, etc.. If the user clicks on the link change, it will take them to a page master detail where the upper part is general information and background tasks of the employee. The problem is that, according to his level, there may be additional details that the user will want to change, such as if the employee is responsible for, the user will also want to see another table a list of employees by the Manager. There is also a second level of managers who will have a table of managers of this person manages. The dream is that there is a list of links above the tabular presentation, which will allow the user to choose what table they want to see. I thought about the following:

    1. create several copies of the home page, one for each subcategory, so that she will be the link change correct.
    Positives - Simple, easy, I know how to.
    Negative - would like it to appear on the same page, such that if the user deletes / adds a column in a single page, this change would occur on all other pages. I also have to make the same changes on several pages, one is required.

    2. create a text field hidden on the page that records the last link, what they clicked. When the user clicks on the link change, some kind of javascript selects the right page to go to in view of what is in the box.
    Positives - seems simple enough, but I have not tapped into javascript a lot
    Negative - not for sure if it is even feasible, would need help

    3. create a subpage of master-detail, that holds all the necessary tables and hide those that are not. When the user clicks on a link, the link triggers the current table to hide and another to appear.
    good points - all in the same place, that one page to link to main page
    negatives - it would require at least 5 tables on one page and I do not know how the apex would like that. I also don't like the idea of the page calling itself when the user is looking at senior managers and to display a lower Manager / employee.

    4. a creative method / useful / incredibly simple bore by a user of this forum.

    Because I'm in a very short, customer review period next week, I implémenterai #1 because it is the easiest and most straight forward, but I would like to know your thoughts to make much cleaner.

    Published by: rabbitman June 4, 2012 08:07

    I don't know if it's the best way to accomplish what you want, but it worked for me.

    Change the link in the column to specify the following for a target URL, where EMP_NO and EMP_TYPE are columns of the report.

    JavaScript:apex. Submit('#EMP_NO##EMP_TYPE#')

    In the processing of the page after several branches to different pages depending on the type of employee. For example,.

    Branch to Page 2: Condition = instr (: REQUEST, 'SALES') > 0
    Branch to Page 3: Condition = instr (: REQUEST, "MANAGER") > 0
    Branch to Page 5: Condition = instr (: REQUEST, 'PRÉSIDENT') > 0

    Since the: APPLICATION also has the EMP_NO, you can use this to set the value of the EMP_NO for the target page, pull up to the employee's file.

    Natasha

  • GoTo PDF named destination link with the current zoom level

    Hello

    I created the PDF file of 3B2 software with a lot of links and bookmarks, links with documents created with the bookmark named destination names.

    When I click the link to navigate the document with, it will be the location of the bookmark goto and zoom level will be changed to "ADJUST to WIDTH" but I want to go through the document with the current zoom level from the link where I clicked.

    For this process, I tried a method which is javascript in link action.

    Using the properties of the links of

    Action-> Add Action-> Action of selection (running Javascript)

    Script


    main()

    main() function

    {

    Zoom var = this.zoom;

    This.gotonameddest ("BK1");

    This.zoom = zoom;

    }

    By this method, I get what I'm looking for, but I'm having a problem.

    First I'll goto who book a page marked with and after that only it fits its current zoom level, so when I go to previous view it will be zoom goback "ADJUST to WIDTH" level, if this method does not.

    And also I am not able to change all the links in my PDF document by manually.

    So please advice me which is just way to browse the document with the link current zoom level where I clicked.

    Note:

    The output PDF document will contain 100 number of links, so I want to update all the links with my requirement by automation.

    Is there a way to manage this process by Acrobat SDK with c#, .NET

    Respect of

    Thirusanguraja V

  • link with the relative path includes the root folder

    I hope someone can help me. When I convert a Word to PDF file with a path relative to another document, a reason any Acrobat includes the directory root with the path if the link does not work. Even when I try and change the link using Acrobat Pro and save the document, the system adds the default root directory. What is happening with this?

    example:

    Directory with the file/subdirectory with file/sup under directory with the file / / my document.pfs

    site to register:

    C: / / my documents /.

    Directory with the file/subdirectory with file/sup under directory with the file / / my document.pfs

    solved my problem. I removed the links in the word document and then created in Acrobat. It worked.

  • Internet link with the GET parameter

    I try to make a link to a Web page at the end of my session of e-Learning with GET - parameters e.g. http://www.MyPage.com?PAR1=name & PAR2 = Surname

    Is it possible to do that - I tried to use custom variables (NAME, first NAME) and try to make a link to a URL like

    NAME of http://www.mypage.com?par1=$ $$$ & par2 = NAME$ $$$ but the url with the content of the Captivate process variables won´t.

    You can not do like this directly from Captivate unfortunately.

    You must create a JavaScript function instead (and put in your HTML) and then call this function from Captivate. With the help of JavaScript, it is possible to recover the user defined and variable system in Captivate, then you can build your link as you please.

    / Michael

    Click here to visit the blog of www.captivate4.com

  • JavaFX Tableview not link with the controller class (JDK 8)

    I have my 1.7 update javaFX applications java java 1.8. It seems now FXML TableView component will not be binding with reference to controller class Java. Thank you.

    FXML file:

    < fx:id = "dvTypeTbl" '49.0' = layoutX TableView on = '145.0' prefHeight = '388.0' prefWidth '800,0' = >

    < columns >

    "< TableColumn maxWidth ="5000.0"minWidth ="10.0"prefWidth ="420,0"text="%device.type.main.view.table.column.name ">

    < cellFactory >

    < com.stee.rcm.gui.fxml.FormattedTableCellFactory align = "LEFT" / >

    < / cellFactory >

    < cellValueFactory >

    < PropertyValueFactory property = "dtName" / >

    < / cellValueFactory >

    < / TableColumn >

    < / columns >

    < / TableView >

    Controller of Java class:

    / public class DeviceTypeMainController implements {bootable

    @FXML private static TableView < DeviceTypeTable > dvTypeTbl;

    @Override

    Public Sub initialize (URL url, rb ResourceBundle) {}

    With this reference now it will get null pointer

    DtList ObservableList < DeviceTypeTable > = dvTypeTbl.getItems ();

    }

    }

    It seems that static fields don't get injected into the JDK 8.

    I can't inject static fields has never officially supported. The documentation for @FXML and FXMLLoader are pretty awful, but no example in the official tutorial use static fields with the @FXML annotation. This seems to be a really bad design still: imagine later you decided to re-use the file FXML twice in your application: the second controller would replace the field injected by the first controller.

  • Why my Illustrator file linked with an opacity mask to my Indesign file a washed out appearance?

    I have an indesign this work of Illustrator related uses of the file. The illustrator files contain opacity masks, and when I import into my layout indesign they give the bottom of the pages a washed out appearance. I noticed that the page in my project Indesign who doesn't have opacity masks linked seems fine.

    So, I know that the opacity mask is performing the indesign document somehow but I don't know how to solve the problem. I tried merging the texture in the opacity mask, flattening of the illustration illustrator, paste the illustrator shape directly on the page, save the work as a PNG; but nothing seems to work.

    Here is a picture of the page with the related work.

    Screen Shot 2016-06-04 at 11.07.40 PM.png

    Here is one of how the page should look like.

    Screen Shot 2016-06-04 at 11.07.51 PM.png

    Here is the configuration of my illustration illustrator opacity mask. Its basically a group of white textures I pasted in the opacity mask. It's a single layer.

    Screen Shot 2016-06-04 at 11.08.09 PM.png

    If anyone has any ideas or ideas, I would be happy. I hope I have provided enough details.

    Thank you for all your help. I thought about it. I did the background texture in photoshop and converted to grayscale. Turns out I should have converted to CMYK. Once I did this everything unified in my indesign document.

    Kind of a moment of c ' h but good.

    Thanks again for all the quick responses.

Maybe you are looking for

  • Uninstall 3rd party on yosemite y os

    installed Bitdefender on my macbook 12 and immediately had problems with safari, WiFi Internet connection. My problem now is to uninstall Bitdefender. I need to be logged for uninstall, currently my only access internet wifi. Please help. Thanks in a

  • network Frame 4

    I can't update this file. Why. I also have problem when I start the computer. I have wort boota coming for windows. I don't know why. Please help me with this. can I remove network 4? Maybe it doesn't work on my computer. How do I do to remove this i

  • M6-1117tx dual drivers GPU?

    Hello I bought this model recently for occasional use, but what I noticed that windows update insists on 2 GPU drivers and HP website offers 2 GPU, AMD and Intel drivers. As I know the model has a Radeon HD 7000 series card. So should the two GPU dri

  • Card shuffle

    I took the card from my Sansa ClipZip and put it in the Sport. When I choose an artist on the map and choose shuffle it sufflles by the titles of the artist without problem. When I want to shuffle on all the songs on the card in all categories (artis

  • Header changes as you scroll down

    HelloI buy a template, the problem is when I scroll to the bottom of my logo in the header at the top just left and all navigation is reduced. I'm try when scroll down happened logo comes center and my navigation also come Center. I am not able to fi