FrameMaker does not show where the text or objects are selected via Extendscript

I have a few Extendscript who opens a document, locates a chart and selects. The picture is selected, as shown by the image details showing in the properties of the object. Problem is that Framemaker does not scroll the window to see the selection.

So far, the only way that I could get from Framemaker to jump at the right place is by selecting the text in the chart, then using my keyboard I press the arrow keys to navigate to the location. Then I manually select the chart. It worked for our needs at the beginning, but now for other scripts, I really need to be able to have the image selected and visible on the screen.

I even tried selecting the text around it, using fcodes to simulate arrow keys of the keyboard and then click on the chart, but Framemaker has not always up to date which part of the document he showed on the screen.

It's my current function. Any thoughts?

imageID is the unique ID of the image, the image is, docName is the path name and file for the document containing the image

function findSelectedGraphic (imageID, docName) {}

var begOffset = 0;

endOffset var = 0;

var textRange;

var newdoc = OpenFile (docName);

var selectedGraph is newdoc. GetUniqueObject (Constants.FO_AFrame, imageID);

If (selectedGraph.ObjectValid ()) {}

var vFramePgf;

vFramePgf = selectedGraph.TextLoc.obj;

var newTextLoc = new TextLoc (vFramePgf, selectedGraph.TextLoc.offset + 1);

textRange = new TextRange (newTextLoc, newTextLoc);

newDoc. TextSelection = textRange;

var fcodes = new Array();

FCodes [0] = FCodes.KBD_MOVE_LEFT;

FCodes (fcodes);

selectedGraph.FirstGraphicInFrame.GraphicIsSelected = 1

}

}

Hi ricat03,

Try "ScrollToText".

myDoc.ScrollToText (textRange);

It should work.

Tags: Adobe FrameMaker

