The search returns 'null' on the first search only

HR 8.0.2.208

Air Navigator help

When our help is installed on a clean machine, the first time that you are looking for, it returns "null".  Then subsequent searches are functioning normally.

Anyone has any idea what this could be?  I don't want to discourage users on their first try.

Thank you!

Hello

Please, try the solution below and see if it works for you or not. Output Browser Based AIR support.

Now open the generated output folder and open the whfhost.js file in the Notepad application. Look for the following strings in the file. you need to replace this function

function Query()
{
gbAIRSearchString = goOdinHunter.strQuery;
g_CurPage = 1;
context = new HuginContext();
Context.Reset ();
Context.push (goOdinHunter.query, goOdinHunter,
processHunterResult, null);
Context.Resume ();
}

With this new feature

function isValidType (obj)
{
return ((typeof (obj)! = 'undefined') &&(obj!=null));
}

function Query()
{
gbAIRSearchString = goOdinHunter.strQuery;
g_CurPage = 1;
If ((context) isValidType & isValidType (context.aTasks))
{
while(Context.aTasks.Length>0)
{
Context.Resume ();
}
}
context = new HuginContext();
Context.Reset ();
Context.push (goOdinHunter.query, goOdinHunter,
processHunterResult, null);
Context.Resume ();
}

And try to run the output and see if you stilll faced the problem of null result search

If this problem is solved, then you can go to the location of the folder C:\Program Files\Adobe\Adobe RoboHelp 8\RoboHTML\WebHelp5Ext\template_stock and make similar changes to the whfhost.js file located in this folder.

Let me know if this fixes the problem or not.

Note: this should work fine for RH8 and RH9 times.

Thank you

Praful

Adobe RoboHelp team.

Tags: Adobe

