Results 1 to 3 of 3

Thread: finding text in mozilla firefox

  1. #1
    Join Date
    May 2008
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default finding text in mozilla firefox

    i need to find numbers in a webpage. does anyone know what function i need to use?

    ive already tried FindText and IsUpText.

    ive included {.include Srl/Srl.scar}

    and SetupSRL;

    i dont know what to do

    if (IsUpText('5852'))then
    begin
    ClickMouse(750, 390, True)
    Wait(500);
    SendKeys('y71');
    Wait(500);
    ClickMouse(800, 388, True)
    Writeln('yay');
    end;

  2. #2
    Join Date
    Dec 2006
    Location
    Copy pastin to my C#
    Posts
    3,788
    Mentioned
    8 Post(s)
    Quoted
    29 Post(s)

    Default

    Haha, no offence, but IsUpText checks for the blue text in upper-left corner of RS

    You need to use LoadCharsFromFont2, using that you can use CreateBitmapMaskFromText and finding is being done with FindBitmapMaskTolerance

    I'm not sure do the "TPAFromText" functions support other fonts than the rs chars, so I recommend using the first method.

  3. #3
    Join Date
    May 2008
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    k it works but now i only need the know what the font and fontsize of the url bar in mozilla firefox?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Internet Explorer or Mozilla Firefox
    By Rubix in forum Discussions & Debates
    Replies: 36
    Last Post: 12-04-2008, 11:26 PM

Posting Permissions

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