How to get an anchor text in history?

Hi experts,

is it possible to get the anchor text, like this:

0001.jpg

and get the text and then place it in the context of text, like this:

0002.jpg

Thank you

respect of

John

Hi John,.

As I understand your problem, try this...

myDocument var = app.activeDocument;

app.findObjectPreferences = NothingEnum.nothing;

app.changeObjectPreferences = NothingEnum.nothing;

app.findObjectPreferences.anchoredPosition = AnchorPosition.ANCHORED;

var t = myDocument.findObject ();

for (var i = 0; i)< t.length="" ;="">

{

var FO = t [i];

If (TF.parent.constructor instanceof character)

{

tf.texts.everyItem () .move (LocationOptions.BEFORE, tf.parent);

TF.parent.contents = "\r";

}

}

Thanks and greetings

Ravindra

Tags: InDesign

Similar Questions

  • How to get the whole text of value special hashi

    Hello

    can someone let me know how to get the full text of sql data hash_value in report statsapck...
    SQL> select SQL_TEXT from v$sql where HASH_VALUE=3102119461;

    SQL_TEXT
    --------------------------------------------------------------------------------

    SELECT ROWID,AR_DT,AR_TXN_CODE,AR_NO,AR_AMD_NO,AR_REF_FROM,AR_REF_TXN_CODE,AR_RE

    F_NO,AR_DAK_CODE,AR_DED_SYS_ID,AR_COMP_CODE,AR_ACNT_YR,AR_AMD_DT,AR_AMD_UID,AR_A

    MD_RES_CODE,AR_REF_SYS_ID,AR_STUD_SRN,AR_APPL_DT,AR_ISSUE_DT,AR_ENROL_FRM_COURSE

    ,AR_ENROL_DT,AR_JOURNAL_YN,AR_TYPE,AR_TITLE,AR_VACANCY_CODE,AR_MRH_MRN,AR_INDUST

    RY_FIRM,AR_DEED_FM_DT,AR_DEED_TO_DT,AR_IT_TR_YN,AR_IT_START_DT,AR_CONDN_YN,AR_RE

    MARKS,AR_IT_END_DT,AR_CONDN_DAYS,AR_CONDN_AMT,AR_CONDN_DT,AR_CONDN_BY,AR_46_FLAG

    ,AR_RE_REG_YN,AR_DOC_STATUS,AR_ART_TERM_COMPLN,AR_TERMN_COMPLNPLN_DT,AR_CORRES_A

    DDR_LINE_1,AR_CORRES_ADDR_LINE_2,AR_CORRES_ADDR_LINE_3,AR_CORRES_CITY_CODE,AR_CO

    RRES_ZIP_POSTAL_CODE,AR_CORRES_BR_CODE,AR_CORRES_REGION_CODE,AR_CORRES_STATE_COD

    E,AR_CORRES_COU_CODE,AR_CORRES_TEL,AR_CORRES_EMAIL,AR_CORRES_MOBILE,AR_PER_ADDR_

    LINE_1,AR_PER_ADDR_LINE_2,AR_PER_ADDR_LINE_3,AR_PER_ADDR_LINE_4,AR_PER_CITY_CODE


    SQL_TEXT
    --------------------------------------------------------------------------------

    ,AR_PER_ZIP_POSTAL_CODE,AR_PER_BR_CODE,AR_PER_REGION_CODE,AR_PER_STATE_CODE,AR_P

    ER_COU_CODE,AR_PER_TEL,AR_APPR_DT,AR_AP


    SQL>

    You can query V$ SQLTEXT or V$ SQLTEXT_WITH_NEWLINES

    Thus

    select sql_text
    from v$sqltext
    where hash_value='&hash_value'
    and address='&address'
    order by piece;
    

    Note: In 10g and more, you can use instead of HASH_VALUE SQL_ID and ADDRESS.

    Additonally, in 10g and above, you can also query V$ SQLSTATS where the text is stored in a CLOB called 'SQL_FULLTEXT', we must therefore DEFINE the LONG value when using SQLPlus.

  • How to get to the text in an anchored frame

    Hello

    I'm working on unstructured FrameMaker files, in preparation for comverting them in structured documents. My client has placed a lot of creating notes in the sidehead of their documents. They are inserted under the blocks of text inside the anchored frames. I'm trying to retrieve the text of the images anchored so that I can pass in a new paragraph where it will be recovered by the conversion process.

    While browsing the reference ExtendScript for FrameMaker, I find a subject had, but it lists only the items and properties pointing to graph that can be entered in this setting, not the text ranges. In the data Explorer I find InvalidObject for the FirstGraphicInFrame and no pointers to any kind of TextFrame.

    Can someone tell me how to get a handle on the text block in the anchored frames?

    Thanks in advance

    Jang

    Hello again Rick,

    I got it today. I was looking for the wrong type of object. As the anchored frame resembles a framework anchored to me, not as a graphic, I never thought finding the FirstGraphicInDoc and then treat as a framework anchored with text inside blocks. The guide to FM script could do with a couple of good examples here and there. I changed the FirstSelectedGraphicInDoc to FirstGraphicInDoc and she finds the things I was looking for.

    Thank you

    Jang

  • How to get the selected text in a TextInput

    Hallo. I have a textinput, and when the event doubleclick on a part of the text is sent, I need to get the selected text, and then save it in a string... How can I do?

    THX

    Max

    Hi Maximist,

    Below is the code snippet to get the selected text in TextInput on double click event:

    http://www.Adobe.com/2006/mxml '.

    Layout = "vertical".

    verticalAlign = "middle".

    backgroundColor = "white" >

    Import mx.controls.Alert;

    private void textInput_doubleClick(evt:MouseEvent):void {}

    Alert.Show (String (evt.target.text) .slice (evt.target.selectionBeginIndex, evt.target.select ionEndIndex));

    }

    ]]>

    Text = "the Bullfighter is out the path of the bull charge at the last moment, drawing the cheers of the spectators."

    doubleClickEnabled = "true".

    doubleClick = "textInput_doubleClick (event); "/ >

    Hope this will help you.

    Thanks and greetings

    ------------------------------------------------------------------------------------

    Pooja Kuber | [email protected] | www.infocepts.com

    ------------------------------------------------------------------------------------

  • How to get rid of text to improve

    All of a sudden, I have a program called ad text nuisance improve I think that Google Chrome has put it on my computer.  On any text, there are a few words that are highlighted, and when you click on it, an ad appears.  I tried to withdraw their instructions 3 times, but though even it says that I have chosen successfully, I always get ads.  How can I get rid of this unwanted nuisance?

    All of a sudden, I have a program called ad text nuisance improve I think that Google Chrome has put it on my computer.  On any text, there are a few words that are highlighted, and when you click on it, an ad appears.  I tried to withdraw their instructions 3 times, but though even it says that I have chosen successfully, I always get ads.  How can I get rid of this unwanted nuisance?

    Search for malware:

    Download, install, execute, update and perform analyses complete system with the two following applications:

    Remove anything they find. Reboot when necessary. (You can uninstall one or both when finished.)

    Search online with eSet Online Scanner.

    The less you have to run all the time, most things you want to run will perform:

    Use Autoruns to understand this all starts when your computer's / when you log in. Look for whatever it is you do not know using Google (or ask here.) You can hopefully figure out if there are things from when your computer does (or connect) you don't not need and then configure them (through their own built-in mechanisms is the preferred method) so they do not - start using your resources without reason.

    You can download and use Process Explorer to see exactly what is taking your time processor/CPU and memory. This can help you to identify applications that you might want to consider alternatives for and get rid of all together.

  • How to get data from text fields in double.

    Here is the sample code that I had done with,

    var textf:textField;
    for(var i:int = 0;i<=7;i++)
    {
       textf = new textField;
       this.addChild(textf);
       textf.name = "textdata"+i;   textf.x = 500;  textf.y = 50+50*i ; 
    }
    nextbtn:button = new button();this.addChild(nextbtn)nextbtn.x = 400;nextbtn.y = 500;nextbtn.addEventListener(MouseEvent.CLICK,getdata);
    function getdata(e:MouseEvent):void
    {
       trace(textf.text)
    }
    

    From the code above will add six textfields, but in the next button function, it has to be traced back all the data in the fields of text I typed, but the code shown next button only the last textfield data are drawn, all data can be recovered, how do I get the data of all the textfields remaining...

    Please help me,

    Thanks in advance

    You can also watch the event 'target' to determine the object that generated the event.

  • numericStepper - how to get the manual text entry

    I have a numericStepper that undergoes a change"listener that works very well when you use the keys up and down on the stepper (I can retrieve the value of the numericStepper). However, if the user types a value manually, then click off the Stairmaster, I can't retrieve the value of the stepper.

    Research on the web, I know that the 'change' event is enabled only via the arrows up/down on the NumericStepper, OR when the user presses the Enter key in the numericStepper text field.

    But I don't want the user to have to press Enter (they wouldn't always understand that they must do this - especially since there are several fields on the screen.

    So, I need to use the 'Focusout/focusouthandler()' event (right)?

    My problem, I can't retrieve the manual value typed in the NumericStepper.  The 'value' property always contains the last value set by the up/down arrows, or by pressing ENTER.

    For example,.

    • the value of the numericStepper indicates 75
    • I have manually enter 65 and then click outside of the numericStepper and go into another field.
    • The numericStepper component still shows 65, but when I trace the value of the numericStepper, it still shows 75.

    QUESTION: How do you get the value of the numericStepper textInput?

    Thank you, Julia

    -------------------------------------------

    It's my change event handler. The numericStepper instance name is "payRate_step" and I save the value in the variable ' newString '.

    var RatestepListener:Object = new Object();

    RatestepListener.change = function (evt_obj:Object) {}

    var newString:String = evt_obj.target.value;

    }

    payRate_step.addEventListener ("change", RatestepListener)

    who should inputField in as2 textField in as3.  my mistake.

    If ns is your stepper, use:

    import mx.controls.TextInput
    var ti: TextInput = ns.inputField;

    var tiLO:Object = {};
    tiLO.change = function(eobj:Object) {}
    trace (eobj. Target.Text);
    }
    NS.editable = true;
    ti.addEventListener ("change", tiLO);

  • How to get drop shadow text in the windows version of LabVIEW 2009

    In the lower left corner of the JPG attached you can see that the 'dashboard' has a shadow.  I created by accident and want to use the shadow for the control names, but I can't understand how I did it. The only options of 'Style' in my menu drop-down list of properties of text are plain, bold, italic, underline, outline, and bar.

    The help file implies that it can be done under MAC OS. I just did in Windows.

    Does anyone know how?

    This free label is not really inside of your loop, it is "floating" above and this is why LV draw the shadow.

  • How to get the 'selected text '? leave a string

    If I highlight text in a text string, I want to be able to copy it to the Clipboard.

    I have already created an event that uses the Application of reference to 'write the Clipboard' now I need to give it the selected text.

    How do I do that?

    Here's a way to do it.

    Ben64

  • How to get page amx text and open it in a class file in oracle MAF 12.1.3

    I created a simple form using amx as below:

    <? XML version = "1.0" encoding = "UTF-8"? >

    " < amx:view xmlns: xsi =" http://www.w3.org/2001/XMLSchema-instance "

    ' xmlns:amx = ' http://xmlns.Oracle.com/ADF/MF/AMX "xmlns:dvtm =" http://xmlns.Oracle.com/ADF/MF/AMX/DVT ">

    < amx:panelPage id = "pp1" >

    < amx:facet name = "header" >

    < amx:outputText value = "Header" id = "ot1" / >

    < / amx:facet >

    < amx:facet = "primary" name >

    < amx:commandButton id = "cb1" / >

    < / amx:facet >

    < amx:facet = "secondary" name >

    < amx:commandButton id = "cb2" / >

    < / amx:facet >

    < amx:panelFormLayout id = "p1" >

    < amx:inputText id = "i2" hintText = 'enter something '.

    Label = "Edit Text" > < / amx:inputText >

    < amx:inputText id = "text1" label = "" enter password: ""

    secret = "true" / >

    < / amx:panelFormLayout >

    < amx:commandButton id = "c1" text = "Send" action = "getFormDetails" > < / amx:commandButton >

    < / amx:panelPage >

    < / amx:view >

    I want to extract text entries and access in a class file. Please help me.

    You can store values in pageflowscope and then get these in javaclass.

    Example:

    «"" "AMX page:»»"»

    secret = "true" / >

    Java class:

    public void getFormDetails() {}

    AdfELContext adfELContext = AdfmfJavaUtilities.getAdfELContext ();

    ValueExpression ve = AdfmfJavaUtilities.getValueExpression ("#{pageFlowScope.name}", String.class);

    String val = (String) ve.getValue (adfELContext);

    }

  • Illustrator: How to get the overlapping text on transparent and keep gradient and stroke?

    In Illustrator, how can I be part of a transparent text overlapping letter? The circle which lies behind this letter has a gradient and a stroke.  I want the letter to appear that it is hanging around this circle.  In the screenshot, I pointed out the area I want to be transparent with a green arrow. Thank you for your help.

    example.jpg

    Draw a line through the descender of the letter. Select the letter and line, then click on split. Separate the two forms that result and send whatever shape you want behind the ring.

    Result:

  • How to get to select text xmlElement?

    I need an xmlelement location select all text. This is the same function "Select structure" in inDesign. But I don't know how to do this function in the script. Please tell how to do this function

    Try this code below, js

    mySelection var = app.selection [0];

    mySelection.associatedXMLElements [0] .select ();

    I hope this helps you.

  • I have a cycle recorded a vocal performance. I don't know how to get the anchor point to the film when the singer arrives early or sings after the cycle. Can anyone help?

    Loptic pro x. i. I cycle recorded a singer I just can't find a way to easily get small pieces of audio when the singer arrives early or sing a note sustained beyond the cycle. CAN ANYONE SHED SOME LIGHT ON THIS PLEASE?

    Just drag the right or left side of the region be expanded to include most of the voice.

    While cycling (replace) each record cycle is in fact only the region of an audio file that contains all the audio recording of the entire global cycle.    Then you cycle 2-3 bar record and do you 5 times counting from 1 to 20 in the microphone... Each region will be only 1 respective bar where the recording of the cycle started while you were, however each region refers to an audio file that contains all the numbers from 1 to 20.

    Then expanding to the right or left side of the region - will provide you with the early start or finish late audio.

    Same thing for taking records, except that you must be in edit mode to manipulate it start/end region.

  • How to get themes & move text on your image

    ROMAN RELOADED

    Hello

    For themes, use the following links:

    http://Windows.Microsoft.com/en-us/Windows/downloads/Windows-XP

    You can also download themes from the internet. Use a search engine, such as Bing, to find similar programs.

    To edit a photo, you may need to use the Windows Live Photo Gallery.

    See: http://explore.live.com/windows-live-photo-gallery-xp

    DISCLAIMER of THIRD PARTY SOFTWARE: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

  • How to get the text block, given anchor (~ a)

    I need to dynamically position anchored with anchor text blocks (but the relative position will be different for each anchor). If I grep ~ i can get the anchor marker - how to get the text block once I got this marker?

    Thank you

    The marker "anchor" is a character of "simple".

    So you can do the following if you have identified the character (and in this example selected it):

    //Start with an "Anchor Marker" selected:
    var myCharacter = app.selection[0];
    
    if (myCharacter.texts[0].textFrames.length == 1){
    
    var myAnchoredTextFrame = myCharacter.texts[0].textFrames[0];
        //do something with the anchored text frame:
        myAnchoredTextFrame.fillColor = "Yellow";
    
        };
    

    You can set the myCharacter variable differently, if you know the index of the character according to his history of parent.

    Or if you have found the character as part of a search GREP or TEXT by ExtendScript (JavaScript).

    Uwe

