User Tag List

Results 1 to 4 of 4

Thread: Finding values and hashes in an edit box

  1. #1
    No Products Registered

    Join Date
    Jun 2009
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Finding values and hashes in an edit box

    So i want to look for text within an edit box. When that text is found, i want to display what is on the RIGHT of a specific symbol and before another one.

    Heres an example:

    Im looking in an edit box that contains the text:

    <"something.php?target=target&h=really long hash code">

    (formatted exactly as it appears)

    for the "target" and the "really long hash code"

    and when found, those 2 things are entered into another edit box, or vairable or whatever is fastest.

    THEN

    i need to look in an edit box that contains the text:

    <input type="hidden" name="codeid" value="really long value code here">

    (again, formatted exactly as it appears)

    FOR the "really long value code"

    and then have that set into a different edit box or variable etc.

    I can do this with delimitters using the string parser object, but its REALLY slow. The text file is LARGE with many values in it.

    Im looking for instantaneous results.

    Can i be helped? hehe

  2. #2
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Finding values and hashes in an edit box

    How big is this text file? Also, make sure you are not using and windows controls like edit box or list object that will dramatically slow it down.
    Working as fast as I can on Fusion 3

  3. #3
    No Products Registered

    Join Date
    Jun 2009
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Finding values and hashes in an edit box

    dosent really matter how big. even if its only 10 lines long with the similar values, each time i use the string parsing object its really slow. always. i dunno. the program seems to halt while searching as if its searching for every single digit.

    maybe im just not using the string parsing object correctly?

    extension developers really need to put detailed EXAMPLES with their extensions.

  4. #4
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Finding values and hashes in an edit box

    Like I said, don't use the edit box. Or List Object. Or Rich Edit. Everytime you do anything with it, even in a fastloop or extension, it has to pause and wait for Windows to refresh it by redrawing it. This takes a long time when you have a lot of text to go through. I recommend the Get Line object instead
    Working as fast as I can on Fusion 3

Similar Threads

  1. Global Values & Alterable Values with same names
    By Gustav in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 7th November 2012, 06:15 PM
  2. ok ini++ search is finding not existant values
    By bubba_damage in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 2nd July 2010, 03:12 PM
  3. Display values on screen from Alterable Values
    By mikeh in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 13th May 2008, 01:59 PM
  4. Negative values in a List, and Global Values
    By aidmm in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 20th January 2007, 06:08 AM
  5. Finding alterable values....
    By Gibbon in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 12th December 2006, 09:19 AM

Posting Permissions

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