User Tag List

Results 1 to 3 of 3

Thread: Need help with Search Object

  1. #1
    No Products Registered

    Join Date
    Mar 2008
    Location
    New Jersey, US
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need help with Search Object

    Hello.

    I'm testing something with the Search Object just to get a feel for using it and I can't get it working. I'll explain what I'm doing, so please excuse my length of the message, but I figure the more detail, the better.

    First of all, I've created a folder in my C: titled Search, so the directory I guess is C:\Search. I put inside two files, one a text file (.txt) and a document file (.doc). Both containing the phrase "The Hyena"

    So then I opened up MMF2Dev, inserted the Search Object.
    Set the directory in the properties to C:\Search. (I'm not sure if I need a slash (C:\Search\), but I tried that too.)
    I also placed two counters to test if the search is in progress (Counter Search) and to see if text is found (Counter Text).

    In the event editor:

    • Start of Frame:
      • Search
        • Set search directory to "C:\Search\"

        • Find Text "the Hyena"

    • Search in Progress:
      • Counter (Counter Search)
        • Set Counter to 1

    • Text Found:
      • Counter 2 (Counter Text)
        • Set Counter to 1


    So now, the problem is that the counters don't turn to 1. It's like it doesn't even bother to start searching. So I can't figure out how to start the search. So that leads me to the question, what am I missing?
    If I could have some help with trying to get this search working, I would greatly appreciate it as the project I am working on will require me to use the Search Object.

  2. #2
    No Products Registered

    Join Date
    Feb 2007
    Location
    Sydney, Australia
    Posts
    1,654
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Need help with Search Object

    Did you get the exact file names? A typo can stuff it up.

  3. #3
    No Products Registered

    Join Date
    Mar 2008
    Location
    New Jersey, US
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Need help with Search Object

    Exact file names? I'm actually searching text with in files (especially .doc files), so that it will pick up files that have the phrase "The Hyena." Perhaps I'm using the wrong object?*

    I made sure the directory is exact, as well as the phrase it's supposed to be searching for.

    *The closest thing I'm trying to get at is to how the Search on a computer works when it comes to "Searching for files containing text." What I'm working on might seem a bit redundant (correct term?), but for the use I'd be putting it to, it would make things convenient for me.

Similar Threads

  1. Search function - Search a Word in a couple of strings for example
    By iamjot in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 22nd February 2012, 03:51 PM
  2. Search Object
    By ToxicKiwiGames in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 13th November 2010, 10:01 PM
  3. (Trying to) use the Search object...
    By RGBreality in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 28th June 2010, 01:02 PM
  4. How do I use the search object?
    By csj1 in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 4th August 2008, 11:15 AM
  5. Search Object Simple Search
    By juanjo in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 1st July 2008, 04:21 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
  •