Tools Scripts Word Count is broken; can I fix it?

RH HTML; 8.0.2.208
The script at "Tools > Scripts > Word Count" says "Bad Argument GetTokenManager" and fails.
It broke while I had 8.0.1, or maybe while I had 8.0.0.
Can I fix this?

HI,
if the script is working for a dummy project, it means the script is working fine, and there is some issue when we run this script in your project.
Please open script pod and right click on the word count.jsx file and select edit option. this will open the word count script in Extendscript editor (or notepad).
Search for the following line in the script file var tknmgr = RoboHelp.getTokenManager (filepath);
and add the following statement before this line.  msg(filepath);
so the new code looks like
msg(filepath);
var tknmgr = RoboHelp.getTokenManager (filepath);
Now save this file and again run the script file from RoboHelp 8 by right click and run.
this will show the messages in the output view, as to which topic it is trying to open using the token manager and we can get to know where the script is breaking.
it will print the file path of the topic which is causing the problem, Please see if you can open that topic from project manager in your Project or not.
Do let me know the log in the output view, after you have modified the script file and run it again.
-Praful

Similar Messages

  • Apple mail 5.2 Mac OSx 10.7.4 takes 120 secs to send even 1 word email? How can I fix this?

    Apple mail 5.2 Mac OSx 10.7.4 takes more than 3 minutes to send even 1 word email? How can I fix this?

    You may get an answer here at the Mountain Lion discussion, but I'd suggest Lion folks are more likely hanging out at the Lion discussion page:
    https://discussions.apple.com/community/mac_os/mac_os_x_v10.7_lion
    A little more info would be helpful- when did this start, ever able to send in a timely manner, etc.
    Good luck.

  • I have Firefox 9.0.1, and a few days ago my font became Bold, I am using Times New Roman, this seems to be also the case in IE, but the Chrome is not affected, also the fonts in my Word are fine, how can I fix this problem? Thanks!

    Firefox 9.0.1,
    When i write in the search box on Google the font is bold and on some website it is bold also in the gmail but on other sites it is fine.
    Please let me know how can I fix this.

    So, you do not see any fonts bold that shouldn't be bold?
    What are your current default font settings?
    If you have increased the minimum font size then try the default setting "none" as a (too) high value can cause issues.
    *Tools > Options > Content : Fonts & Colors > Advanced > Minimum Font Size (none)
    Make sure that you allow websites to choose their fonts.
    *Tools > Options > Content : Fonts & Colors > Advanced > [X] "Allow pages to choose their own fonts, instead of my selections above"
    *https://support.mozilla.org/kb/Changing+fonts+and+colors
    It is better not to increase the minimum font size in case you need a larger font, but use an extension to set the default page zoom to prevent issues with overlapping text.

  • I upgraded to Firefox 4 and my toolbar didn't load, now Firefox won't start automatically saying a script has stopped working. how can I fix this?

    Before Firefox will load I have to stop a script message that appears saying that the script for this page is either busy or stopped working. Once I hit stop Firefox will load as normal but without doing this step it will not load at all. Once it is loaded the toolbar has not been loaded and I am told to reinstall the toolbar but I have not been able to do so.

    http://www.websonic.nl/nieuws/firefox-4-nu-al-te-downloaden-21704

  • Since upgrading to Safari 5.1 some Java scripts are not working, how can I fix this?

    Many thanks for any assistance

    If you did not create this swf yourself then you won't be able to do what I am suggesting.  If you did, then open the fla in Flash and go into the Publish Settings and select the option to publish an html file as an output.  That will create an html page that embeds the Flash file.  Test that file in your browser and see if it plays properly.  IF so, then copy that code in place of whatever Dreamweaver did to embed the Flash.
    Dreamweaver is not a reliable tool for embedding Flash content... why it does not do it the same way Flash does it is anyone's guess.

  • After the most recent update for my Wndows 7 computer, every time I load a page I get a Java script error message. How can I fix this?

    The pop-up window states Error: Syntax error. This happens on almost every page that I load. It's also happening on my windows xp laptop... and it seems that it has something to do with the most recent Microsoft updates that just went through.

    hello Kakkirox, this error message is likely caused by your social fixer addon. please go to http://socialfixer.com/blog/category/releasenotes/ and update it to the newest version - this should fix the issue...

  • Word Count/PDF uploads

    I am very new to LiveCycle Designer. A form has been was previously created and I need to add additional items. Currently, I need to add a word count to a text field. Does anyone have a script that they are currently using for the word count? Also, can you create and option where the form will allow an upload anything other than a jpeg to the form (like a word.doc or pdf)?
    Thanks,
    Jennifer Jones

    You should ask these questions in the LiveCycle Designer forum. This one is for forms created in Acrobat (Acroforms).
    But I'll take a stab at the upload question here. If you mean that you want to allow the user to attach a file to the PDF, then there are two ways if it needs to work with Reader. The first involves Reader-enabling the form with LiveCycle Reader Extensions, which has the option of adding the file attachments usage right. This usage right cannot be added when enabling the document with Acrobat. If the form is a static XFA, as opposed to dynamic, then if you enable the document so that commenting is allowed, then users can attach files as comments.

  • I have photoshop elements 12 and when I use the font it crashes the program, how can I fix this?

    I have photoshop elements 12 and when I use the font tool it crashes the program, how can I fix this?I have a macbook pro

    Use the crop tool.
    On the tool's option bar, type 300 px & 200 px, and the desired resolution.

  • Can you do a Word Count in Pages?

    I am working on College essays and applications and a lot of the essays they require you to write can only be so many words. Is there a way to do a word count on Pages? On my PC, Microsoft Word 07 automatically has the word count in the bottom of the window.
    Please help!

    In the inspector there is an automatic word count in the document section. All you need to do is select the info column and it should be there!
    John

  • Why is the word count different when I use word count from the tools menu to the number at the bottom of my mac word document

    Why is the word count different when I use word count from the tools menu to the number at the bottom of my mac word document

    This forum is for Apple's defunct office suite 'AppleWorks' - since the word count is not in the places you mention I assume you are talking about Microsoft Word? Though it's just possible someone in this forum might also use Word and know the answer, you would stand a higher chance of getting an answer in Microsoft's own forums. You could also try asking in the forum applicable to your operating system - Lion, Mavericks or whatever - on the reasonably chance of finding someone familiar with Word.

  • How can I get a word count in iCloud Pages Beta?

    Apparently there is no way to get a document word count in iCloud Pages Beta.  Has anyone figured out a work around for this?

    View menu > Show Word Count.
    A floating panel will appear at the bottom of your document. Pass your mouse over the right-side of this floating panel and you will see up/down arrows. Click. Choose Word count from the list of available counts. The floating panel now displays word count, until you change it again. You can also move this floating panel with a command+click+drag, in case you want it below your footer content.
    You might want to download the free WordService service solution from the OS X App Store. I provides you with many additional features (e.g. Sort Ascending, Document Statistics, etc.) The act of downloading this application will install, but not activate several services. You activate what you want in:
    System Preferences > Keyboard > Shortcuts > Services : WordService:servicename.
    The WordService application will be in your LaunchPad (on your left Dock). Run it and choose Help. This will launch the Preview PDF viewer and a document showing all the Services available, and their description. Services in OS X act on selected document content. If you want more detail on the number of words, characters, and spaces in a selected paragraph, you would use Pages > Services > WordService:Statistics.

  • Where, if any, Word Count and Word Frequency tools on Apple Works or MS Wrd

    5/26/2008. Is there a "word count" and/or "word frequency" tool(s) on Apple Works word document and/or Microsoft Word for Mac word document, and how does one use or activate it, or find such for it on the web?? Many thanks. C. Yopst, Chicago

    Hi C,
    In an AppleWorks WP document, go Edit > Writing Tools > Word count. This will give you a count of characters, words, lines and paragraphs in the document or, if you have selected a portion of the document, in the selection.
    To my knowledge, there's no tool to give a word frequency figure, although that could be done with some fairly easy manipulation involving a spreadsheet.
    For MS Word questions, I'd suggest checking the Word section of Microsoft's Mactopia site. Try searching "count words".
    Regards,
    Barry

  • Can anyone tell me how to find word count in Pages? I also need to highlight a paragraph to count this too!

    can anyone tell me how to do a word count in Pages? And word counts in parts of a document? I am sooo struggling with Mac's!!

  • I can't find word count in pages

    Can anyone help me find the word count in pages?

    Pages 5
    Click "View" menu in the Pages menu bar and select " Show Word Count".
    Word count should appear at the end of the page.

  • How can I use word count without it counting the words in the end notes by default?

    How can I use word count without it counting the words in the end?
    Now I have to highlight the text to get a count.

    I don't think that is possible, it does what it does.
    Peter