Similar Questions

  • Header/footer for the first page only

    Hi all

    Is it possible to have headers/footers with option, first page only? The current options are

    • Not first
    • Only in the last
    • Not last
    • Back only
    • In front only

    Is it possible to have 'first only?

    We use Documaker Studio 12.3. Thank you.

    I think that if you want a header, footer on the first page only, which means that you should not use the copy on overflow attribute. Then those who would only be on this first page.

  • GREP: Applies to the first instance only

    Hello

    Another GREP question for you if you can help.

    Situation is applying a character style before specific a Word, i.e. Apply character Style of "four"...

    There are 4 words (lets call them: one, two, three, four) which are a common occurrence and must always appear after the text that should have the style applied character, but my question cultures when one of the four words appear twice or more times in a row and the GREP applies to 2 or more instances of this word , i.e. the character Style applied random text 'a' "'we '"

    I use these greps in the same paragraph style:

    ^. *(?= one)

    ^. *(?= two)

    ^. *(?= three)

    ^. *(?= four)

    I just want the GREP to be applied to the first instance only - hope that this kind of things above is logical?

    Thank you

    This is because GREP is greedy, by default.

    The expression

    ^. * (something more)

    always take as many characters as possible, before processing the "something more": indeed, it will not match what whatsoever until the last occurrence of this text.

    You can specify GREP not greedy match by adding a '?' after the command repeat the code:

    ^.*? (? = \b(one|two|three|four)\b)

    -the question mark can be added to each of the 'repeat-this' codes: +, *, and? (« ! ? ("would mean: ' match'!' zero or one time, but uses the most short as possible match to).

    I condensed your four commands into one list, because it seems that each of them would get matched in turn, leading to problems when you have 'one' and 'two' in the same sentence. With your GREPs, firstly everything up to 'one' would get marked, then all up to "two". Mine uses "whatever first".

    (I've also added "word boundaries" \b before and after, because you wouldn't want to match the "one" in "Mr. Jones".)

  • Update of the Page choose the first line only

    Hello

    I created SearchPG and from there I click on the UpdatePencil and regardless of which line is clicked, I always get the first line of the table of search results.

    Please notify.

    Thank you!

    Hey,.

    Please get your hands on the original Version and run the query in providing parameters of the basic page.

    If you use EO, implement the code in AM or you can add the code to the CO of the UpdatePage.

    I hope this helps.

    Thank you
    Rakesh

  • Footer text on the first Page only

    Hi all
    I need assistance with the addition of the text on the first page of my .rtf in the footer only. I searched the forum and I have not found exactly what I'm trying to implement. There is a wire that has
     <?start@first-page:body?>footer text <?end body?>
    but once this syntax is added, I get an error message. My end user want that the text on the first page of the footer, the model may be one of many pages once presented as a preview. Any information or help is appreciated.

    You can use different first page option in ms word, then you will get a single footer on the first page.

    go to your header or footer double click then you go in the upper msword option another first page check only option so that you can get the footer that you need.

    http://winrichman.blogspot.com/2008/08/different-page-header-and-footer.html

  • No indent on the first paragraph only after the title

    I am importing a Word document and I encounter a few problems during Assembly.

    1. I don't want the first line of the first paragraph after a heading have a dash. I don't want the Indent on the following paragraphs.

    I created two new styles of paragraphs where firstbodyParagraph style does not have a dash in the 1st row and bodyParagraph style has a dash.

    Title 1A in the following style firstbodyParagraph and firstbodyParagraph a bodyParagraph in the following style. It works very well within Indesign. For example if I score of Heading1 until the next title and select use Heading1, and then click Next. But if I get a Word document where I've adapted Heading1 in word to my own defined inddHeading1 etc, this does not work no matter how I try to change the linking of the Word text in firstbodyParagraph or bodyParagraph. Following style is not honoured so to speak.

    2. Another problem is that my margin to the left and right margins settings change not is. Word document left only right margin and my body text paragraphs are to the left and right margins straight. A small sign appears on my paragraph style and I have to go through the whole of the document paragraph by paragraph to click away.

    To the text block, you can break the flow of the text on the first image, substitute the paragraph and style of object of the framework and then create a link to the stream. If a stream of text associated with various substitutes:

    Click on the first image port, followed by a click in the first frame to untie the lead

    All select and clear the replacements for the paragraphs of the text styles and select the image and erase his substitution. Italic Blue Note not style loses her style because she has no style applied character:

    Renfilez:

  • Limit the plug to the first Pro only

    Hello

    I'm working on a Plug In using AEX of.

    I want to Plug In to view and work only on the Prime Minister.

    Yet I do not not not to work on After Effects, but it would have shown on the Menu in After Effects.

    What can I do to make only the first to recognize?

    Thank you.

    Oh because AE loads plug-ins based on the PiPL, without calling PF_Cmd_GLOBAL_SETUP first.

    In this case, you'll have to use a more subtle approach.  You could mark your filter as PF_OutFlag_I_AM_OBSOLETE in the PiPL and outflags and AE will not show anywhere, but when she is called in the body, turn off your outflags PF_OutFlag_I_AM_OBSOLETE.  This works because the Agency ignores PiPL outflags and uses of PF_Cmd_GLOBAL_SETUP.

  • Why are my measurements compared to the first artboard only?

    I've not seen this before so maybe that I turned accidentally something power.

    When I create a document with several worktops, all measures seem to be compared to the first plank of graph. The positions of all objects is relative to the upper left of the artboard first.

    It is hard to explain so I've attached screenshots of what I mean.

    Capture.PNG

    In the picture above, I have an object selected on the first plan of work and it's x and position there is 3 mm-3 mm. It is as expected.

    Capture2.PNG

    In the picture above, I have an object selected on the second plan of work and it's x and position is 99,054 mm-3 mm. I know the x and y positions to be the same as above. Instead, the value of x seems to rest on the upper left corner of the artboard first. The values are the same because the work plans are in the same position there.

    What is going on? It is very difficult to have objects in the same location on different work plans.

    This is Illustrator CC

    Look at the options in the view > menu sovereigns.

    Turn on the artboard rulers.

  • Drop cap in the first paragraph only...

    Hi all

    I found what looks like the solution to this, but it does not work (making it not a solution).

    in any case, I've created two paragraph styles ('First paragraph Style' and 'Paragraph Style'). "First paragraph Style" I put the drop cap, and I put "Next Style" (under 'general') 'Paragraph Style' (who has not a setting of the drop cap, or rather the settings by default ie. 0 rows, etc.).

    The catch: I apply the paragraph Style first to my text and... all paragraphs will have a drop cap, as defined in the first paragraph Style. Major sadness!

    Any ideas?

    Thank you very much!

    -steve

    You must right click on the first paragraph Style and then choose apply "paragraph Style" then next Style.

  • Try to get the first sentence only - code does not

    It makes me crazy - code works on a single page, but not on another, and I can't understand why. The code I use to get out of the first sentence of a field is as follows:

    < cfset variables.firstsentence = Find (".", #get_spotlight.description #) >

    < cfoutput query = "get_spotlight" >
    < p > < #title # < br / >
    #Left (description, variables.firstsentence) # (< a href = "database_spotlight.cfm? link_id = #link_id #" > learn more < /a >) < /p > < / cfoutput >

    It works here: http://www.richland.lib.sc.us/research.cfm

    I try to use the same code on another similar page, and the same code does not work. It takes only the first 40 characters or more and I don't know why. I guess it's something to do with the surrounding code, but I don't see what. Can someone enlighten us on that before go me crazy?
    Here's the page I'm working on: http://www.richland.lib.sc.us/sample/linkstest6.cfm?subjecttype_id=16
    And here's all the code (in case something else is causing the problem)

    < cfquery name = "get_links()" datasource = "links_1", dbtype = "ODBC" >
    SELECT links.link_id, links.title, links.link, links.description, links.url_home, links.icon, links.url_tutorial, links.discus,
    Links.Subscription, subjecttype.subject_name, subject.link_id, subjecttype.subjecttype_id, subject.subjecttype_id
    Links, subjecttype, subject
    WHERE links.link_id = subject.link_id
    AND subjecttype.subjecttype_id = subject.subjecttype_id
    AND (subject.subjecttype_id = #url.subjecttype_id #)
    ORDER BY title
    < / cfquery >

    < cfset variables.firstsentence = Find (".", #get_links.description #, 0) >

    Output (with some HTML stranger deleted - sorry for the lengthy code - I'm sure there's probably a shorter, more elegant way to do..):

    < cfoutput query = "get_links()" >
    < cfif subscription IS "Yes" >
    < cfif IS 'Home' icon >
    < cfif url_home IS "" > <!-> the same in-house/remote url ".
    < p > < img src = "" #icon #4.gif "alt ="database icon"width ="20"height ="20"align ="absmiddle"/ >"
    < span class = "bold" > #TRIM (title) # </span > < cfif get_links.discus IS 'YES' >
    "" < img src = "... / pictures/discus_logo.gif" alt = "DISCUS" width = "61" height = "17" align = "absmiddle" / > < / cfif > < br / >
    #Left (description, variables.firstsentence) # < br / > < a href = "#link #" title = "#TRIM (title) #-inside the library" > inside the library < /a > |
    < a href = "" #link # "title =" #TRIM (title) #-home access "> home access < /a >"
    | < a href = "database_spotlight.cfm? link_id = #link_id #" > < img src = "moreinfo4.gif" alt = "More information" width = "20" height = "20" align = "absmiddle" / > < /a > "
    < cfif url_tutorial IS NOT "" > | "."
    "< a href ="... /... "/PDF/ #url_tutorial #" > < img src = "tutorial4.gif" alt = "Tutorial" width = "20" height = "20" align = "absmiddle" / > < /a > "
    < / cfif > < / p >

    < cfelse > <!--> two show internal URL / remote
    < p > < img src = "" #icon #4.gif "alt ="database icon"width ="20"height ="20"align ="absmiddle"/ >"
    < span class = "bold" > #TRIM (title) # </span > < cfif get_links.discus IS 'YES' >
    "" < img src = "... / pictures/discus_logo.gif" alt = "DISCUS" width = "61" height = "17" align = "absmiddle" / > < / cfif > < br / >
    #Left (description, variables.firstsentence) # < br / > < a href = "#link #" title = "#TRIM (title) #-inside the library" > inside the library < /a > |
    < a href = "" #url_home # "title =" #TRIM (title) #-home access "> home access < /a > |" < a href = "database_spotlight.cfm? link_id = #link_id #" > < img src = "moreinfo4.gif" alt = "More information" width = "20" height = "20" align = "absmiddle" / > < /a > "

    < cfif url_tutorial IS NOT "" > | "."
    "< a href ="... /... "/PDF/ #url_tutorial #" > < img src = "tutorial4.gif" alt = "Tutorial" width = "20" height = "20" align = "absmiddle" / > < /a > "
    < / cfif >
    < /p >
    < / cfif >
    < cfelseif icon is "inhouse" > <!--see the internal url-->
    < p > < img src = "" #icon #4.gif "alt ="icon of the database"align ="absmiddle"/ >"
    < span class = "bold" > #TRIM (title) # </span > < br / >
    #Left (description, variables.firstsentence) # < br / > < a href = "#link #" title = "#TRIM (title) #-inside the library" > inside the library < /a > | < a href = "database_spotlight.cfm? link_id = #link_id #" > < img src = "moreinfo4.gif" alt = "More information" width = "20" height = "20" align = "absmiddle" / > < /a > "

    < cfif url_tutorial IS NOT "" > | "."
    "< a href ="... /... "/PDF/ #url_tutorial #" > < img src = "tutorial4.gif" alt = "Tutorial" width = "20" height = "20" align = "absmiddle" / > < /a > "
    < / cfif > < / p >
    < / cfif >
    < / cfif >
    < / cfoutput >
    < p > < / p >
    < h3 > librarian - selection of Web Sites < / h3 >
    < cfoutput query = "get_links()" > <! - no subscription sites - >
    < cfif subscription IS 'No' >
    < p > < img src = "" #icon #4.gif "alt ="icon of the database"align ="absmiddle"/ >"
    < a href = "" #link # "title =" #TRIM (title) #"> #TRIM (title) # < /a > < br / >"
    #Left (description, variables.firstsentence) # < br / >
    < a href = "database_spotlight.cfm? link_id = #link_id #" > < img src = "moreinfo4.gif" alt = "More information" width = "20" height = "20" align = "absmiddle" / > < /a > < /p > "
    < / cfif >
    < / cfoutput >

    Thank you for reading this day and for any help or suggestion.

    YES! That's all--woohoo! Thank you very much. In addition, this explains why the same piece of code works on another page - this page I only shot one record instead of many. I looked up the ListFirst function and I understand that - but I never would have thought it myself.

    Thank you very much for coming up with the answer - and thanks to everyone who took the time to try it - I really appreciate it.

    Quote:
    Posted by: Swift
    Hi Michelle,

    If I'm right, then it is a simple problem. The simplest are good. :)

    That's what you have:


    <>

    #Left (description, variables.firstsentence) # (read more...)

    What you have done is in the position of the period off the first record in the data base by base and then applied to all records in the database. So you're cutting posted on 40 every time, because you will find that the first record in the database should be cut to the 40 position. Instead, you simply calculate the position each time inside the loop. In addition, we will just go ahead and make it even easier by using ListFirst...


    <>

    #ListFirst (description, ".") # (read more...)

    That should do it. By the way, if you really want the period appear (which I imagine you do), then just use:

    #ListFirst (description, ".") #.

    Instead of

    #ListFirst (description, ".") #.

    HTH,
    SWIFT

  • Taking the first word only

    Hello, I got a single column, I just want to take only the first word of this column

    Column of blabla
    Hello how are there you?

    Please tel me how I can take only first Hello there and if I want to take the second word in the first place that should I do thank you
    SQL> with t as
    (
     select 'Hello how are you' str from dual union all
     select 'God bless you' str from dual union all
     select 'Take care my love' str from dual
    )
    ---
    ---
    select str, regexp_substr(str,'\w+') str1, regexp_substr(str,'\w+ +\w+') str2 from t
    /
    STR               STR1              STR2
    ----------------- ----------------- -----------------
    Hello how are you Hello             Hello how
    God bless you     God               God bless
    Take care my love Take              Take care        
    
    3 rows selected.
    
  • Audio playback on the first visit only.

    I try to use the LSO have a piece of audio will only play on the first visit of the users. Does anyone know the best way to achieve this? Is there a method I could use to set a variable (LSO) when the audio finishes playing/is arrested by the users, or when the Flash application is closed? Any help would be appreciated.

    Hey, thanks a bunch. This seems to have done.

  • How to make replace() for each symbol in the string instead of the first meeting only?

    Hello!

    This is my simple test script:

    var str = ' re | PLA | ce »;

    var strRep str.toString () = replace (' | ', '-');

    Alert (strRep);

    I'd get a re-pla-this result string.

    But I didn't get my only first symbol replaced:

    replace.png

    Can you advise me please, how to get all the symbols replaced?

    Thank you!

    Thank you very much, Xavier!

    Just for reference, this line will work perfectly:

    Alert (str.toString () replace (new RegExp ("|", "g"), '-'));

  • Why the VI does not work the first time?

    Hello fellow users of LabVIEW

    I did a VI that pulls data from a worksheet and then manipulates the data in different rows and columns to give a final spreadsheet of desired values.

    This VI works fine for me, except when I run the first time only, in which case it gives me values of nonsense.

    Could you please tell me what I'm doing wrong with the block diagram. It could be a problem with the data stream.

    Thank you

    mhaque

    My guess was very good.

    Yes, you have a race condition.  You read some values through a local variable in the upper part of your VI.  But you write in fact of all values of these indicators until the first image in your sequence structure.  Either thing could happen first, but it is very likely that your local variables are read first.  Thus the default data meaningless.  You should put these calculations in the first image of the sequence structure.  And use wire to one of the constants in the calculations rather than a local variable.

    In fact, I don't know if you need to use local variables anywhere in your VI.  And I also believe you can eliminate both your internal and external sequence structures.  You should always use wires to define your data flow.  The structure of your internal sequence pretty well done this already.  And if you get rid of your local variables and connect to the source of these values, no sequence structure, no variables, and no race condition.

    Try this VI.  I cleaned up.

  • How better to insert a subarray (line) in a 2D array to the correct index which is based on the value of the first column

    Hello

    I would like to insert a subarray (line) in a 2D to the correct index table. The position is to say the index value depends on the value of the first column of the table 2d.

    As an examlple my 2d array would look like this

    230 50 215 255

    300 60 270 330

    360 20 350 370

    And I would like to insert another line (subarray) with the following values

    320 40 300 340

    This new line should be placed between the second and third rows (this is based on the first column only).

    I tried the threshold 1 d function table by taking an 1Dsub array of my 2d array (first column), then using the first of the new line (320) as the threshold. It sort of work, but it does not work when I start the table (IE there is only 1 row) and it seems to not work properly on other occasions (as explained in the help of Labview).

    Hopefully the explanation is clear enough for any suggestion. Thanks in advance for the help!

    JTRI wrote:

    The idea is I have start with a new table and add these lines in the right order every time that the user sets the values Jack

    Ahh, so try this.

    This will also work with an empty array.

    You want to do with this function it is a Subvi.

    Make the entries 'table' and 'subarray"on the connector, then 'new array' output.

    You can then put this Subvi in a loop with a registry to shift and it will help to add new lines in a sorted order, when they are added.

    That is what you were aiming for?

  • Told me that if I buy the first pro Adobe after effects is free, its telling me it is a trial version, im confused

    Told me that if I buy the first pro Adobe after effects is free, its telling me it is a trial version, im confused

    If you subscribe to a SINGLE, as the first application only, it includes Media Encoder and Encore CS6. If you subscribe to CLOUD CREATIVE at the higher cost, you get all applications including After Effects.

Maybe you are looking for

  • Sierra download on macbook

    I tried 3 times to download sierra on Macbook PRO and using OS10.9.5 with > 60 GB of free space, 8 GB of ram.  Said it will take 12 hrs.  The next day he says only: he couldn't.

  • External Toshiba drive HARD PX1268E - 1 40 guard and reconnection (Win 7)

    Hi all I used to run my drive external HARD with a laptop with the Windows XP operating system and another laptop with Windows Vista. My new PC running Windows 7, and the external HARD drive worked fine for a few weeks. However, when I connected the

  • DeskJet 3050: addresses ePrint

    This is probably somewhere but I missed it.  I use my existing email account or start a new for eprint please?

  • BITSADMIN and scheduled tasks

    Does anyone have experience making bitsadmin more useless in a scheduled task?  It seems to be limited to the use of the command-line connected except for the / create command.  Otherwise, it fails because the user is not connected (will work even if

  • LabWindows/CVI 8.5.1 for Windows 7

    I LabWindows/CVI version 8.5.1 running on XP that I use to develop with a target operating system from XP.  Now with Microsoft no longer provides XP, new sales for our product will go on Windows 7.  I guess I could use virtual XP environment in Win7,