How can I get the path to an image?

I have a selected Image in the page. How can I get the path to the image? I see a "name" property, but gives me just an empty string. I use CS6 and JavaScript. Thank you.

Rick

I found what I was looking for:

var chart = app.selection [0];

Alert (graphic.itemLink.filePath);

Tags: InDesign

Similar Questions

  • How can I get the green check mark image in APEX?

    How can I get the green check mark Image that appears whenever an action is processed in the APEX?  I use the Application Express 4.2.1.00.08.  I need to add the image of mark in a column on a report that shows the lines that have already been discussed.

    Can someone tell me how to do this?

    I was able to produce the report with the following:

    Select case when Status = 'closed '.

    can ''

    else ''

    end as "completed."

    'ID', 'PROJECT', 'TASKNAME', 'START_DATE', 'END_DATE', 'STATUS', 'ASSIGNED_TO', 'COST', 'BUDGET '.

    TASKS

    Once you add this column of the report, change the properties of the REPORT of the region, then the columns (filled) ATTRIBUTES and change the setting "display as" 'Standard report Column'-, this allows the browser to "make" image compared to only print the text string of the "img" tag

  • How can we get the path of the current document?

    Hello

    I want to store the path of the current document file in a string, I tried the AIDocumentSuite, and

    AIAPI AIErr(* AIDocumentSuite::GetDocumentFileSpecification) (ai::FilePath & file).

    His ended in prameter conversion error (c 2664). Can someone guide me to get the current path.

    Thanks in advance

    Farida kaid

    file ai::FilePath.

    Error AIErr is sDocument-> GetDocumentFileSpecification (line);.

    If (error! = kNoError) {}

    There was a problem
    }

  • How can I get the path to the directory of photos on the playbook?

    I'm developing a drawing application which includes a backup of the file function.  I want to save the album image in the Directory General views about the playbook. Then, the user must be able to display their picture recorded on an album in the photo directory.  I found all kinds of examples on how to do this for the shared directory app (using blackberry.io.dir.appDirs.shared.camera.path), but I have not found how to get to the general (non - specific app) directory images.  How to this directory using javascript?

    Tried it - doesn't work either.  I also tried to create a subdirectory in the shared directory / photos:

    var path = "file:///accounts/1000/shared/photos/JustDraw";
    
    if (!blackberry.io.dir.exists(path)){
           blackberry.io.dir.createNewDir(path);
       }
    

    But who doesn't either.

  • How can I get the path to the current report of TestStand.

    I need to automatically print a report of failure of TestStand. I have implemented an automatically generated file name in TS Report Options and send it to a default directory on the hard drive. The reports are generated correctly, but on a test failure, that I want to find the name of the last file so I can print it. Does anyone know how to do?

    Thank you

    Dave

    There is a way to print until execution ends.

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/5889

  • In windows movie maker, I'm trying to open an old project. It opens, but there is no video clips - only x or empty clips. How can I get the original film clips show?

    In windows movie maker, I'm trying to open an old project. It opens, but there is no video clips - only x or empty clips. How can I get the original film clips show?

    I did a movie and released a dvd. Then, I moved my files from movie on an external hard drive to store files and free up space on my computer. So I went back to try a pull up the project and got every X / white clips. So now, I rebooted my computer with the video files I removed on the external hard drive and it still shows empty clips.
    Help.

    The red Xs indicate that Movie Maker cannot find the original source files.
    If the files are still available... just right click on the red Xs and go to the
    current location of the files source and you may be able to restore the
    path.

  • How do you get the path of the data store or the URL of a virtual disk in vRealize Orchestrator?

    I need to eager zero a virtual disk while building a virtual machine. I found the eagerZeroVirtualDisk_Task() under VcVirtualDiskManager function, which takes in 2 parameters:

    name - (String) the name of the disk, is a path to the data store or a URL pointing to the virtual disk that needs to be inflated.

    Data Center - (VcDatacenter) if the name is a path of data store, the data center for the path of the data store. Not necessary when called directly on ESX. If not specified on a call to VirtualCenter, the name must be a URL.

    How can I get the correct path of data store given the virtual disk? I intend to iterate through the features of the virtual machine to get the disks.

    Thank you!

    Actually figured out how to get the path of the data store, and how a drive zeros. In case it is useful to share the code here:

    var vimHost = vm.vimHost; VM instanceof VCVirtualMachine

    var vDiskMgr = vimHost.virtualDiskManager;

    for each disk

    var features = vm.config.hardware.device;

    for each {(dev var in devices)

    dev.backing contains a lot of useful things...

    If (dev instanceof VcVirtualDisk) {}

    a disc!

    var dsPath = dev.backing.fileName;

    System.log ("path of disk:" + dsPath);

    Data var Center =

    System.getModule('com.vmware.library.vc.datastore').getDatacenterForDatastore (dev.backing.datastore);

    var vcTask = vDiskMgr.eagerZeroVirtualDisk_Task (dsPath, datacenter);

    wait

    var waitResult =

    System.getModule('com.vmware.library.vc.basic').vim3WaitTaskEnd (vcTask, true, 5);

    }

    }

  • How can I get the messages appear when sent even if my phone is locked. I only get messages across when I activate the phone

    How can I get the messages appear when sent even if my phone is locked. I only get messages across when I activate the phone

    Settings > Notifications > Messages > display on the lock screen

  • How can I get the iMovie video files in the photo library?

    How can I get the video files of "iMovie - bibliotek.imovielibrary" in the photo library?

    Is to select your library from the libraries pane and choose my brackets at the top of the screen. Then select the clips you want and share file on the desktop. Then import in photos.

  • My update to Apple Watch has suspended how can I get the update?

    My update to Apple Watch has suspended, how can I get the update?

    What do you mean by "break"?

  • How can I get the AirPort Express 1 utility generation? I lost mine.

    How can I get the AirPort Express, the utility of 1st generation? I lost mine.

    Open the App Store on your device, then press Search at the bottom of the screen.

    Then type: airport utility in the search field of the screen top.

  • How can I get the update iOS 9.3.5?

    How can I get the update iOS 9.3.5?

    Settings > general > software update

  • FireFox is no longer crash recovery of open tabs. Management of tab has changed. How can I get the old behavior?

    All my old tabs are missing after a crash. I chose "view my tabs, windows and last time ', like the start option. Many unwanted changes in tab management happened recently. For example when I close a tab in a window of the two tab, I see a blank screen (see picture). Preview display seems to be broken (see attachment). How can I get the old behaviour back?

    After researching the issue, it seems that the problem was a problem of NoScript configuration. After restoring NoScript to the default values, the tab number disappeared.

    Thanks for your help.

    MELL-

    (~ J99) Also note

    mellpell said

    Looks like it's a known problem with Image Tweek:
    http://forums.mozillazine.org/viewtopic.php?p=14029673#p14029673
    https://github.com/CAFxX/ImageTweak/issues/37
    https://github.com/CAFxX/ImageTweak/issues/40

  • How can I get the message from thunderbird to stop coming when I opened my email?

    How can I get the message from thunderbird to stop coming when I opened my email?

    Press the alt key to make the call of menu bar
    Select Tools-Options-general
    Disabled the Start Page

  • How can I get the 6 digit number to associate my watch.  It doesn't give me a 5-digit number?

    When I try to manually associate my watch it only gives me a 5 digit number, but not the number 6 to complete the pairing.  How can I get the 6 digit number?

    Hello

    When pairing manually, you must press the name of 5 digits on the screen of your iPhone (when he shows the same device name that is shown on your watch, after typed it on your watch's 'i'):

    Your watch then displays a six-digit code, you will then enter on your iPhone:

    More information:

    Set up your Apple Watch - Apple Support

Maybe you are looking for

  • AppStore does not on my Mac Pro using El captain?

    When I opened the ap store I see applications in the window and can scroll through them, but I can't click or select any thing at all, no search box, no options, no update... I can't even close it in the window, I have to close the app store app in t

  • IEnvy m4-series 1015dx

    I forgot the administrator password? I can't navigate this can someone help?

  • Acquisition of multiple simultaneous analog output data

    Hello, I'm doing a program when a user telnet to my computer and labview will recevie provided cn and analyze. then, he deciphers the emssage find what analog output it trying to change and then change it. I all the work, but I get error 50103 who sa

  • Table Partition 2003 server may be corrupt.

    Two partitions on a volume of Server System 2003 (disc 1) show the same drive letter C.  Content of the partition mirrored each other, but they are not reflected in disk management. I want to delete the second partition to have just a single partitio

  • get rid of the logarithmic stop exercising

    Just got the new computer (YAY!), Win7 Pro.  However, whenever I want to do something like change the size of icons or something, I have to sign out and then sign in again to make the change.  How can I do so that I can just do it and I do not go thr