How to find the linkname based on its ractangle?- indesign cs2- js?

i selected the rectangle , which holding one image init, i cant able to get the image name, how to solve this in indesign cs2?
-thanks
subha

myRect.graphics[0].itemLink.name;

Similar Messages

  • How to find the glyphs character using js in indesign cs2?

    i want to find whether the glyphs character(registered trademark symbol)is applied with character style superscript or not, i cant able to fix the glyphs character in the find preference, how to do it?
    thanks
    subha

    You are mixing two concepts. There is a
    i major
    difference between a
    b glyph
    and a
    b character.
    A glyph is any singular graphic in a font.
    A character is an instance of a character set (in InDesign, and in Mac OS X, it's the Unicode set; older programs use 'code pages' to translate codes into characters). [*]
    Why are they different? Well, a ligature ('ffi', for example) is not a single character, containing the characters 'f', 'f', and 'i'. It
    i is
    a single glyph in most fonts, but (usually!) you cannot insert an 'ffi' directly. Programs that do allow insertion of glyphs (again, such as InDesign) are also smart enough to decompose it into single characters 'f', 'f', and 'i' again.
    Why is this distinction important? In CS2, you can search for
    i characters
    but not for
    i glyphs
    (in CS3 and higher you can, but you cannot specify "+superscript").
    All aside, you can insert a trademark character directly into InDesign by calling up the Glyphs :-) panel and double-click the glyph. (It works because the 'TM' is also a valid Unicode character.) Then just cut it, and paste into the 'Find' field of the Find Text box. Alternatively, since you can see the Unicode value in the Glyphs panel, you can enter the Unicode directly into the search field, surrounded by less-greater than: < 2122 > (without the spaces). This works for all Unicode characters.
    Even better is that the character is also in the Find drop down menu -- "Registered Trademark Symbol". This inserts the shortcut "^r" in the Find box -- but it only works for a selected set of characters.
    Since this is the Scripting forum, I'm guessing you want to use this in a script. Well, both "< 2212 >", and "^r" can be used in the search string to specify the character. Do the search and examine for each found item if it has a position Superscript or not.
    [*] Post-edit: to expand a bit more, a table in the font associates Unicodes (character values) with glyphs, not the other way around. Every Unicode character available in the font associates to at least one single glyph. There may be more Unicodes than glyphs in a font (there is no law against associating more than one Unicode to a glyph -- for instance, both 'space' and 'non-breaking space' point to a single space glyph), and there may also be more glyphs than Unicodes (the 'ffi' glyph has a Unicode value -- now considered an early error in the Unicode definition! -- but the 'Th' glyph does not). Most programs only allow Unicode characters in text.

  • How to find the material based on the division.

    Hi All,
    My requirement is to read the all the material(products) in the division.
    I have executed  transaction code:COMMPR01 and seen division field  in material tab.
    I found the table CRMC_DIVISION but i did not find any maetial.
    Please help me how to find the PRODUCT in the division.
    Thanks,
    Venkat

    Hi Venkat,
    There are three tables that you need to refer to get the products for a particular division in CRM.
    1. Go to table COMM_PRMAT, pass the division and get the Set Guid for all the products
    2. Go to table COMM_PR_FRG_REL, pass the Set Guid and get the Product Guid of all the products.
    3. Go to table COMM_PRODUCT , pass the product guid and get the list of product ID which belongs to that particular division.
    I hope this will help you.
    Regards,
    PP

  • How to find the sum based on two variables

    Hello!
    I have just started using Numbers, I have a spreadsheet which lists a number of transactions.
    On my chart I have Columns "Date", "Memo", "Type", and "Amount".
    The Type column is a drop down list. What I want to do and find the sum for transactions that fall between a date range (i.e. months 1-3) and that match a certain "Type". I can figure out how to use the sumif function to find the sum for a date range, however I cant figure out how then to only sum only those that match a type.
    Any help?

    Brendon,
    This question arises from time to time in different situations. The answer is to first create an auxiliary column which calculates whether or not your multiple conditions have been met. In this case you have three - more than or equal a start date, less than or equal an end date, and a "Type".
    I'm assuming that your dates and "type" are flexible, so an extra table to enter your search data is shown below, but these three cells could be incorporated in your main table. The formula for the auxiliary column is:
    =IF(AND(Date>=Search Range :: A$2,Date<=Search Range :: B$2,Type=Search Range :: C$2),"SUM","")
    All rows with the word "SUM" satisfy the three conditions. The footer row contains the sum of the values meeting the desired conditions using:
    =SUMIF(Aux, “SUM”, Amount)
    Obviously this has to be reworked to your situation, but the auxiliary column is the key.
    pw
    Message was edited by: pw1840

  • How to find the Service order and its status..

    Hello,
    How see the status of the service order...
    i have to search for all the service orders where all of them completed once....
    which tables, fields are useful.
    Please help to solve this issue.
    thanks for yoru cooperation

    Hello Gun,
    How to see the status desciption for example
    I1005
    I1004
    I1002...etc
    waht I1005 means. I have to display status of each service order in the list , here i can not display I1005 is the status, instad i have to diplay I1005's desciption.

  • How to find the queries based on the hierarchy

    Hi experts,
    Many queries are using one hierarchy.now I want to know which queries are using this hierarchy. How to make it? Thank you.
    Best regards,
    Gavin

    Under this object check where used list. Then you should get the list of queries where this hierarchy is used.
    Regards
    Rohini

  • How to find the Sum based on Like Dates

    Hello everyone,
    Column 1 contains "Date Sent", Column 2 contains "Dates of Service" and Column 3 contains the payment "Amount" in USD. I want to write a formula that will total up the sum of payment values from column 3 based on the date of payment (Column 1).
    Thanks!
    Jared

    Hi Jared,
    This will do what's illustrated in your example, but has a few restrictions:
    The dates must run in ascending order.
    To get a total for the last date, a later date (with no corresponding amount) must be entered after the last transaction.
    Formula:
    Entered in D2, and filled down the rest of column D:
    =IFERROR(IF(A3>A2,SUMIF($A,A2,C),""),"")
    IFERROR is used to suppress the error message that arises from the formula in D10 referencing a cell in D11.
    Regards,
    Barry

  • How to find the avg salary of first 3 employees based on each department?

    how to find the avg salary of first 3 employees based on each department?

    Hi,
    Do you mean something like this?
    with a as
    select
      deptno
      ,sal
      ,row_number() over ( partition by deptno order by sal desc) rn
    from
      emp
    select
      deptno
      ,round(avg(sal)) avg_sal_of_top_3
    from
      a
    where
      rn <= 3
    group by
      deptno
    order by
      deptno
    DEPTNO AVG_SAL_OF_TOP_3
        10             2917
        20             2992
        30             1983
    If not please give more details.
    Regards,
    Peter

  • How to find the application type fora Script based on Form name?

    Hi Guys,
                can anybody tell me how to find the Application Type and output type based on Form name and print program name?
    I am having form name as: ZINVENT (INVENT is the actual) and program name as RM07IDRU.How can i find the Appliction ntype and OutType for entering into the NACE tr code.
                    i tried thru TNAPR table but i was not able to find the Entry in the TNAPR with form Name and printprogram name
                   Th Script is about Phsical inventory Documents.
    Thanks,
    Gopi.

    You can use this...
    REPORT  Z_DUMMY_ATG NO STANDARD PAGE HEADING.
    *======================================================================
    * Tablas
    *======================================================================
    TABLES: TTXFP.
    *======================================================================
    * Tablas Internas
    *======================================================================
    DATA: T_TTXFP TYPE STANDARD TABLE OF TTXFP WITH HEADER LINE.
    *======================================================================
    * Selection-Screen
    *======================================================================
    SELECTION-SCREEN BEGIN OF BLOCK SCRIPT WITH FRAME.
    SELECT-OPTIONS:
                  PRINTNAM FOR TTXFP-PRINT_NAME,
                  TDFORM   FOR TTXFP-TDFORM.
    SELECTION-SCREEN END OF BLOCK SCRIPT.
    *======================================================================
    * Start-of-selection
    *======================================================================
    START-OF-SELECTION.
      PERFORM SELECT_DATA.
      PERFORM PRINT_DATA.
    *&      Form  SELECT_DATA
    *       Seleccionamos los datos del reporte.
    FORM SELECT_DATA.
      SELECT TDFORM PRINT_NAME LAST_PROG
      INTO TABLE T_TTXFP
      FROM TTXFP
      WHERE PRINT_NAME IN PRINTNAM
        AND TDFORM IN TDFORM
      ORDER BY TDFORM.
    ENDFORM.                    "SELECT_DATA
    *&      Form  PRINT_DATA
    *       Imprimimos el resultado del reporte.
    FORM PRINT_DATA.
      FORMAT COLOR 3.
      WRITE: 'Programa', 18 'Formulario', 50 'Flag de Ultimo programa'.
      FORMAT COLOR OFF.
      SKIP 1.
      IF NOT T_TTXFP[] IS INITIAL.
      SORT T_TTXFP BY PRINT_NAME.
        LOOP AT T_TTXFP.
          IF T_TTXFP-LAST_PROG EQ 'X'.
          FORMAT COLOR 4.
          WRITE:/ T_TTXFP-PRINT_NAME, 18 T_TTXFP-TDFORM, 60 T_TTXFP-LAST_PROG.
          FORMAT COLOR OFF.
          ELSE.
          WRITE:/ T_TTXFP-PRINT_NAME, 18 T_TTXFP-TDFORM, 60 T_TTXFP-LAST_PROG.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    "PRINT_DATA
    Greetings,
    Blag.

  • How to find the Org.key based on Job key and Org Unit.

    Hi,
      Please Let me know how to find the Org.Key based on the Job Key and org Unit.
    Regards
    nagendra.

    On recent ThinkPad, the Product ID Key sticker has been moved from the bottom of the unit to behind the battery.
    You need to contact Lenovo technical support directly to ask about recovery media.

  • How to find the Adobe barcode name for its corresponding SAP Script barcode

    Dear All,
    We are doing conversions from SAPScript to Adobe forms.
    The barcode used in two sapscript forms are 'BC_CD39' and 'ARTINR' respectively .
    I would like to know the corresponding barcode name to be assigned to Adobe forms as the above barcode names are not present in the Object Library-> Barcode section of Adobe forms.
    regards,
    PP

    >
    Muralidhar Medisetty wrote:
    > Hi,
    >
    > I had an issue, in the transaction F110  Payment advice. They need to adjust the spacing on the cheque printing, which is overlapping the names on the cheque and hence I have forgotten how to find the form name and the driver program of the script. Can anybody suggest me how to find those. Your help will be appreciated.
    >
    > Thanks in advance.
    hey
    NACE is the transaction ..for this u must know the output type..
    Script for Cheque Printing and Payment Advice can be known from Transaction FBZP...
    FBZP -> paying Company Codes -> u will get Script used for Payment Advice
    FBZP -> Pmnt methods in company code -> u will get Script used for Cheque Print
    ....Give points if useful.....
    Edited by: Satyabrata sahoo on Oct 14, 2008 4:42 PM

  • How to find the downloaded file. its not in the "downloads".

    how to find the downloaded file?

    Open Finder, and type "Today" in the search area in the upper right of Finder's window.
    Then click "Today" under "Dates" in the resulting drop-down menu.

  • How to find the start condition of a ABAP program?

    Hello Gurus!,
    Could any one please explain how to find the start condition of a ABAP program?
    like its a event based or time based?and also how to find that event and time..
    Thanks in Advance...
    Dinakar

    Hi Dinkar,
    Go to Job Schedule, put Job Step parameter as your program and see scheduled Job.
    In Schedule Job double click to see start condition. and steps to see details and variant.
    Hope it helps.
    Thanks
    CK

  • How to find a materail based on Sales Area ??

    Dear All,
    How to find a materail based on Sales Area ??
    please let me know ..
    Thanks
    Venkat

    Hi Venkat
    Its actually the other way round- you extend a material to a sales area
    The quickest way to find all the sales areas to which a material is extended,  is to go to  transaction SE16 and give table MVKE and then give the relevant parameters.
    Please reward points if this helps you

  • How to find the number of times method being called.....

    hi,
    can any one pls tell me how to find the number of times the method being called......herez the example....
    Refrence ref = new Refrence();
    for(int i = 0;i < arr.length; i++){
    if(somecondition){
    ref.getMethod();
    here i want to know how many times the getMethod() is calling...Is there any method to do this.. i have seen StrackTraceElement class..but not sure about that....pls tell me the solution....

    can any one pls tell me how to find the number of times the method being called......
    herez the example.... http://www.catb.org/~esr/faqs/smart-questions.html#writewell
    How To Ask Questions The Smart Way
    Eric Steven Raymond
    Rick Moen
    Write in clear, grammatical, correctly-spelled language
    We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding (often enough to bet on, anyway). Answering questions for careless and sloppy thinkers is not rewarding; we'd rather spend our time elsewhere.
    So expressing your question clearly and well is important. If you can't be bothered to do that, we can't be bothered to pay attention. Spend the extra effort to polish your language. It doesn't have to be stiff or formal ? in fact, hacker culture values informal, slangy and humorous language used with precision. But it has to be precise; there has to be some indication that you're thinking and paying attention.
    Spell, punctuate, and capitalize correctly. Don't confuse "its" with "it's", "loose" with "lose", or "discrete" with "discreet". Don't TYPE IN ALL CAPS; this is read as shouting and considered rude. (All-smalls is only slightly less annoying, as it's difficult to read. Alan Cox can get away with it, but you can't.)
    More generally, if you write like a semi-literate b o o b you will very likely be ignored. So don't use instant-messaging shortcuts. Spelling "you" as "u" makes you look like a semi-literate b o o b to save two entire keystrokes.

Maybe you are looking for