Name of the link copy by selecting it in the links palette?

I searched everywhere for an answer to this, but I have not found anything. What I want to do is very simple: click on a link in the links palette and get the name of the file that I chose. Mind you, this is to ONLY select the link in the links palette, do not select the chart in the document. I know I can click with the right button on the link and choose copy of information, but this initial name copy is part of a larger script and I'm working. And I can get the name of the file by clicking on the graphic on the document. But I can't figure out how to realize that I clicked on something that in the links by InDesign palette. Is there a way to do this? Thank you.

Nate

The selection in the links Panel is not available to scripts so that you can not do this.

Tags: InDesign

Similar Questions

  • Print file stuck in the coil, the message "unable to copy the name of the file: it is used by another person or program".

    Recently, I tried to capture a job by a break of a print queue, print work and copy the files from the spool (under C:\WINDOWS\system32\spool\PRINTERS) before unpausing the queue. However, when I try to copy the files, I get the error message "unable to copy the name of the file: it is used by another person or program". I tried several times with the same result. The only way to get the file off the ground is obviously t reactivate the print queue and they will quickly deteleted shortly after. Is there a way I can recover these files? Assume the change the port in 'File' to make a copy of file is on the table. I ran this in the title of administrator user rights.

    The file you are trying to "capture" you will do some good.  However, if you want to watch or copy it, first stop the print spooler.  Open the Services applet (start > run > services.msc > OK).  Scroll down to "Print spooler" and click "Stop".  Don't forget to restart the print spooler after you copy the file or you will not be able to print.

    If you want to print to a file rather than on paper, there are at least three ways to do it (not counting "Print to a file").

    Using the "Print to file" box will produce a *.prn file.  It contains commands specific to the printer; It cannot be opened by the usual word processor applications; It can be used to print to the printer selected in the print dialog box or printer that uses the same commands to the printer.  For example, you have a printer installed on 1 computer but you have physically moved the printer to computer 2, where it is now installed.  You can check the "Print to file" on the computer 1, save the file to a flash drive *.prn, carry it to computer 2 and then print it out by copying the file to the printer (in a command prompt window).

    1. the best way, IMO, is to print to a PDF using free CutePDF Writer.

    2. you can create a "generic, only the text" printer and select this option when you print.  This produces a *.txt file.  To install the generic/text printer only, follow these steps:

    1. Click the Start button, point to settings, and then click Printers.
    2. Double-click the add printer icon.
    3. Click the next button.
    4. When you are prompted "How is this printer attached to your computer? Click the local printer option button, and then click Next.
    5. In the manufacturers box, click Generic. In the Printers box, click generic/text only, and then click Next.
    6. In the available Ports box, click FILE, and then click Next.
    7. When you are prompted "do you want that your Windows-based programs to use this printer as the default printer?" click the no option button, and then click Next.
    8. When you are guests "would you like to print a test page?" click the no option button, and then click the Finish button.

    3. use the Microsoft XPS Document Writer, which may already be installed on your computer.  "XPS" was Microsoft's attempt to compete with Adobe PDF.  He did not.  Unfortunately, the only way to view a document produced by the XPS Document Writer is using the Microsoft XPS Viewer.

  • iTunes could not copy (name of the song) to the iPod (ipod name) because an unknown error occurred (-50)

    Hello
    I use the latest version of iTunes and 160 GB iPod Classic. I create playlist and drag and drop the files there, he begins to synchronize the songs (update files to iPod, copy) but after a few songs, it gives me this error:
    iTunes could not copy (name of the song) to the iPod (ipod name) because an unknown error occurred (-50)
    After clicking 'ok' on the error message, it shows that the iPod got synced up that song (for example songs 2456) but when I try to delete, for example, each piece in the last playlist so I can send all has couse again once I know not where is the last song, it freezes. I can't even click on safely remove the lower right, it does nothing. When I unplug the iPod and reconnect, it shows that the iPod memory is for example 10 gb full couse songs that got synced up to the error, but it shows them as "other". If I wait a few minutes, it automatically deletes and it for example shows 900 MB is full with others. If I wait for each selection to sync, which always occurs within a song at random, but the rest of the songs that I've waited sync appears as usual. But if I try to send new songs, the same error apears after 3-10 songs constantly. But after that I get the error again, the same thing happens in the freezing point. If I restore the iPod and you try to send the songs again he again Gets a thousands of songs, the process repeats...
    I restored my iPod, I did on this topic of error checking. I use no bitrate convertion. Yes, I tried sending the same files after restoring the iPod, no error. Any ideas?
    Thank you!

    I just use CopyTrans Manager to it. Everything went well.

  • Name of the file to copy to the Clipboard

    I'm looking for a script that will copy the file names of the files selected in bridge CC in the Clipboard. Someone at - it a?

    I read an old post that referred to one and had a script - but it gave an error, and I think that it must be for an older version of the bridge. In addition, it does not include the file extension, what I want to do.

    Thank you!

    G

    There is no direct way of writing to the system Clipboard, unless you use an external library to be located on the site of Paul (Windows only).

    http://www.PS-Bridge-scripts.TalkTalk.NET/

    There are work-a-rounds see http://www.ps-scripts.com/bb/viewtopic.php?p=15322

    The simple way is to write the information to a text file, here is an example of writing, the file names in a text file on the desktop.

    The file name will be the same as the name of the current folder in bridge.

    #target bridge
    if (BridgeTalk.appName == "bridge"){
    var FtoFiles = MenuElement.create( "command", "Filenames to file", "at the end of Tools");
    }
    FtoFiles.onSelect = function (){
    var files = app.document.selections;
    var fileNames = new Array();
    for(var a in files){fileNames.push(decodeURI(files[a].spec.name));}
    var folderName = decodeURI(Folder(app.document.presentationPath).name);
    var f = new File(Folder.desktop + '/' + folderName + '.txt');
    f.open('w');
    f.write(fileNames.join('\n'));
    f.close();
    };
    
  • Copy the name of the layer to the Clipboard?

    Hi, I was looking for a way to copy the name of the active layer in the Windows Clipboard, I hope this a quick solution. What I managed to do up to now, it is to open the Layer Properties dialog box, and then press 'CTRL + C' to copy the layer name (because the name of the layer is already highlighted at this stage), and then it correctly copy the name of the layer in the Windows Clipboard.

    But I found that when the system is under load, the Layer Properties dialog box is sometimes slow to open, and despite this, it seems that it is an additional step that could be eliminated.

    I searched through keyboard shortcuts and also in all the menus layer for a keyboard shortcut for just 'copy layer to the Clipboard name' but cannot find anything.

    Anyone know if there is a quick shortcut to do this or maybe a quick script that will copy just the name of the layer?

    Thanks in advance...

    Bingo! Thank you Philippe/csuebele/pixxxel, it's the "clip.exe" that was the problem for me. I pasted in system32 and now it works. It's awesome - now I am able to view a tool tip with the name of the layer, whenever I change the layers (with the help of my other app left 3rd) - this is especially useful when working in mode full screen when you don't see the palette layers. It will update your tool tip with the name of the layer whenever you use keyboard shortcuts to select the different layers.

    If someone thinks they would find useful, I had me more than happy to share it... but it's using a different script software, so I may or may not be able to talk about it here. Shoot me a private message if I can't talk about it here and you would like it to be.

  • Use the name of the db link programmatically in a PL/SQL block

    Hello

    I have a requirement to be able to create a database procedure that references the same db tables different names of links (i.e. a generic procedure). The procedure would be passed as parameter the name of the db link and then later in the code in the block table is queried by using the provided parameter of dblink name. I'm working on the best way to achieve this and I was wondering if anyone else has had to do the same? I'm open to suggestions here.
    Here is an example of pseudo code:

    procedure query_table (p_dblink_name varchar2) is

    Start

    Select count (*) in tableABC@p_dblink_name;

    end;
    /

    Obviously, the code above is not correct syntax, but that's actually what I'm trying to achieve. Any ideas?

    Kind regards
    Leigh.

    You must use dynamic SQL statements

    procedure query_table (p_dblink_name varchar2)
    is
      l_cnt pls_integer;
    begin
      execute immediate 'select count(*) from tableABC@' || p_dblink_name
         into l_cnt;
    end;
    

    Justin

  • in the export file name changes loses link catalog

    I'm a newbie LR3 (or any version of LR also). Been using CS4 and CS5 now for a little over a year

    & became comfortable with 5 Raw and Raw 6 now.

    I have the wierdest thing happen when I 'import' my photos in LR3 (no matter if it is a card or an external hard drive). I have created a preset in the section file to change the name of the file to import handling. So instead of the file DSC_0001.jpg, the preset I replace it (then), Mikes_photos_20100725_DSC_0001.jpg. Export works very well, everything is great. I even let LR running (and tried to restart the computer or the program), but when I get back later, the catalog cannot find pictures (image of low resolution cat., but not on the picture). I said that it cannot find "DSC_0001.jpg. It's right there in the folder it is looking, but the new name - given the file by LR3 when importing is no longer the short name but the most recent long name. When I click on the new name, he said something like, "make sure that you want to link this since both names are not the same?

    Does anyone else have this problem or can anyone tell me if I'm doing something wrong?

    Make backups to import? Is to make a second copy enabled in the import dialog box?

    I just reproduced the error rename you described (and mentioned in the thread I linked above): when you have backups to import enabled and a file with the same name already exists in the backup location, rename it on import will fail and leave a broken link between the catalog and the file.

  • Script to rename the names of information link

    I'm working on the conversion of a catalogue of old customers from Quark to Indesign.  I use Indesign CS4 on Windows Vista. I used Markzware Q2ID to convert indesign catalog with too many problems.  But I ran into a big problems with the images.  They will be automatically re-issued.  After digging around, I found the problem.  For some reason any all Image names also include the path structure.

    For example

    Link Info

    Name: BDA - 12:Users:graeme:Desktop:FSIP back-up: _Collected:02405 PESA AftMkt EAST: photos: M587524. EPS

    Path: BDA - 12:Users:graeme:Desktop:FSIP back-up: _Collected:02405 PESA AftMkt EAST: photos: M587524. EPS

    Luckly that all names have the same problem.  So I hope find or write a script that can simply go through the indesign document and find/replace all the names link to remove "BDA - 12:Users:graeme:Desktop:FSIP back-up: _Collected:02405 PESA AftMkt EAST: photos:

    I know it is a very simple problem, but it's my first real attempt to script something in Adobe.  Anyone have any good ideas or tips on how I could do this?

    Thank you

    VIC Bushfield

    Victor,

    The conversion program totally corrupt links in your document: myLink.filePath is just empty string, myLink.name, this is what should have been myLink.filePath (this is info from ESTK).

    Here is a new version of the script - it rebuilt to the files located in the folder NewLinks on the desktop. Change this line

    var myNewPath = '~/Desktop/NewLinks/' + MyName;

    to the location of your links.

    WARNING - I tested it on Mac, because do not have a copy of CS4 for Windows.

    Kasyan

    //----------------------------------------

    indesign #target

    If (app.documents.length == 0) {}
    Err ("no document open. Please open a document and try again. ", true);
    }

    myDoc var = app.activeDocument;
    myLinks var = myDoc.links;
    var myCounter = 0;

    If (myLinks.length == 0) {}
    Err ("this document contains no links.", true);
    }

    for (i = myLinks.length - 1; I > = 0; i--) {}
    myLink var = myLinks [i];
    var myArr = myLink.name.split(":")
    var myArr = myName [myArr.length - 1];
    var myNewPath = '~/Desktop/NewLinks/' + MyName;
    var myNewFile = new queue (myNewPath);
    If {(myNewFile.exists)
    myLink.relink (myNewFile);
    myCounter ++;
    }
    }
       
    If (myCounter == 1) {}
    Alert ("a file has been relinked.", "Completed");
    }
    ElseIf (myCounter > 1) {}
    alert (myCounter + "files were relinked.", "completed");
    }
    else {}
    Alert ("Nothing has been relinked.", "completed");
    }

    function err (e, icon) {}
    Alert (e, "Update path names Script", icon);
    Exit();
    }

  • Change the name of the file of "Import.xls" selection in Applescript

    Hi, I'm a tiger, but I try to change the name of a file in a folder (which can be any name that is) a name known.  In the end, just trying to import a file known to filemaker and need the name to be a known name.  That's what I have so far, but I have simply not success.  This goes to the folder 2 window and selects the first file... no problem, but, I can't seem to change the name of 'import.xls '.  Only excel files will be present in this folder, so I'm not worried about it.

    The other thing I would do is if there is no file in this folder to jump above everything and do nothing.

    Thanks for your help!

    Tell application "Finder".

    activate

    the value target of Finder window 2 to folder "Orders_to_Enter" of folder "Documents" of the file 'MINIJOHN'from folder 'Users' of startup disk

    Select the first file of the window of Finder 2

    Try

    the value the name of the selection of "IMPORT.xls".

    end try

    end say


    say

    Hello

    No need to manipulate the selection. You can just write something like this:

    set d to (path to documents folder as string) & "Orders_to_Enter:" as alias
    tell application "Finder"
        --open item d -- optional
        tell (item d's file 1 whose name extension = "xls")
            try
                set name to "IMPORT.xls"
            end try
        end tell
    end tell
    

    Tested under OS X 10.6.8.

    Good luck

    H

  • What is c? -osxupdcombo10.10.5.dmg - he started to automatically download on my mac and I stopped it... This is a copy of the name of the file and I have no idea what it is?    osxupdcombo10.10.5.dmg

    What is this file? -osxupdcombo10.10.5.dmg - he started to automatically download on my mac and I stopped it... This is a copy of the name of the file and I have no idea what it is?    osxupdcombo10.10.5.dmg

    This is the last update to Yosemite.

    If you do not run 10.10.5 then you run to certain security risks.

  • How can I connect my Mac to a network server? As in windows yo go to my computer / connection to a network drive, and then you select a letter and write the name of the server that you want to be logged

    I'm trying to adapt Windows to my new MacBook Pro with OS El Capitan.

    I work remotely for a company and I want to connect my Mac to the server of the company.

    My question is how to connect a MAc to a network drive with the permanently available connection.  For example, in my old HP I went to my computer / connection to a network drive. I've selected a letter and note the name of the server that I wanted to be connected to. The connection was then shown with my other drive hard 'sections '; I want to say C:, D: (for recovery), e: (for tools) and then connecting to the external server has been shown with the selected letter.

    There is no "letter" under OS X. It's a hangover very old of BACK, devices of mapping and volumes labeled mailbox.

    If you are connected to your corporate network, you should see the available network volumes listed in the Finder, in ' my computer > network ", or with the command K to connect to a server.

    You can create an alias for the volume and put it in the Dock, or leave on the desktop or put it somewhere else, and the next time you want to connect to this subject, simply double-click on it. You can also add the server address to your "favourites" in the connect to Server dialog box.

  • Is it possible to get the name of the tool selected from a script?

    Hello

    Is it possible to get the name of the tool currently selected from a script?

    I found this:

    https://forums.adobe.com/thread/579195

    https://forums.adobe.com/thread/2161923

    But these works in Photoshop... So, it is possible to get the name of the tool currently selected in InDesign? Is there a universal method that will work in other applications?

    I think that there is a toolBoxTools, app.toolBoxTools...

    P.

  • Select the column name when the value = something

    Is there a way to select the column name when there is a specific value in it?

    As follows:

    create table (abc123)

    COLUMN1 VARCHAR2 (50).

    COLUMN2 VARCHAR2 (50).

    Column3 varchar2 (50)

    );

    insert into abc123 values ('yes', 'Yes', 'No');

    insert into abc123 values ('no', 'Yes', 'No');

    INSERT INTO ABC123 VALUES ('no ',' no', 'No');

    insert into abc123 values ('yes', 'Yes', 'Yes');

    SELECT CASE WHEN COLUMN1 = 'Yes' THEN - the name of the column would be here somehow?

    WHEN COLUMN2 = 'Yes' THEN - the name of the column would be here somehow?

    WHERE Column3 = 'Yes' THEN - the name of the column would be here somehow?

    Another null

    finish as abc123 columnname

    final results for the just Column1 would be:

    COLUMN1

    NULL VALUE

    NULL VALUE

    COLUMN1

    I'm not sure what I use to get the name of column in there

    Thank you.

    Hello

    708631 wrote:

    Is there a way to select the column name when there is a specific value in it?

    As follows:

    create table (abc123)

    COLUMN1 VARCHAR2 (50).

    COLUMN2 VARCHAR2 (50).

    Column3 varchar2 (50)

    );

    insert into abc123 values ('yes', 'Yes', 'No');

    insert into abc123 values ('no', 'Yes', 'No');

    INSERT INTO ABC123 VALUES ('no ',' no', 'No');

    insert into abc123 values ('yes', 'Yes', 'Yes');

    SELECT CASE WHEN COLUMN1 = 'Yes' THEN - the name of the column would be here somehow?

    WHEN COLUMN2 = 'Yes' THEN - the name of the column would be here somehow?

    WHERE Column3 = 'Yes' THEN - the name of the column would be here somehow?

    Another null

    finish as abc123 columnname

    final results for the just Column1 would be:

    COLUMN1

    NULL VALUE

    NULL VALUE

    COLUMN1

    I'm not sure what I use to get the name of column in there

    Thank you.

    Thanks for posting the CREATE TABLE and INSERT for the sample data.

    Don't forget to post the exact results you want from these sample data.  If the results depend on the parameters you want to pass a run time, then give a few different examples, with the the desired results of each.

    You can hardcode the values you want, such as the column names in a query.  For example:

    SELECT CASE WHEN column1 = 'Yes' THEN 'Column1' END like y1

    CASE WHEN column2 = 'Yes' THEN 'Column2' END like y2

    CASE WHEN Column3 = 'Yes' THEN 'Column2' END like y3

    , a. *-If wanted

    Of abc123 one

    ;

  • How the name of a link in back/write.

    myDoc = app.activeDocument.links var

    function UpdateAllOutdatedLinks() {}

    for (var i = 0; i < myDoc.length; i ++) {}

    myLink var = myDoc [i];

    $write = myLink.file.name;

    }

    }

    UpdateAllOutdatedLinks)

    This is the "myLink.file.name" that gives me bad. Should what I use to write the name of the link. Ultimately I'll send them to a table and write this table to an xml file, but for now I just need to figure out how to get out the name. Thank you.

    What is confusing, is that you use myDoc to see the links, so that most of the people (I guess) would be expected to refer to a document. It is clearer to for example use myLinks to refer to the links in the document.

    Back to their names and links. Given a document and a link (for example a graph), then this line:

    app.activeDocument.links [0] .name

    Returns the name of the graph - just the name. This line:

    app.activeDocument.links [0] .filePath

    Returns the full path.

    I noticed at the time of your line "$write = myLink.file.name'." This is another problem because $write is not a function. To display something in the console of the ESTK, use

    $.writeln (myLink.name);

    Peter

  • serching for a script to set the file name of the linked files

    Hello

    I m looking for a script that can place the filname of a linked picture. As in the example:

    Beispiel.png

    I need to create a compilation of a few photos in a single file. To distinguish the pictures I want to put the name of the file next to the image. The name of the information file that is to be placed, I have woult like to get to the link information.

    Thanks for your help!

    MS

    Hello my dear, try this:

    var myDoc = app.activeDocument;
    
    var itemPlaced = myDoc.placedItems;
    
    for ( i = 0; i < itemPlaced.length; i++ ) {
    
        var sliceString = String(itemPlaced[i].file);
        var sliceThisString = sliceString.slice(sliceString.lastIndexOf('/') + 1, sliceString.length);
    
        var Texto = myDoc.textFrames.add();
        Texto.textRange.characterAttributes.textFont = app.textFonts['ArialMT'];
        Texto.textRange.characterAttributes.size = 7.57;
        Texto.textRange.characterAttributes.alignment = StyleRunAlignmentType.center;
        Texto.contents = sliceThisString;
        Texto.rotate (90);
        Texto.top = ((itemPlaced[i].top - itemPlaced[i].height) + Texto.height);
        Texto.left = ((itemPlaced[i].left + itemPlaced[i].width) + Texto.width);
    
    };
    

    It is loop first "set items" and create it down right. Is this good?

    Best regards

    -Vinicius

Maybe you are looking for

  • mail

    I have an iMac and an iPad; I have problem with mail; Sometimes, I get an email in my iPad but not in my iMac, or sometimes I get several hours later. No idea why? Thank you André chagnon

  • I think that I was attacked

    AMD driver, display driver, point to exception stop has been reached, firefox has stopped working, etc-blue screen, I had to move to a place that has wifi, and my computer is for about 24 hours after I moved a P O S

  • Recommendation of USB data acquisition

    Hello I'm looking for a digital acquisition of data NOR-USB 12v e/s of at least 8 channels. He would be grateful if someone recommends me.

  • Publication of site Web and DNS settings

    We have two servers of domain controller and Web server. DNS is installed on the domain controller and IIS is installed and configured on the Web server. CNAME records for the site Web was created in DNS hosted on the domain controller and the site i

  • Cannot install windows live photo gallery, it says I have to sign as an administrator for the download to work

    Original title: Windows Live Photo Gallery problem I used to have Windows Live Photo Gallery on this computer and it was working fine.  For some reason, he took off.  I tried to download again and get a message that says I have to sign as an administ