Maybe you are looking for

  • Pl help me in this issue. Pls

    Dear All, We are using SAP B1 2005. We use Purchase Requisition  In Purchase Module. In PR ADD- on Report is not generated. PR form there is button Report. when i click on it. Error message " Load Report Failed ".

  • How to Migrate Ms SQL Server 2005 to Oracle 9i

    Hi all, How to migrate MS-SQLServer to Oracle 9i. in migration work bench lists only SQLSERVER 2000 Thanks Abk

  • Acrobat printing problem

    We have just upgraded to the Acrobat X and are having an issue with printing. A font is printing differently from Acrobat 9 to Acrobat X. As you can see below the acrobat 9 printout looks fine but the X version is filling in on the A's especially? An

  • Issue in creating new project or model

    Hi, I am getting error message when i am trying to create new project or model. This is the error "java.sql.SQLException: ORA-00001: unique constraint (ODIW.PK_MOD_FOLDER) violated". Please tell me how can it be resolved. Regards, Anzeen

  • Can CS6 Extended be installed on a computer without unistalling PSE 9?

    I currently use PSE 9 and Premiere Elements 9 to process my photos and videos. I want to keep  PSE 9 and Premiere Elements 9 on my computer while I learn CS6 Extended.  Can the two versions be installed on the same computer?