Maybe you are looking for

  • I can view is no longer my company Email army, after some recent updates. I use Ubuntu 12.10, with firefox 25.0 (?) any ideas? My email is [removed]

    I used to be able to access my mail with my CAC card. Recently, I lost this ability. Are there known issues regarding the present with your recent updates? Button that would reset may not be the solution? I have not tried because I don't know what I

  • Laptop Wireless to the Blu - Ray format?

    I'm my BDP-S370 to the network wireless network without buying the UAW-BR100. I got to thinking, I have a laptop soon sit 4 feet from my TV. Would it not possible to connect the laptop to the Blu - Ray via USB to USB cable and accomplish the same thi

  • Generate the event by timeout

    Hi all I have a structure of the event, whose events are all s 'change of the value' of the buttons on the front panel (each of them did switch a light when you click on it). I need one of the events to run also in the case where a certain time elaps

  • Why the input file dialog box prompt when I have to attach to a device?

    For my project I need to move a robot 3 axis from a list of coordinates set to be cut / draw a picture. The only way I can thnk to do this is to read the coordinates of a spreadsheet and calendar to read the details and send information to straight l

  • History of password

    I have a PDC 2008R2, and it crashed on February 8 this year, because Kerberos problem and in GPO I got 90 days was the maximum password history and users that they expired p/w start to deal with problems, so in 15 Feb, I extended 90 days up to 200 un