Similar Questions

  • Text entry box does not show all the text

    I'm creating a simple exercise where I want the user to copy text from the course, paste into word and report back what the number of words.  I thought that perhaps the text entry box would be the best way to go, since if you click the text (the default), you can copy it.  However after I place the paragraph of the text in the box and resize in the editor, until all of the text shows, it does not show all the text during playback is previewd or published.  It only shows the last words of the last row in the upper part of the box.

    Is there something that I am missing?  Or, is there a more easy/better way to do what I need?

    Thank you

    Hi all

    If it Captivate 4, there may be no need of a widget to do this. I'm guessing that you haven't tried allowing the scroll bar for the text of the entry (TEB) box?

    When I just plop a TEB on a blade, I get this in edit mode:

    During playback, it looks like this:

    But if I change the TEB properties and select the Show scrollbar option:

    I get this in the output:

    See you soon... Rick

    Useful and practical links

    Captivate wish form/Bug report form

    Certified Adobe Captivate training

    SorcerStone blog

    Captivate eBooks

  • I have some clips where does not show the audio waveform and others where the thumbnail to display the video does not show. THE possibilities of sight are checked in the Tools menu.

    I have some clips where does not show the audio waveform and others where the thumbnail to display the video does not show. THE possibilities of sight are checked in the Tools menu. Screen Shot2016-03-14 11_53_24.jpg I'm on a Mac Pro 2013. Latest version at all.

    Looks like without the audio element is a nested element.  You will need to restore the audio signal in order to see the wave forms.

    I have the same problem (sometimes):

    https://forums.Adobe.com/message/8527998#8527998

    Without rhyme or reason, as far as I can tell.

  • Satellite Pro L20 PSL2YE: 1 GB Ram upgrade does not show in the Bios

    I just bought a 1 GB mem stick samsung 4200 s 533 mhz for my L20.
    It does not show in the Bios or in the main menu in Device Manager, but it shows in cpu - z and pz Assistant 2007.

    I am very confused, and upgrade the bios on toshibas website does not include one for the base PSL2YE L20.
    I wonder if all the bios upgrades L20 will work with my machine.

    any help would be great because I am so confused,

    Hello

    If you already have a biosupdate on your machine? It s a bit confusing that you´re confused since I was wondering what do you say with
    "toshibas Web site does not include one for the base PSL2YE L20". Do you mean the bios?

    Please give some feedback.

    P.s.: you can also try this site for a biosupdate:
    http://209.167.114.38/support/download/ln_byModel.asp

    Maybe you will find something.

  • The temporary internet files folder does not show all the files in this folder property while is more than 1 GB. How to delete temporary internet files. ?

    The temporary internet files folder does not show all the files in this folder property while is more than 1 GB. How to delete temporary internet files. ?  Disk space is very low around 1 & half GB. Please someone help resolve this issue. I am looking for the solution, but it did not have a specific.

    Thank you best regards &.

    Atul Zade.

    CCleaner is very useful to get rid of temporary files, you can get it here: http://www.piriform.com/ccleaner you can use it to clean your temporary files, but DO NOT use registry cleaning works, registry cleaning is mainly a useless effort that can cause more harm than good.

    John

  • the power in the system tray icon does not show me the remaining battery time

    I bought a new battery for my inspiron 1420 and the power in the system tray icon does not show me the remaining battery time, it indicates the only remaining percentage. My battery earlier showed. Can someone tell me how to show the remaining time. Thank you

    I force install quickset once again, but I installed the support center and once my system has been restarted, he began to show me both but I'm not sure, this is because the installation of support center. Thanks anyway

  • My xperia ray does not show in the service of update sony

    My xperia ray does not show in the service of update sony

    Run sus in compatibility mode for windows 7.

  • Windows7 when I migrated to the Working Group at the field of the firewall has crashed. And also it does not show in the services. In the firewall rules of incoming and outgoing traffic is missing.

    In my windows7 when I migrated to the task force to the area, crashed by the firewall. And also it does not show in the services. In the firewall rules of incoming and outgoing traffic is missing.

    Hello arjunpottekkad,

    It is disheartening to know that have problems you with the firewall. As I understand it the incoming and outgoing traffic rules are missing from the firewall.

    The question you posted would be better suited in the TechNet Forums . I would recommend posting your query in the TechNet Forums. You can follow the link to your question:

    Windows 7 IT Pro category

    Answer to us if you are having problems with the Windows Firewall or any other problem of Windows, and I'd be happy to help you again and try to correct the problem as soon as possible.

    Good day!

    Hope this information helps.

  • I have a Pavilion 6620f and it does not show me the type of motherboard. It lists only the DVT 2AB1

    I have a Pavilion 6620f and it does not show me the type of motherboard. It lists only DVT 2AB1 as the system board. How to find the right model MB?

    No, this isn't what I remember seeing at the same time. I downloaded a program called BeLarcx Advisor, he told me I have a FOXCONN 2AB1 DVT and I have an ATI Radeon 4200 in there.

  • Packer of creative cloud in creating a package that I can install do not.  He goes through the motions, download all updates, create setup file, but it does not work despite the fact that there are no errors in the log files

    Packer of creative cloud in creating a package that I can install do not.  He goes through the motions, download all updates, create setup file, but it does not work despite the fact that there are no errors in the log files

    After hitting my head against the desk to repeatedly create packages, try on different computers I have finally found a solution.

    These packages have been copied on an external drive, if I try and install from the external drive, which is a common practice, it fails.

    If I then copy this file pkg from the outside, to the computer I install, then run it, it will to and moved very well.

    That is mind-boggling stupid, because it's rare that you have to copy the file into any computer, it is less always installed off the coast of externally, and many people in the company are pushing on the network and the management of the suites so there is a serious problem in Adobe package manager if this is the case where it cannot manage the Middle installed offshore.

    I hope that if anyone else is having problems so it suits.

  • items of tag p does not show on the pages using css

    I converted to a site in GoLive to DreamWeaver and all the text by using the < p > tag does not appear on the site, but other styles appear, including < h1 > tags, etc.

    -J' have confirmed that the links to the css are correct and tact.
    -J' I cut and pasted the text in the < body > tag, which is the same specification as the < p > tag in place to check that it was not a typo. Did not help.
    -I have tried with and without the <>brackets.
    -J' have changed a paragraph in the page 'None' and used the < br > tags to make the jumps and it shows very well, but the next paragraph which uses the < p > does not work.

    Any thoughts on why this would happen?

    Here is the link of the typical header that I use
    < link href = "adv01.css" rel = "stylesheet" type = "text/css" > "

    Here is the actual line css
    p {color: #333; do-size: 13px; do-family: Helvetica, Geneva, Arial, SunSans-Regular, without serif; line-height: 15px}

    Thank you
    Jon

    Well, if you have a page on defined style that affects your diplay with white text paragraphs. This might be a reason.

    On your page privacy.php watch line 21;
    p {color: #fff;}

    the parameter of color to the fff everything make your text are white.

    Don't forget that on the styles page to replace the external styles.

    I hope this helps.

    Since you are using includes can't tell you where this code exists!

  • iTunes movie does not show on the ipad after download

    When I rent a movie via itunes on my ipad air 2 it runs it through the treatment of download, but the film does not show in one of my shopping list

    To download in the video the iPad app play you (which is where you looked too?) -It will appear in the purchased for redownloading, rentals are a unique download only

  • 2.5 AppVolumes second appstack does not show in the BONE

    I have appvolumes deployed, and I created an appstack which has 3 possibilities of use in successfully (chrome, adobe reader and Notepad ++) for testing. I have this set on a non-persistent desktop with the AppVolumes agent installed and it works well. I went back to my VM capture and restored the snapshot, created a new appstack and installed firefox. After completing the capture process, I joined the new appstack to the same VM/user as the original appstack. The new appstack shows no firefox in the virtual machine. It seems that the new appstack VMDK is attached to the virtual machine, but I do not see a shortcut of firefox on the desktop, it does not appear in the program files either. Initially I thought that maybe it had something to do with having mulitple disks attached to the windows 7 x 64 VM. I thought maybe it was a problem of storage controller, but it seems that by default LSI logic SAS controller should take up to 15 HARD drives. This is where my day is over, but I'll be back tomorrow to take a look more, suggestions are welcome.

    Figured it out. We still had the trial installed, license which by default only allows to 1 appstack reach, by user, at the same time. We have installed the real license and it does not work as expected.

  • TRYING to EXPORT BOOKMARKS - BOOKMARKS-CLICK &amp; IT does not SHOW "MANAGE the BOOKMARKS' HELP!

    TRYING TO EXPORT MY FAVORITES (COMPUTER WILL CRASH SOON). I FOLLOWED THE INSTRUCTIONS TO DO THIS. I CLICKED ON the FAVOURITES and IT does not SHOW 'MANAGE BOOKMARKS' how DO I EXPORT MY FAVORITES IF I can't CLICK ON "MANAGE BOOKMARKS"?

    Thank you

    Menu, select "Show all bookmarks", that will open the bookmarks library in bookmarks. In the library, you can use the "import and backup" menu to export bookmarks.

  • Bootcamp does not show me the tasks

    Hello, I do not know why bootcamp does not show me tasks, I need to create a windows installation disc and all I can do is choose the iso and the space in the partition.

    can someone help me?

    2015 macs have more spots.

    Please see https://help.apple.com/bootcamp/assistant/6.0/#/bcmp173b3bf2 for help.

Maybe you are looking for

  • Worksheet to the next row.

    I don't do a VI that does the job of store information in a text file, with a line containing the name of the user (column 1) and say there are no (column 2), How can I move the next row in the text file after the user presses 'write '? Ive attached

  • Windows Server 2003 R2 explorer.exe crashing

    Hello I am looking for help on a PC server. All programs work correctly and for all intensive purposes, the server is very good. The problem is that explorer.exe crashes every 3 to 8 seconds. I had a quick glance at the file hmdp and tbh it means not

  • How do you get the screen message appears only one for each case?

    Hi friends, I'm here with another question... I built a VI that must contain 6 boxes, when a particular check box is selected by the user, it should display a message to the user that the checkbox is enabled. My problem is: when I select one of the b

  • I have XP and that you want to upgrade to XP Pro, but Windows will not let me.

    My office recently crashed and I replaced the windows XP home that came on the machine.  I also have a copy of XP Pro upgrade that I want to install because pro allows me to office remote host and does not House.  These are both legally purchased cop

  • Cannot synchronize offline files

    I created a link to a shared NAS drive.  I then made the folders and files always available, so I could map a network drive in the folder. I then moved the data from the shared folder on another drive and I can't sync my files.  So, I have a bunch of