I want to find the image tag name from Image layer name InDesign JavaScript?

I want to find the image tag name from Image layer name InDesign JavaScript?

Hi,
You can use following script to fetch image tag name and the layer name on which it lie:
var imgBox = app.activeDocument.rectangles // fetch all rectangular frames from the active document
for(var i = 0; i< imgBox.length; i++)
  if(null != imgBox[i].associatedXMLElement )
            var b = imgBox[i]
           alert("Image tag name "+imgBox[i].associatedXMLElement.markupTag.name + "\n exist on layer " + imgBox[i].itemLayer.name)
Hope this would help you to resolve your problem.

Similar Messages

  • I want to find the vendor balance as from fbl1n?

    Hi all,
    I am preparing a report where I need to get the vendor balance till date, for a particular employee, as I see in t-code fbl1n.
    Can anyone specify how can i get that in my report , where it is stored???
    Also I checked out t-code pc00_m40_term, where there is notice date and relieving date of employee.
    The relieving date is stored in pa0000, but where is this notice date stored, actually this is the resignation date, and i want it in my program.
    Any help would be highly appreciated.
    Regards
    Tarun

    Hi Tarun,
    I think you have to choose wrong forum.
    T-Code is related to SAP R/3 and its SAP B1 forum.
    choose right forum to get desired result.
    Thanks,
    Srujal Patel

  • How to Find the XML Tag in indesign

    HI!!<br /><br />We are working with XML work flow in indesign. In indesign how could we find the XML Tag in indesign.<br /><br />Example::<br />In the Below list we could have to find the xml tag <chapter> in story editor or in the main text frame in indesign using find option. Kindely sent if any Plugins is available.<br /><br />For exmaple:<br />************<br /><book><br /> <part><br /> <chapter><br />  <head><br />   <para><br />    <bold><br /><br />Thanks,<br />C.K.Venkatesan

    I imported the xml file in vb.net. now i want to find the number of pages and no. of elements. i found out it. but i was not able to find which elements are placed in which page. i want that information. plz kindly help. i am using vb.net. for eg. <ce:figure> placed in which page no., <ce:sections> placed in which page no., etc..,

  • Want to find the screen exits in VA01 and VA02

    Hi All,
      I want to find the screen exits in VA01 and VA02.
      How to find these screen exits.
      Actually i wnat to add a new custom field to the Additional data B tab on the header of VA01 transaction code.
    Now intially i want to know whether there are screen exits in VA01 transaction code ?If yes please provide the names?
    Please help me regarding this.

    Please check this
    http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm
    The SAPMV45A , 8309 screen is the Additional Data B tab  to add your custom fields . To capture the data from this custon field you can use
    the user exit MV45AFZZ, USEREXIT_SAVE_DOCUMENT_PREPARE OR
    USEREXIT_SAVE_DOCUMENT depening on your functionality.
    Thanks
    Vinod

  • How do I find the screen with my personal iPod (my name's iPod) so I can download from my purchased or free songs/pods from my computer? My iPod has opened to that for 3 years and this week I can't find it: not on purchased page or on Apple store page.

    QUESTION from an American in India:
    How do I find the screen with my personal iPod (my name's iPod) so I can download from my purchased or free songs/pods from my computer? My iPod has opened to that for 3 years and this week I can't find it: not on purchased page or on Apple store page.

    See:
    Recovering your iTunes library from your iPod or iOS device: Apple Support Communities

  • Is it possible to find the meta tags used in a different website?

    I have a potential client that wants to know the meta tags used in a different site from his own. Is that possible?

    View page source in browser.  FYI: Major search engines don't pay attention to Meta keywords.  So I don't think there's much to be gained from this.  What matters most is the actual page content.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • HT201441 my friend found this ipod touch 5g and its in find my ipod mode it say the ipod is currently linked up to other apple id so i want to find the owner or learn how to take that off

    my friend found this ipod touch 5g and its in find my ipod mode it say the ipod is currently linked up to other apple id so i want to find the owner or learn how to take that off

    The Apple ID is an email address. Simply email the person at that email address.
    If not successful, turn the iPod in to the police.

  • I want to find the difference(duration) between logon and logoff time?

    i want to find the difference(duration) between logon and logoff time of below table?
    can any one tell the query to find using self join?
    USR     LOGON_TIME     LOGOFF_TIME
    HR     31-AUG-04 03.04.04.000000 AM     -
    HR     - 31-AUG-04 03.04.14.000000 AM
    Edited by: 794244 on Nov 1, 2010 10:47 PM

    No selfjoin, just analytical functions.
    CREATE TABLe log_time
    (username varchar(20),
    LOGON_TIME timestamp,
    LOGOFF_TIME timestamp);
    insert into  log_time (username,LOGON_TIME,LOGOFF_TIME) values ('HR',sysdate,null);
    insert into  log_time (username,LOGON_TIME,LOGOFF_TIME) values ('HR',null,sysdate+1/38);
    insert into  log_time (username,LOGON_TIME,LOGOFF_TIME) values ('HR',sysdate+2,null);
    insert into  log_time (username,LOGON_TIME,LOGOFF_TIME) values ('HR',null,sysdate+2+14/20);
    commit;
    SELECT username,logon_time,logoff_time, my_logoff_time, my_logoff_time -logon_time,
           time_to_sort
    FROM (
            SELECT username,logon_time, logoff_time,
                   LEAD(logoff_time,1,logon_time) OVER (PARTITION BY username ORDER BY time_to_sort) my_logoff_time,
                   time_to_sort
            FROM (SELECT username,logon_time,logoff_time,NVL(logon_time,logoff_time) time_to_sort
                  FROM log_time)
    where LOGON_TIME is not null     
    ORDER BY  time_to_sort; 
    USERNAME     LOGON_TIME     LOGOFF_TIME     MY_LOGOFF_TIME     MY_LOGOFF_TIME-LOGON_TIME     TIME_TO_SORT
    HR     02.11.10 11:34:56.000000000          02.11.10 12:12:50.000000000     0 0:37:54.0     02.11.10 11:34:56.000000000
    HR     04.11.10 11:34:56.000000000          05.11.10 04:22:56.000000000     0 16:48:0.0     04.11.10 11:34:56.000000000But, if that code which fills that table should better UPDATE than INSERT. You can cover much more issues. (e.g the DB crashes and you get 2 logon but no logoff in a sequence and.....)
    -- andy

  • Want to find the list of Thermal Printer pass the MFI program!

    Want to find the list of Thermal Printer pass the MFI program!
    Did Apple have any list list out  the Device which pass the MFI program? I want to find some Thermal Printer pass MFI.
    Thank you very much!!!^^

    Must be a fairly short list - world's first reportedly released just 8 weeks ago...
    GeBE-FLASH® for iOS: Thermal Printer Innovation for iPhone, iPod ...

  • I want to find the material which consists in multiple plants?

    i want to find the material which consists in multiple plants?
    how to do that?
    Regards,
    Swathi

    Dear,
        I don't think you have to segregate in t code mm60  & execute then you saw material used more than one plant  are coming at a time .
       amin

  • I WANT TO FIND THE EXPIRY MATERIAL LIST DATE WISE

    I WANT TO FIND THE EXPIRY MATERIAL LIST DATE WISE

    Hi Prashant,
    Use TC - BMMC (Batch Cockpit)
    or Find all TC in one place
    SAP Easy Access
    Logistics
    |____ Central Functions
            |_________Batch Management  (Here you find all and suit your requirment)
    Note: Please assign valuable point in orde to encourage contributors for every answer to your queries.
    Best Regards,
    Silky

  • Want to find the Data type of a variable at runtime ?

    Hi,
    I Want to find the Data type of a variable at runtime ?
    I think there is a function module... But i forgot ..... Can you please help me out.
    Points are rewarded immediately.

    hi,
    do this way
    REPORT ysantest LINE-SIZE 350.
    DATA : v_num TYPE n,
    v_type(2).
    DESCRIBE FIELD v_num TYPE v_type.
    WRITE : v_type.

  • Hi, i want  to find the difference in days of two students Date Of Birth

    hi, i want to find the difference in days of two students Date Of Births
    how can i find.
    please help me

    i didn't find what u saidLet me help you:
    http://onesearch.sun.com/search/onesearch/index.jsp?qt=difference+between+dates&subCat=siteforumid%3Ajava54&site=dev&dftab=siteforumid%3Ajava54&chooseCat=javaall&col=developer-forums

  • HT1711 how do I find the top 5 songs from a single artist!!

    How do I find the top 5 songs from a single artist?

    If you have unchecked the compilation tag on the CD tracks before you ripped them, then what you are describing shouldn't be happening. Are you sure you are unchecking the compilation tag for all of the tracks on the CD before you rip them?
    Unfortunately, you cannot change the default directory structure that iTunes rips albums into. You can feel free to move files after they are ripped, but iTunes will always rip them into its Artist/Album/Track #_Track Name format.

  • How do i find the music i sync from my ipad to imac

    how do i find the music i sync from my ipad to imac

    How did you sync the music from the iPad to the iMac? Did you plug the iPad in and choose File -> Transfer Purchases from <name of iPad> in iTunes?
    B-rock

Maybe you are looking for

  • How to use the Dekstop Action in desktop files.

    I just recognized that desktop files can contain cool actions like e.g shutter: 20 [Desktop Action Redo] 21 Name=Redo last screenshot 22 Exec=shutter --redo 23 OnlyShowIn=Unity; 24 25 [Desktop Action Select] 26 Name=Capture an area of the screen 27 E

  • How to Delete FBL1N layout

    Hi Gurus, I created a layout for FBL1N but now the user wants it deleted or re-named. I do not have the admin rights and also I do not have "layout management" button. Any other way to delete or rename the layout? Thanks in advance

  • Export/Import from Oracle8 to Oracle7

    When I export tables from an Oracle8 database it says after exporting sucessfully: "Export done in WE8ISO8859P1 character set and WE8ISO8859P1 NCHAR character set". (NLS_LANG = GERMAN_GERMANY.we8iso8859p1 at both systems.) When I try to import the du

  • Abstract Classes & Interface Classes

    Dear members of the Sun Community My studies are progressing and just 1 period ago we started doing Object-Orinted Programming in Java and I must say I'm quite fond of it. It's become quite clear that OOP is an important aspect of Programming and jus

  • Error Message 4265

    I recently installed iTunes V9.0 and since that time I continue to get the error message "The attempt to burn a disk failed. An unknown error occurred (4265). I have never had problems burning disks with previous versions of iTunes so what is the dea