How to add textframe with anchor to each para end

I want to add textframe to each paragraphs end with anchor. Can anyone help on this?

Hi N!mal,
please try the below JS code.
app.activeDocument.stories.everyItem().paragraphs.everyItem().insertionPoints[-1].textFrames.add()
thx,
csm_phil

Similar Messages

  • How to add docentry with some num.?can you solve below query   Declare @a as Numeric SET @a=14900000; SELECT (@a+($[@MAINTDCHEAD.DocEntry])as 'series no'

    how to add docentry with some num.?
    can you solve below query
    Declare @a as Numeric
    SET @a=14900000;
    SELECT (@a+($[@MAINTDCHEAD.DocEntry])as 'series no'

    Hi,
    Yes possible.
    Try this:
    Declare @a as INT
    SET @a=14900000;
    SELECT (@a+($[ORDR.DocEntry]))
    Thanks & Regards,
    Nagarajan

  • How to add effects with snow?

    How to add effects with snow like Apple does when the introduce a new product?

    Flex Builder Help. Basically pressing F1 in Flex Builder or
    Help -> Help Contents menu option.

  • How to select textFrames with tracking different to 0 (zero)?

    How to select textFrames with tracking different to zero (greater or smaller than zero)?
    Thanks.

    Hi All,
    Thanks for your help. The orignal clips are from Sony PMW F3 camera and I have got Dimensions: 1920 × 1080, Codecs: MPEG-2 Video, Linear PCM, Timecode, Color profile: HD (1-1-1), Total bit rate: 36,623.
    The other camera has given me .MTS files which I have converted in MPEG-2 also. I used Wondershare Video Converter to convert second cameras clip.
    I don't think the clips are matching with first camera's clips because still that is saying the same thing.
    Regards,
    Jai

  • How to add "prefix_" with DRMed Filename?

    Hi Jim,
    I want to know, How to add "prefix_" with file name (epub/pdf) which ACS generate after packaging. Suppose, I package a pdf file and ACS packaged it and store it on media server with the name of "98h3jkd98s79fdh93h.epub". Now I want ACS make this like "PREFIX_98h3jkd98s79fdh93h.epub".
    Is this possible, If yes please suggest me how to do this?
    With Regards,
    Mangal Kumar

    Hi Jim,
    I have passed <filename>, <location> and <src> parameter in our packaging request xml. File is packaging successfully and service is also placing the encrypted file to new location listed in <location> but following error is comming:
    <error xmlns="http://ns.adobe.com/adept" data="E_ADEPT_REQUEST_REPLAY http://myserverurl:8080/packaging/Package"/>
    My Packaging XML:
    $request ='<package xmlns="http://ns.adobe.com/adept" action="add">';
    $request .='<fileName>ISBN.pdf</fileName>';
    $request .='<location>ftp://username:[email protected]/www/pdf/[email protected]/www/pdf/ISBN.pdf</location>';
    $request .='<src>http://example.com/pdf/ISBN.pdf</src>';
    $request .='<metadata xmlns:dc="http://purl.org/dc/elements/1.1/">';
    $request .='<dc:title>BISAC SUBJECT HEADINGS</dc:title>';
    $request .='<dc:creator>Book Industry Study Group, Inc.</dc:creator>';
    $request .='<dc:format>';
    $request .='application/pdf';
    $request .='</dc:format>';
    $request .='<dc:publisher>Book Industry Study Group, Inc.</dc:publisher>';
    $request .='<dc:language>en</dc:language>';
    $request .='</metadata>';
    $request .='<permissions>';
    $request .='<display>';
    $request .='<device/>';
    $request .='</display>';
    $request .='</permissions>';
    $request .='<dataPath>C:\books\ISBN.pdf</dataPath>';
    $request .='<expiration>'. $expiration .'</expiration>';
    $request .="<nonce>" . $nonce . "</nonce>";
    $request .='</package>';
    Please suggest me why the "E_ADEPT_REQUEST_REPLAY" error is comming.
    I am waiting your reply...
    With regards,
    Mangal Varshney

  • How to add date with month after convert number to month?

    How to add date with month after convert number to month?
    Month Date Result
    24 21/11/09 24*(21/11/09)
    I want to add both the column and result should be 21/11/11
    Thanks
    Nihar

    Hmm,
    Because, you are using YYYY for '09'.
    SQL> ed
    Wrote file afiedt.buf
      1* select to_char(to_date('10/01/09','DD/MM/RRRR'),'DD/MM/YYYY') from dual
    SQL> /
    TO_CHAR(TO
    10/01/2009
    SQL> ed
    Wrote file afiedt.buf
      1* select to_char(to_date('10/01/09','DD/MM/YYYY'),'DD/MM/YYYY') from dual
    SQL> /
    TO_CHAR(TO
    10/01/0009Or with Add_months
    SQL> ed
    Wrote file afiedt.buf
      1* select to_char(add_months(to_date('10/01/09','DD/MM/YYYY'),36),'DD/MM/YYYY') from dual
    SQL> /
    TO_CHAR(AD
    10/01/0012
    SQL> ed
    Wrote file afiedt.buf
      1* select to_char(add_months(to_date('10/01/09','DD/MM/RRRR'),36),'DD/MM/YYYY') from dual
    SQL> /
    TO_CHAR(AD
    10/01/2012-Arun

  • How to add af:inputFile dynamically within each row of table?

    I need to add af:inputfile dynamically within each row of af:table, when the user hits a commandlink at the bottom of each row.
    I have tried wrapping af:inputfile with af:foreach:
    <af:table value="Bean.rows" var="row">
    <af:column>
    <af:forEach step="1" begin="1"
    end="#{Bean.filecount}">
    <af:inputFile label="Please upload a file"
    id="1"
    valueChangeListener="#{Bean.onClickUpload}"/>
    </af:forEach>
    <af:commandLink text="Add more file" id="cl3" actionListener="#{Bean.onAddFile}"/>
    </af:column>
    </af:table>
    in Bean.onAddFile, I have:
    public void onAddFile(ActionEvent event){
    filecount++;
    It works but there's no independent control of each row. When I click one commandlink, All rows now have 2,3,.... af:inputFile. The change affects all rows.
    The requirement should be that when I click one commandlink in a row, only that row shows additional af:inputFile.
    So why not leverage the row variable of the table, right? That's what I did, I changed the end attribute of foreach to the following:
    <af:forEach step="1" begin="1"
    end="#{row.fileRowCount}">
    the backing bean method changed to the following:
    public void onAddFile(ActionEvent event){
    int filerowcount = (Integer)JsfUtil.resolveExpression("#{row.fileRowCount}");
    Integer newcount = filerowcount+1;
    JsfUtil.setExpressionValue("#{row.fileRowCount}", newcount.toString());
    Note that "row" refers to an object that has a int field called "filerowcount". And the initial value is "1".
    Just for testing, I also added <af:outputText value="row.filerowcount"/>, to see if the count is what I expected it to be.
    I didn't see the any af:inputfile this time, but the outtext is showing the filerowcount properly. When I click the commandlink, the number changed to 2,3,..... Also in the backing bean newcount and filerowcount is incrementing correctly.
    I know the begin, end attribute means the index of a for loop. So I changed begin="0", it now shows one row of af:inputfile, but when I click the commandlink, no additional rows are shown. (Although the outputtext of filerowcount keeps incrementing as expected.
    So to sum up, the END attribute of af:foreach row CAN pick up the value from the backing bean and render af:inputfile dynamically, but it CANNOT pick up the value from the the field in VAR object of a table.
    Is is a known issue? Or I did something by mistake.
    Is there any other way to add af:inputFile dynamically within each row of table?
    Any advice/comment is appreciated.

    Hi,
    here is how it goes:
    - add an af:inputFile to the column and set its rendered property to point to a managed bean property. The managed bean property has a default value of "false" and the bean should be in viewScope
    - create another variable that holds the row number that should show the inputFile component. This is updated by the command link and evaluated by the get method of the managed bean property controlling the inputFile visibility
    - Define a property name for the table varStatus property
    - For the command link, define a attribute f:attribute with the name rowNumber and set its value to #{varStatusPropertyName.index}
    - define an action listener for the command link
    public void showInputFile(ActionEvent actionEvent){
    int rowNumber = ((RichCommandLink) actionEvent.getSource()).getAttributes().get("varStatusPropertyName");
    //set the value on the internal variable
    - In the getter of the property that defines the render value of the inputFile, use code like this
    public boolean get<whatever name you use>(){
    //access the following EL from Java #{varStatusPropertyName.index}
    int currentRenderedRow = <EL result here>;
    // compare the current row index with the one set by the command link, which is stored in the variable of the managed bean
    if true return true
    else return false
    - Set the PartialTriggers property of the table to point to the commandLink ID so the table is repainted when the command link is pressed
    This should then render the fileInput component for a single row (the one you clicked the command link in)
    Frank

  • How to add new fields in the EBP front end..

    Hi All,
    Can any one let me know the process of how to add new fileds in the shopping cart creation screens by using the "Tag Browser" option in the Object navigator.
    Best Regards,
    Mahesh. J

    Hi
    <b>Please go through the following links for more details and examples -></b>
    http://help.sap.com/saphelp_47x200/helpdata/en/a2/8c6eeb2d8911d596a000a0c94260a5/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/d3/5ecbe22a8a11d5991f00508b6b8b11/frameset.htm
    This will definitely help.
    <u>For adding customer fields to the Shopping cart, you need to refer SAP OSS Bote 672960 and 485891.</u>
    Do let me know, incase you need any other details.
    Regards
    - Atul

  • How to find Stock with Customer as on Month End : 01/30/2009

    Hi All,
    i have a requirement where in my report output it has to display the details as shown below
    Stock with Customer as on Month End : 01/30/2009
    Material                          Qty
    Pallet                        xxxxx
    Cover sheet        xxxxx
    For this requirement do let me know is there any standard bapi,program or how to proceed.

    Hi Kumar,
    Please find the link below
    [Bapis|Re: Need a BAPI or Function Module for Checking Material Stock]
    [Link1|Re: Function module to get the month name when start date and end date given]
    [Link2|Getting Last Month End date]
    Hope they are very Useful
    Thanks
    Kalyan

  • [cs3 vba] How to move textframe with TOC generated?

    I read one answer here, that "CreateTOC" give reference for story. But how can i use this reference?
    line
    myDoc.CreateTOC MyTOCStyle, True, , Array(20, 90)
    do not give any possibility to have textframe as object.
    I need this, because:
    myInd.ActiveWindow.ActivePage = myDoc.Pages.Item(3)
    myDoc.CreateTOC MyTOCStyle, True, , Array(20, 90)
    generates TOC only on page 2.
    If i write myDoc.Pages.Item(5) - only on page 4 and so on.
    So i would like to move TOC frame on needed page.
    P.S. I have "ruler on spine".
    Thanks.

    I did this procedure to get TOC frame (PageItem with max ID):
    myDoc.CreateTOC MyTOCStyle, True, , Array(20, 90)
    k = 0
    For Each mItem In myDoc.Pages.Item(2).PageItems
    mItNum1 = mItem.ID
    If k = 0 Then mItNumMax = mItem.ID
    If mItNum1 > mItNumMax Then mItNumMax = mItem.ID
    k = k + 1
    Next mItem
    Set mTOCFr = mPage.PageItems.ItemByID(mItNumMax)

  • How to add a delete button on each row of the table.

    i create a table with a list , and i add a new column.
    and then i drag a delete botton from the list operation to the column.
    when i create several rows. and click any delete botton of the new created rows. all the new created rows will be deleted.
    rows that already exist when the page render are not influenced.and when i click these rows' delete botton,
    just the current row will be delete.
    that's because when i click the new created rows' delete botton,all the new created botton in this column will automatically be clicked.
    i think adf consider all the delete botton are the same one.
    is it the table bug? please tell me how to resolve this problem. thanks.
    Edited by: 917391 on 2012-3-21 下午6:53
    Edited by: 917391 on 2012-3-21 下午10:07
    Edited by: 917391 on 2012-3-21 下午10:16

    i don't use the adf BC, so it is not a VO. it's just a service method that return a list.
    and i create the datacontrol and drag it to the page.
    Edited by: 917391 on 2012-3-21 下午10:26

  • How to add attachments with replying emails

    I  synced my gmail with iphone. I am replying to an email by using reply / reply all option, how do i add an attachment(photos/pdf inside the phone) to this email being replied.

    You can't add an attachment in Mail, you can send photos within the photo app or send PDFs within apps like Docs toGo.

  • How to append parameter with URL for each record in table control?

    Hi,
    I have one table control which contains 5 columns.
    (tripno, startdate, destination, reason, activities)
    In 5th column, i need to display URL for each record.
    for ex:
    www.abc.com/test?tripno=1
    www.abc.com/test?tripno=2
    www.abc.com/test?tripno=3
    when user clicks a particular hyperlink, it navigates to another page/component thru URL with one key field(tripno) to retrieve related records in next page.
    1) i am not able to assign tripno to each record. when i assign tripno, its taking the last value which i assigned. ie. tripno=3 only.
    How to assign URL to Reference field of LINK_TO_URL element at run time?
    OR
    2) we can do like this.
    Simply assign url to reach record without key field.
    www.abc.com/test
    www.abc.com/test
    www.abc.com/test
    when user clicks a particular link, we can assign corresponding key field to the URL.
    Where should i write this event? Bcoz, LINK_TO_URL doesnot have event.
    how to do?

    Hi MOg.
    Not sure whether I understand you .. but in the 5th column you want to have the reference URL. Is this the activities columen from you example?
    Nevertheless, you need a attribute (String) in your context node which contains the URL. Bind this to the reference filed of linktourl. If you can not extend the structure you can create a sub node (cardinality 1:1)  which contains the refernce attribute.
    Then loop over all elements and concatenate www.abc.com/test?tripno= with the tripno of the current element into the reference field.
    Hope tis helps,
    Sascha.
    Bind the

  • How to add buttons with links to different pages in my flash document?

    Hi I created a template for my flash animation which is a simple content box and a scroll bar beside it.. Anyway at the top I also have 3 pages (they are currently just part of the png background image so they are not buttons of any sort).. My question is how can I make links to these different pages so when clicked in the flash animation they will just open normally like they would in like a website..
    I am a flash beginner so I'm not too technical with it... I don't know if I would have to create 3 seperate documents for my 3 pages or something else?
    Thanks!

    Do you expect the loaded SWF to load "into" the SWF that contains the buttons or are you expecting it to overwrite the existing SWF you're already in (similar to a web page)?
    Loading a SWF inside is pretty straight forward, as long as the SWF is on the same domain or the domain you're loading from has a crossdomain.xml policy allowing it and the SWF is set to publish with the networking sandbox:
    import flash.display.Loader;
    import flash.net.URLRequest; 
    import flash.events.Event;
    var myLoader:Loader = new Loader();
    // listen for completion
    myLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, handleCompleteF);
    // usually add some IOErrorEvent or SecurityErrorEvent handlers here
    // button hook here
    myButtonInstanceName.addEventListener(MouseEvent.CLICK, loadPageF);
    function loadPageF(e:MouseEvent):void
         // try to load
         try
              myLoader.load(new URLRequest('another.swf'));
         catch (e:*)
              // catch any error, trace it to flash IDE for debugging
              trace("Error loading SWF: " + e);
    function handleCompleteF(e:Event):void
         // success, add to display list
         addChild(myLoader);
    Season to taste, like moving the position of the Loader object. The Loader will contain the SWF in the .content property (e.g. myLoader.content) and is a display object so you can just add it directly to the display list.
    If you add a second button you can re-use the myLoader to .load() a different SWF, just point it to a new function. You could re-use the same function but you'd need to detect the different buttons (possibly via the .name property). I presume you might want to do "different things" when different pages are loaded so I'm assuming you'd probably use a different function rather than make a huge reused branching function.
    More info on Loader with sample code here:
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/Loader.ht ml#includeExamplesSummary

  • How to implement notification with response against each order lines

    We have a requirement wherein the multiple order lines should be displayed in one notificaiton and the response (Approve/Reject) should be line wise.
    For exmple, if an order has 3 lines, the approver should get one notification with all 3 lines displayed in the notification. Approver should be able to approve say 2 lines
    and reject the third line.
    If reponse is not possible line wise, is it possible for including a drop down/checkbox/text against each line which would enable the approver to approve/reject the line and the approver response against each line should be captured.
    How do we implement this?

    Hello,
    we are evaluating BC4J/JClient. In our application we have a navigation tree
    in a Java client from which we can call nested dialogs to set attributes,
    call business logic etc.
    Is it possible to open more than one sub-dialog from our starting navigation tree
    at the same time? Each sub-dialog should have its own transaction context.
    To our knowledge we need a new application module for each sub-dialog in order
    to start a new transaction. But how is the navigation tree updated if data
    from the sub-dialogs is commited? The dialogs and the navigation tree don't share
    the same model, do they? The navigation tree might have to show lots of data
    retrieved over a slow connection, so simply updating the entire model is not a solution.
    This could work if an intelligent caching fetches only the changed data.
    So: What is the best way to implement sub-dialogs with their own transaction plus an
    update mechanism?To create a UI like this, see the sample on OTN at
    http://otn.oracle.com/sample_code/products/jdev/jclient/jclient_binding_demo.html
    YOu'd have to tweak this sample so that each sub-window comes up with it's own AM (as you've right suggested).
    Regarding commit, yes, if you do not want to query the whole model on the navigator, you may use Transaction.commitAndSync() method to commit changes instead of simply performing a commit() call.
    See javadoc on this method for details on how it works.
    Thanks for any help!

Maybe you are looking for

  • Using external hard drive with both iMac and PC

    I own an old Dell PC and an iBook, and will soon replace the Dell with an iMac. I recently bought a 250GB Western Digital external hard drive to back up my data. I would like to use this hard drive to back up all of the files that are on the PC (whic

  • In eCATT, How to mention the values as  input parameter during test script

    Hi, 1. I am just learning eCATT tool. I created a Test Script by recording my transaction. But if i want to execute the recorded transaction with different data then how to store the values. 2. How to execute my Test Script created in one client to a

  • Mapping a parameter to the form field (OIM 11g)

    Hello, people! How can I get an information from a created form field? In more details: I have to assign a manual creating of a resource to a concrete group of users. So I made a form that contains a field named "Admin Group", made a process for this

  • How to display chinese in applet?

    I am using an english Win2K and IE6.0. In accessing a web site, the applet couldn't display chinese, instead, it displays little squares. What settings do I need to change? Or is it possible? Thanks.

  • Home sharing on apple tv not working since upgrade to yosimite

    home sharing with my Apple TV (gen 3) and iMac not working since upgrading iTunes (12.0.01.26) and installing Yosemite (10.10) on my iMac (2008). everything worked fine before this!