Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 8 of 8
  1. #1
    Join Date
    Sep 2003
    Posts
    22

    CTRL-F in Web Browser?

    Hi guys,

    is it possible to do a ctrl-F (find) within a web browser object?

    I have absolutely no idea where to begin on this one.

    Thank you for any and all feedback!


    --HAZ

  2. #2
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    Give it a shot and see...

    Corey Milner
    Creative Director, Indigo Rose Software

  3. #3
    Join Date
    Sep 2003
    Posts
    22
    hehe,

    ok - it does not work (without doing anything fancy).

    The question I guess I'm asking is: what fancy stuff do I need to do to get it accept a text search for a particular page loaded into a web browser.

    Since AMS uses a computers web browser coding, I would suspect that it would also be able to use the search feature... but how?

    I suppose the other way would be to write some sort of string comparison script... but I think this is likely over my head.


    Best regards,

    --HAZ

  4. #4
    Join Date
    Sep 2002
    Location
    Sol 3
    Posts
    3,160

    Lightbulb

    Since a .html file is basically a text file couldn't you read that file into a string and then perform a String.Search function on that string. You could supply the user with an Edit Field where they could enter their search term and a search button. Then take that word in the edit field and use that to search. Then I suppose you would need to decide if you want them to search for more than one word or not.

  5. #5
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    Works perfect here every time... I click anywhere in my web browser object so that I have page focus, press CTRL + F and boom, searchy pops right up... Good ol' searchy...

    My guess is you aren't clicking the window so you are still focused on the last window you were at, but that works the same in your standalone browser too, so it's not an AMS issue...

    Tigg, good ideas, it gets tricky trying to exclude code from page content when parsing full pages but all you have to do is tag off your content areas before hand and treat your entire page code as a huge delimited string.

    Corey Milner
    Creative Director, Indigo Rose Software

  6. #6
    Join Date
    Sep 2003
    Posts
    22
    Thanks guys - I can't seem to get the default CTRL-F to work (as Corey suggests) and I'm not sure if I have the schutspa to make a text comparison (and then the focus would have to jump to the target word) script.

    Thanks guys!


    --HAZ

  7. #7
    Join Date
    Jan 2000
    Posts
    2,002
    Make sure that you are using v4.0.0.5. Previous versions will not support all keystrokes within the Web browser.

  8. #8
    Join Date
    Sep 2003
    Posts
    22
    Hi Brett,

    I just read that right before I saw your post - that sounds PRECISELY like my problem.

    thanks for the great lead =) =)


    --HAZ

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts