How do I get text properties at a TextLoc

I want to get the text properties of the text location where my cursor is:
var doc = app.ActiveDoc;
var textLoc = doc.TextSelection.beg;
Any pointers would be appreciated.
Rick Quatro

Hi Rick,
According to the documentation, the Doc object has a GetTextProps method that expects a TextLoc. Seems to be exactly what you need. Page 477 of the FrameMaker 10 Scripting guide.
Jang

Similar Messages

  • How do I get text to flow from one page to the next in Pages 5?

    How do I get text to flow from one page to the next in Pages 5 with the Maverick system?

    What may be overlooked in Pages v5 is the notion of combining Text Boxes via the Menu > View > Show Arrange Tools. When you select two Text Boxes, an extra panel unfolds at the bottom of the Arrange Tools window. Uncheck one Text Box and this panel abruptly disappears.
    One can achieve text flow effects between Text Boxes differently based on how one positions the Text Box overlap, and choice of effect above. Though not the accustomed flow found in Pages ’09 v4.3, flow does occur. Consider the possibilities of combining a Shape and a Text box to cut an irregular Text box.
    If I create two Text Boxes and position them side by side with outline touching and choose Unite, this creates one larger Text Box and text flows across and down. On the otherhand, if I overlap the upper left corner of a lower Text Box over one above and to the left, then choose Union, pasted text fills the first Text Box and then flows across and down into the other box. Here is a Union example:
    Intersect will leave a small Text Box where the two overlap, so not much value there. Subtract will cut a chunk out of one Text Box that is the size of the overlapping piece of the second Text Box:
    And Intersect will leave an island in the center where the two Text Box overlap, with flow jumping over this bridge.
    Clearly, this is not what we were accustomed to in the past, but with imagination, style, and layout tuning, it does offer alternative Text Box creativity and layout. Of course, there is the option of simply returning to the previous Pages version for true Text Box linking that most will want to use.

  • How do i get text messaging through my macbook pro?

    how do i get text messaging through my macbook pro?

    Welcome to Apple Support Communities
    If you have an iPhone, iPad or iPod touch and you use iMessage, you can use it in your Mac if you want. OS X Mountain Lion includes Messages, that allows you to use iMessage.
    First, check that your computer is supported > http://www.apple.com/osx/specs If so, open  > About this Mac, and see what OS X version you have:
    10.5 or older: you have to upgrade first to Snow Leopard > http://store.apple.com/us/product/MC573Z/A/mac-os-x-106-snow-leopard
    10.6 or 10.7: open  > Software Update, and install the most recent version. Then, open the App Store and purchase OS X Mountain Lion.
    10.8: you are already using OS X Mountain Lion, so open the Messages app.
    While OS X Mountain Lion is being downloaded, make a backup of your files and check that your apps are compatible > http://www.roaringapps.com
    If you aren't referring to iMessage, you can't send text messages in your computer

  • How do I get Text Effects to Display Clearly In Illustrator?

    How do I get text effects to display clearly in Illustrator?

    This is how it started:
    This is what happened after I turned on the glow:
    This was what the glow setting produced:
    This is what the shadow setting produced:

  • How can i get texts on my ipad?

    How can I get texts on my IPAD?

    SMS texts ? You need an app that permits SMS messaging.

  • How do I get text to wrap around a jpeg photo. Pages instructions don't eem to work for me,

    How do I get text to wrap around a jpeg photo. Pages instructions don't seem to work for me. I'm just beginning to use Pages for other than simple word processing.

    I am creating a photo album with captions and have tried to have one caption wrap around a photo image that is part of a series of three overlapping and descending images. I have selected the photo, clicked Inspector etc. with no luck. I did read a previous answer re floating and noticed that both my text and my image have inline in light colour and floating in dark, which I presume means they are both inline. When I try to click on Floating in Object Placement, nothing happens. The option doesn't appear to be "available", unlike the wrap options below, which do light up and indicate what I want to happen. It just doesn't happen and I don't know how to solve the problem.
    I have had to replace my older computer on which I did all of these projects (newsletters, albums, etc.) with an old version of InDesign, which no longer works with the newer OS 10.6. So I'm trying to learn how to do the same types of things with Pages, and it's somewhat frustrating, since text wrap was quite simple with InDesign.
    Stan

  • How do i get text tones?

    how can I get text tones for my iphone? I know how to get ring tones but don't know how to convirt them to text tones.

    You don't.
    This is not and has never been a feature of iphone.
    Reportedly it will be on ios 5

  • How do I get text messages on my iPad air

    How do I get text message from my iPhone to my iPad

    About Messages
    http://support.apple.com/kb/HT3529
    Activating FaceTime and iMessage
    http://support.apple.com/kb/TS4268
    Trouble-shooting iMessage
    http://support.apple.com/kb/ts2755

  • Pages for ipad2 - how do you get text to wrap around the contours of a picture? Not the simple square wrap, but I saw text following the contours of a bike wheel at the Apple store demo

    Pages for ipad2 - how do you get text to wrap around the contours of a picture?  Not the simple square wrap, but I saw text following the contours of a picture of a bike wheel at the Apple store demo

    Sjazbec,
    Thanks for the reply.
    I did read the help and went through the tutorial - the butterfly text wrap (and the wrap around the curved contour of the bicycle wheel at the Apple store) is the reason I am asking this question.  I don't know how to use one of my own pictures and tell Pages what contour to wrap around.  Is there some additional image editing software that I need to "creatively crop" one of my own pictures, so that Pages will be able to wrap around that contour?
    Thanks / Danke!!

  • Help filling out PDF - How can I get text to fit in text boxes?

    I need to fill out an application that is in the PDF format.
    When I filled it out, there were a few text boxes where the text did not wrap around.
    In other words, some of the text doesn't show.
    There is not enough space for what I typed.
    When I printed it out, the text was still blocked out.
    How can I get the text to fit in the box?

    Thank you so much for your help, try67!
    Was hoping for a solution on my end, but judging by your MVP status, you seem to now what you're doing! :-)

  • How do i get text ticker to work?

    Hi everyone, how do i get the text ticker to work on this template http://www.videocopilot.net/blog/?s=news+template a simple step-by-step would be great or a script.  I want it to scroll like on news channels and loop.  Sorry i am a NEWBIE.
    Thanks.

    I am not sure what you are asking here. The free templates contain a bunch of type layers, a few graphics and that's it. If you want the text layers to do something then you have to animate them.
    What layer do you want to animate? What are you trying to do. There is nothing in the project called text ticker. If you mean the crawling (scrolling in vertical movement and it's used in credit rolls) text at the bottom of the graphics stack then simply animate the position of a text layer, then if you want that text to loop use a loop out expression like this applied to the position property: (you will need 3 keyframes. Starting position, ending position, then a copy of the starting position keyframe)
    loopOut("cycle");
    If you are completely lost then Start Here and learn about animation basics.

  • How can I get list properties using SharePoint CSOM

    Hi Team,
    I am using SharePoint CSOM to read SharePoint Discussion board.I need discussion discription and created by and Discussion list Title etc.
    But I am unable to read those. I saw below message for discussion list in immediate window while debugging.
    DiscussionList
    {Microsoft.SharePoint.Client.List}
    base {Microsoft.SharePoint.Client.SecurableObject}: {Microsoft.SharePoint.Client.List}
    AllowContentTypes: 'DiscussionList.AllowContentTypes' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    BaseTemplate: 'DiscussionList.BaseTemplate' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    BaseType: 'DiscussionList.BaseType' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    BrowserFileHandling: 'DiscussionList.BrowserFileHandling' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    ContentTypes: {Microsoft.SharePoint.Client.ContentTypeCollection}
    ContentTypesEnabled: 'DiscussionList.ContentTypesEnabled' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    Created: 'DiscussionList.Created' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    DataSource: 'DiscussionList.DataSource' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    DefaultContentApprovalWorkflowId: 'DiscussionList.DefaultContentApprovalWorkflowId' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    DefaultDisplayFormUrl: 'DiscussionList.DefaultDisplayFormUrl' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    DefaultEditFormUrl: 'DiscussionList.DefaultEditFormUrl' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    DefaultNewFormUrl: 'DiscussionList.DefaultNewFormUrl' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    DefaultViewUrl: 'DiscussionList.DefaultViewUrl' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    Description: 'DiscussionList.Description' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    Direction: 'DiscussionList.Direction' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    DocumentTemplateUrl: 'DiscussionList.DocumentTemplateUrl' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    DraftVersion
    EffectiveBasePermissions: 'DiscussionList.EffectiveBasePermissions' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    EnableAttachments: 'DiscussionList.EnableAttachments' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    EnableFolderCreation: 'DiscussionList.EnableFolderCreation' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    EnableMinorVersions: 'DiscussionList.EnableMinorVersions' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    EnableModeration: 'DiscussionList.EnableModeration' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    EnableVersioning: 'DiscussionList.EnableVersioning' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    Fields: {Microsoft.SharePoint.Client.FieldCollection}
    ForceCheckout: 'DiscussionList.ForceCheckout' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    Forms: {Microsoft.SharePoint.Client.FormCollection}
    HasExternalDataSource: 'DiscussionList.HasExternalDataSource' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    Hidden: 'DiscussionList.Hidden' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    Id: 'DiscussionList.Id' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    ImageUrl: 'DiscussionList.ImageUrl' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    IsApplicationList: 'DiscussionList.IsApplicationList' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    IsCatalog: 'DiscussionList.IsCatalog' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    IsSiteAssetsLibrary: 'DiscussionList.IsSiteAssetsLibrary' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    ItemCount: 'DiscussionList.ItemCount' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    LastItemDeletedDate: 'DiscussionList.LastItemDeletedDate' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    LastItemModifiedDate: 'DiscussionList.LastItemModifiedDate' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    MultipleDataList: 'DiscussionList.MultipleDataList' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    NoCrawl: 'DiscussionList.NoCrawl' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    OnQuickLaunch: 'DiscussionList.OnQuickLaunch' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    ParentWeb: {Microsoft.SharePoint.Client.Web}
    ParentWebUrl: 'DiscussionList.ParentWebUrl' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    RootFolder: {Microsoft.SharePoint.Client.Folder}
    SchemaXml: 'DiscussionList.SchemaXml' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    ServerTemplateCanCreateFolders: 'DiscussionList.ServerTemplateCanCreateFolders' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    TemplateFeatureId: 'DiscussionList.TemplateFeatureId' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    Title: 'DiscussionList.Title' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    UserCustomActions: {Microsoft.SharePoint.Client.UserCustomActionCollection}
    ValidationFormula: 'DiscussionList.ValidationFormula' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    ValidationMessage: 'DiscussionList.ValidationMessage' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    Views: {Microsoft.SharePoint.Client.ViewCollection}
    WorkflowAssociations: {Microsoft.SharePoint.Client.Workflow.WorkflowAssociationCollection}
    Please let me know how can I get all discussion Properties.
    Krishnasandeep

    Here is the code snippet which is working
    ClientContext Context = new ClientContext(siteurl);
    Context.AuthenticationMode = ClientAuthenticationMode.Default;
    List DiscussionList = Context.Web.Lists.GetByTitle("4gl-adapter");
    CamlQuery query = CamlQuery.CreateAllFoldersQuery();
    ListItemCollection itemCollection = DiscussionList.GetItems(query);
    Context.Load(itemCollection);
    Context.ExecuteQuery();
    foreach (ListItem thread in itemCollection)
    string threadTitle = thread["Title"].ToString();
    string threadBody = thread["Body"].ToString();
    But if try to below code,
    String DiscussionDesc = DiscussionList.Description;
    I am getting exception.
    Let me know if I am doing wrong anywhere.
    Krishnasandeep

  • How can I get system properties?

    Hello,
    How can I get the system properties like %JAVA_HOME% in my java codes, for example, I want to print it like this.
    System.out.println("%JAVA_HOME%");
    but it doesn't work!
    Please give me a hand!

    To pass the Operating system environment variable to the Java "environment variables", you have to explicitely pass them on the command line eg.
    java -Dmyjava.home=%JAVA_HOME% myClass
    then, in your code use
    String JAVA_HOME = System.getProperty ( "myjava.home" );regards,
    Owen

  • Resulting Word document is an image rather than text. How do I get text?

    I used the converter, I downloaded the resulting file, and it's an image, or rather, pages of images.
    How do I get the images to be text? so I can quote without having to copy type?
    Karen

    Hi,
    Did you convert your document through Adobe Acrobat or Export pdf?
    Please elaborate your issue.
    Regards,
    Florence

  • How can I get text messages on my iPad?

    HHow can I get text messages on my i
    phone and iPad?

    Text message for iPad. You should be able to send SMS on your phone.
    https://itunes.apple.com/sg/app/textme-international-free/id338088432?mt=8

Maybe you are looking for

  • Looking for help to improve Airport performance over LAN (WAN is fine)

    Ok, I've read through several threads on this forum that address problems people are having with slow performance with Airport. I've also checked out all of the Apple KBs that address Airport, recommended settings. Unfortunately my issue isn't addres

  • Imac hard drive issues

    Over the last two days, my imac has been playing up. When doing anything the harddrive starts clicking, the colour wheel starts going... and everything freeezes up. it happenes constantly. Am running updates now, but I suspect the harddrive is on its

  • IPhone 4s, wont connect to itunes please help?

    Hi, I have just got myself a new iPhone 4s, But itunes will not connect the device, I have tried reinstalling itunes and restarting the computer, I can see the device is recognized by windows as i can open the image folder on my computer, I have trie

  • Firefox won't open files (not links) in new tabs

    Hello I'm having an issue with Firefox on my Mac Mini. I want to view html files I've edited in multiple tabs in ONE window. My problem is that whenever I double-click an html file it always opens them in a new window even when I have an existing win

  • Using Popcorn 4 to convert movies for itunes on the iphone

    I had movies stored on my mac (the latest imac)and converted and loaded them into itunes and then synced my iphone. BUT now I can't find the darn movies. I was hoping to have access for travelling over the holiday. How do I find the movies on my ipho