find all the documents with a link specific filePath

Hello

I am trying to find the name of all the documents with a link specific filePath.

Before you run this script I need to know that nothing bad is going to pass, so please can someone give me some advice?

var myFolder = file (' A:\Work in progress/Jake/Indd files / ');
myDocs var = [];
var myFiles = myFolder.getFiles("*");

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

$.writeln (myFiles [i] p:System.NET.mail.MailAddress.DisplayName);
var doc is myFiles [i] .open ();.
links documentaries var = doc.links;
for (j = 0; j < docLinks.length; j ++) {}
If (docLinks [i] .filePath = 'A:\Work in progress\Jake\Image Links\Aqualimb 100kg\Aqua Limb.eps') {}
myDocs.push (doc.name)
}
doc. Close();
}

Try this

var myFolder = Folder ("A:\Work in progress/Jake/Indd Files/");
var myDocs=[];
var myFiles = myFolder.getFiles("*.*");
for (i=0;i 
         

Tags: InDesign

Similar Questions

  • GREP with lookaround: impossible to find all the "." with the exception of the end of the paragraph

    Hi all

    I'm actually build an expression grep to run in an InDesign document to find all the '. '. (full stop) without any whitespace that follows, except those standing at the end of a paragraph. My approach:

    \. (?! \s) (?! $)

    For some reason any '$' does not work when it is used as a negative lookahead. In the following example, only the first '. ' is found.

    test. test.test.test.

    Not used as anticipation as here...

    \. (?! \s) [^$]


    It works very well. But unfortunately I am I need the search for only the "." is divided as a result.

    I would appreciate any advice.

    Thank you very much!

    Jan

    This grep finds all the "." without space after except the one at the end of the paragraph

    (?<>

  • Script to find all the VMS with dates/no tools installed.

    Hey,.

    I need help guys.  I need a script that finds all VMS in vCenter which do not have the tools installed or tools or outdated.  I also need the script to generate the following data in a CSV file.  Name of the virtual machine and the State of the tools (not installed or outdated).

    Thank you guys.

    Good suggestion. 'Get-View - ViewType VirtualMachine' is much faster than ' Get - VM | Get-View»

    You inspired me to go at maximum speed. So I moved all the filtering also to the cmdlet Get-View. The following script is used in my environment about 30% faster than what you suggested. My first script took me 1 minute 50 seconds. Your script 1,624 seconds. And the following script 1,110 seconds in an environment with about 500 virtual machines...

    Get-View -ViewType VirtualMachine -Property Name,Guest.ToolsStatus -Filter @{
      "Config.Template"="False";"Guest.ToolsStatus"="toolsNotInstalled|toolsNotRunning|toolsOld"} | `
    Select-Object @{N="Name";E={$_.Name}},@{Name="ToolsStatus";E={$_.Guest.ToolsStatus}} | `
    Export-CSV -Path VmToolsStatus.csv -NoTypeInformation -UseCulture
    

    "Config.Template"="False" filter models so that you get only the virtual machines.

    "Guest.ToolsStatus"="toolsNotInstalled | toolsNotRunning | toolsOld" returns invited with ToolsStatus toolsNotInstalled or toolsNotRunning or toolsOld.

    Thanks to Eric Wannemacher to show me how to use regular expressions in a Get - view filter in his blogpost: VMware PowerCLI and Get-View filters.

  • PSE7: Find all the photos with a caption?

    I'm in PSE7.

    I have a subset of my pictures selected via a tag.

    Now, I want to find all images in this set which have a legend at all.

    So I do a Find / legend or note.

    Now in the next dialog is box possible I can get a wild card or something

    who will find any image that has something in it at all?

    Thanks for any help!

    You can also see the legend in the properties pane.  Not the window > properties to make the visible component and then click the arrows down double in the upper right of the pane to dock it in the keywords pane.  Now you can have several vignettes showing, and as you click on each of them, its properties (including the legend) is displayed in the properties pane.

    Another thing, you can try, if you do not use the feature of star ratings: as review you each picture, press the number 5 to set its stars out of 5 and not sure you want to change the photo.  Then, when you want to see all of the suchphotos, in the top-right search bar, click on the 5th star, and show that these photos you marked.

    A slower option is to assign a label to the photo that see you.  Then you click on the tag to see all the photos you added.

  • XPRESS code to find all the users with a specific role of admin.

    I've been playing for some time a way to get a list of all users who have received a special role of Admin. I have a role for which I would like a specific subset of users to approvers on it, and I want to greate a rule that checks for people with a special role of Admin and then return this list as people to be approvers on the role.

    I was not able to find an easy way to write this code. Any who cross this before or have another suggestion?

    Thank you.

    Below the code to find the user is based on the condition.



    : display.session
    User

    conditions


    AdminRoles
    contains
    adminRoleName




    Published by: Jay on March 7, 2012 04:03

  • remove all links is not finding all the links in my document, it works only on specific links?

    I use acrobat pro 10 and remove it all links work is not finding all the links when the document is clearly all links.

    Test thank you screen name!

    I think that I figured it out, I unchecked create hyperlinks from URLS in the preferences.

  • How to find all the old files and documents on the hard drive

    Original title: how to find a file

    How to find all THE old files and documents on the hard drive

    Hello

    -Are the old hidden files?

    I recommend you follow the steps in these articles for help.

    Show hidden files
    Find a file or folder

  • I have problems with anchors named in my htm file. I clearly identify them as being in the document (ie., internal links within the file).  When I preview the file in a browser, the links point to my hard drive, which is totally false. What do I need

    I have problems with anchors named in my htm file. I clearly identify them as being in the document (ie., internal links within the file).  When I preview the file in a browser, the links point to my hard drive, which is totally false. What should I do to change it?  I use DreamWeaver 2004 on a PC.

    You will need to correct the links that begin with "file".

    Now that your site has been defined, you just delete the bad links and DW left write the good ones for you.

    Click on the yellow folder on the property inspector, and then select the target page.

    If your site is small, you can edit the links manually (remove the part in red)

    content.htm file:///C:/desktop/localRootFolder/subfolder/subfolder/images/

    It would be useful that post you your code on the page so that we can see if you use the old technique or new for these links.

  • Find all the unique ID associated with a virtual machine

    is there some sort or any command that I could find all the unique ID associated with a virtual machine?

    I mean like ID: ID hardware, CPU ID, UUID, MAC address and etc...

    This should help you

    https://psvmware.WordPress.com/tag/VM-UUID/

  • How to find all the Subvi value changes to a control inside a cluster?

    I have a question I've had brewing for many years now, and as of today, this issue has become less philosophical for me now that I have a VI project with hundreds of screws in there to work through... If I have a cluster which is passed between/through several subVIs, is there a way to find all reads/writes to a particular control within this cluster? For example, if I use a global variable, I can find all the instances where this variable has been changed. Several times, a cluster is used to pass data instead of lots of global variables, but I know not anyway quickly find where specific parts of the latter are read or written in subVIs. Global variables becomes a headache when they are too many of them fly around, but I can't keep track of reads/writes in bunches without manually looking through a few screws hundreds that take in the cluster. Is there a function for this that I'm not aware of? I hope that this question/problem of logic. This may prompt a discussion of architecture, which I would be happy, because I will need to build projects of this scale in the future, but I think also completely stuck when the clusters are used (by me or others) to pass data autour. Thank you! John

    If you ungroup by name and bundle by name, just do a search for text to the name of the control.

  • HP Pavilion n072sy-15 Notebook PC - where to find all the drivers for Windows XP and Windows 7

    Who knows where to find all the drivers for Windows XP and Windows 7 for HP Pavilion n072sy-15 Notebook PC?

    Hello:

    XP will not install or run on a PC with an Intel 8 series chipset, so you need not be concerned with finding drivers.

    Here is the link to a template that you can use the W7 x 64 bit drivers from.

    When you install the graphics drivers, first install the Intel HD graphics driver, reboot and then install the graphics driver nVidia.

    DO NOT USE ALL DOWNLOADS OF BIOS OR FIRMWARE FROM THIS LINK

    http://h10025.www1.HP.com/ewfrf/wc/softwareCategory?OS=4063&LC=en&cc=us&DLC=en&sw_lang=&product=6521374

  • Search for all the screws with a broken arrow run

    I have a VI that search all screws in memory, and I want to modify it so that it lists all the screws with a broken arrow run. How can you check by an arrow of broken execution program? I couldn't find it in the properties of the VI.

    You can use the VI 'Execution.State' property to check the status of the vi, if the VI is broken, you will get the State as 'Wrong'

  • How to find all the my post anywhere in the forum?

    Desktop HP Pavilion Elite HPE - 110 t... Operating system: Windows 7 Home Premium

    .

    Several months ago (maybe even a couple of years), I discovered that backup/restore are not created.  At this time I posted a question here.  Which lead to a very long series of back & suite assignments between myself & a answering machine (name?) & Finally I planned a daily task to create backup/restore points.  I saved the instructions into a Word document on my computer, but now I can't find them.

    .

    I just found out that there is still no restore point, even though the Task Scheduler shows that he ran this morning @ 02:00.

    .

    I just searched (I thought that all the forums here) for my username (jarhtmd) & only found 4 son, none of whom was what I was looking for.

    .

    How to find all the my post anywhere in the forum?

    Hello:

    Click on your user name to access your user name page.

    Then click recent posts by jarhtmd. Click on view all.

    Maybe it's the post you were talking about.

    http://h30434.www3.HP.com/T5/desktop-operating-systems/scheduling-system-protection-backup-restore-points/m-p/647911#M32431

    Paul

  • I am unable to find all the programs and features in win7 as I want to uninstall yahoo messenger

    I am unable to find all the programs and features in win7 as I want to uninstall yahoo messenger

    That's what Yahoo have to say - http://help.yahoo.com/kb/index?y=PROD_ACCT&page=content&id=SLN408&actp=lorax&locale=en_US

    If the control panel is set to display the categories - programs - programs and features

    If the control panel is set to display the icon - programs and features.

    Yahoo Messenger should be in this list.

    If you say programs and features isn't in the Panel or Yahoo Messenger is installed, but not in the list, then something else is wrong.

    Try in "search programs and files" type "programs and features" (without the quotes). In the results list, you should see "programs and features" near or at the top of the list, click it.

    If Yahoo messenger is installed and will not uninstall, see the above link to the bottom of his page.

  • Adobe Muse (CC 2015.1) active not too big but still get error "The Document contains a link to an asset being non-existent".

    I receive the error "the Document contains a link to an asset being non-existent" despite the fact that the property in question has not been expanded beyond the original size. When I point to the item on the list of assets he confirms this, but he said also 'Page size point' and its dimensions are larger than the assets. I do not know what size "page" refers to, or if it has to do with the error.

    Asset.jpg

    as the error, your image to distort seen through some screens and generally making most of the images looks like *... open in photoshop (or whatever the editor floots your boat) and resize the image to have more dpi | pixels then save this image as your new.

Maybe you are looking for